[DragonFlyBSD - Bug #2962] Hammer PFS Slave has broken symbolic link, recreating it doesn't work

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Sun Oct 30 23:11:03 PDT 2016


Issue #2962 has been updated by tkusumi.


What version (uname -r) is this ?


----------------------------------------
Bug #2962: Hammer PFS Slave has broken symbolic link, recreating it doesn't work
http://bugs.dragonflybsd.org/issues/2962#change-13031

* Author: benjolitz
* Status: Resolved
* Priority: High
* Assignee: 
* Category: VFS subsystem
* Target version: 
----------------------------------------
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. 



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list