DragonFly BSD
DragonFly bugs List (threaded) for 2009-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[issue1569] mount_hammer -o nomirror is not working


From: "Antonio Huete Jimenez \(via DragonFly issue tracker\)" <sinknull@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 Oct 2009 16:02:13 +0000

Antonio Huete Jimenez <tuxillo@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@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1569>
_____________________________________________________



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]