[issue1569] mount_hammer -o nomirror is not working

Antonio Huete Jimenez (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Tue Oct 20 09:02:45 PDT 2009


Antonio Huete Jimenez <tuxillo at quantumachine.net> added the comment:

Matt,

It doesn't change the defaults I think. See:

earthborder# umount /repos
earthborder# mount_hammer /dev/da1s1d /repos
Master 0

earthborder# umount /repos
earthborder# mount_hammer -o nomirror /dev/da1s1d /repos
Master -1

earthborder# umount /repos
earthborder# mount_hammer/mount_hammer -o mirror /dev/da1s1d /repos
Master 0

earthborder# umount /repos
earthborder# mount_hammer/mount_hammer -o master=12 /dev/da1s1d /repos
Master 12

Also I would like to know how do you retrieve from userland the master node
number from a HAMMER filesystem (if this is possible). If not, maybe it should
included in some of the get pfs ioctls or?

Cheers,
Antonio Huete

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1569>
_____________________________________________________





More information about the Bugs mailing list