Project

General

Profile

Actions

Bug #2962

closed

Hammer PFS Slave has broken symbolic link, recreating it doesn't work

Added by Anonymous over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
VFS subsystem
Target version:
-
Start date:
10/29/2016
Due date:
% Done:

0%

Estimated time:

Description

I setup mirroring as described in this document - https://www.dragonflybsd.org/docs/how_to_implement_hammer_pseudo_file_system__40___pfs___41___slave_mirroring_from_pfs_master/

I've experienced several power failures and I've noticed that one of my mirrored backups no longer works for resolving it's symbolic link.

If I destroy the errored pfs (tv) and recreate it via hammer pfs-slave, the symbolic link still doesn't work.

Console output:

nyx# file /Archive2Backup/pfs/*
/Archive2Backup/pfs/movies: symbolic link to @0x0000000108a74b20:00001
/Archive2Backup/pfs/tv: broken symbolic link to
@0x0000000100058744:00002
nyx# hammer pfs-status /Archive2Backup/pfs/tv
/Archive2Backup/pfs/tv PFS #2 {
sync-beg-tid=0x0000000000000001
sync-end-tid=0x0000000100058744
shared-uuid=816cf516-5783-11e6-8627-d150991a2d92
unique-uuid=67a8792c-9e2a-11e6-8958-d150991a2d92
label=""
prune-min=00:00:00
operating as a SLAVE
snapshots directory defaults to /var/hammer/<pfs>
}
nyx# hammer pfs-status /Archive2Backup/pfs/movies
/Archive2Backup/pfs/movies PFS #1 {
sync-beg-tid=0x0000000000000001
sync-end-tid=0x0000000108a74ba0
shared-uuid=7bef50aa-5783-11e6-8627-d150991a2d92
unique-uuid=1f30e13b-5784-11e6-8627-d150991a2d92
label=""
prune-min=00:00:00
operating as a SLAVE
snapshots directory defaults to /var/hammer/<pfs>
}
nyx# ls /Archive2Backup/@@0x0000000108a74d20:00001
.DS_Store
._.DS_Store
<snip>

nyx#
nyx# ls /Archive2Backup/@0x0000000100058744:00002
ls: /Archive2Backup/
@0x0000000100058744:00002: No such file or directory

The symlink is updated as per hammer mirror-copy/hammer mirror-stream.

I simply cannot mount_null, list files or do anything on this PFS. Destroy/Recreate does nothing.

Actions

Also available in: Atom PDF