GEOM: mirroring and journaling

Joey Mingrone joey at
Tue Jul 27 16:34:19 UTC 2010


I'm attempting to set up a storage server with mirrored and journaled
filesystems.  Initially I did the following:

sysctl kern.geom.debugflags=17
dd if=/dev/zero of=/dev/ad8 bs=1k count=1
dd if=/dev/zero of=/dev/ad10 bs=1k count=1
gmirror label -vb round-robin gm0 /dev/ad8
gmirror load
gjournal label /dev/mirror/gm0
gjournal load
newfs -O 2 -J /dev/mirror/gm0.journal
mount /dev/mirror/gm0.journal /mnt/mirror2
gmirror insert gm0 /dev/ad10

,but I read in the archives there are potential issues with the
labelling.  Does anyone have any suggestions (or references to
documentation) describing how this could be done?

Are the GEOM parts for doing this sufficiently mature to consider this
safe?  This did seem to be working, but when I did a dump I got kernel
panics like others who have posted recently.


More information about the freebsd-questions mailing list