Bug #2962
closedHammer PFS Slave has broken symbolic link, recreating it doesn't work
0%
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
@0x0000000100058744:00002
/Archive2Backup/pfs/tv: broken symbolic link to
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
@0x0000000100058744:00002: No such file or directory
ls: /Archive2Backup/
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.