Bug #1569
closed
mount_hammer -o nomirror is not working
Added by lentferj about 15 years ago.
Updated about 15 years ago.
Description
Hi,
neither
mount_hammer -o nomirror /dev/ad7s2d /usr/pkg/pgsql
nor
mount_hammer -u -o nomirror /usr/pkg/pgsql
is working as one would expect when reading the mount_hammer man page.
You always get:
mount_hammer: -o mirror: option not supported.
Regards,
Jan Lentfer
:
:
:Antonio Huete Jimenez <tuxillo@quantumachine.net> added the comment:
:
:Fix in:
:http://gitweb.dragonflybsd.org/~tuxillo/dragonfly.git/commitdiff/303ddff773=
:874f257321b7003ae7a13aa630aa1b
:
:It should let you select nomirror option with it, although I don't know if =
:this
:actually behaves as expected.
:
:Matt, can you confirm?
:
:Cheers,
:Antonio Huete
:
:----------
:assignedto: -> tuxillo
:nosy: +tuxillo
:status: unread -> chatting
That looks right though I'm not quite sure if it will change the
way the defaults are set up.
The options are not really relevant at the moment since we don't
have multi-master clustering yet.
-Matt
Matthew Dillon
<dillon@backplane.com>
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
Fix committed in aa209291091803efc23e07376be8d3737ca5c025
Also available in: Atom
PDF