Re: gmirror + gjournal setup question
Gabriel Lavoie wrote: Hello, I would like to know what is the best way to setup gmirror + gjournal, on a slice level on two hard drives. Do I set up a mirrored journal partition + mirrored journalized slice (gmirror on top of gjournal) on which I create my labels with bsdlabels (will create /dev/mirror/name.journal, /dev/mirror/name.journala, /dev/mirror/name.journalb). Or I setup a journalized slice on both hard drive and then I mirror /dev/ad0s1.journal and /dev/ad1s1.journal (gjournal on top of gmirror)? I have hard time to figure out what would be the best, if I want to avoid mirror rebuild on power failure and I want fast fsck. I'd also like to make this setup on my 1st slice (which contains the root filesystem). man gjournal: ... When gjournal is configured on top of gmirror(8) or graid3(8) providers, it also keeps them in a consistent state, thus automatic synchronization on power failure or system crash may be disabled on those providers. ... I think journaling a mirrored partition can be much better. -- Sphinx of black quartz judge my vow. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gmirror + gjournal setup question
Thanks for your reply. I finally understood that with the power failure tests I made. Gabriel 2008/11/6 Volodymyr Kostyrko [EMAIL PROTECTED] Gabriel Lavoie wrote: Hello, I would like to know what is the best way to setup gmirror + gjournal, on a slice level on two hard drives. Do I set up a mirrored journal partition + mirrored journalized slice (gmirror on top of gjournal) on which I create my labels with bsdlabels (will create /dev/mirror/name.journal, /dev/mirror/name.journala, /dev/mirror/name.journalb). Or I setup a journalized slice on both hard drive and then I mirror /dev/ad0s1.journal and /dev/ad1s1.journal (gjournal on top of gmirror)? I have hard time to figure out what would be the best, if I want to avoid mirror rebuild on power failure and I want fast fsck. I'd also like to make this setup on my 1st slice (which contains the root filesystem). man gjournal: ... When gjournal is configured on top of gmirror(8) or graid3(8) providers, it also keeps them in a consistent state, thus automatic synchronization on power failure or system crash may be disabled on those providers. ... I think journaling a mirrored partition can be much better. -- Sphinx of black quartz judge my vow. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Gabriel Lavoie [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gmirror + gjournal setup question
Hello, I would like to know what is the best way to setup gmirror + gjournal, on a slice level on two hard drives. Do I set up a mirrored journal partition + mirrored journalized slice (gmirror on top of gjournal) on which I create my labels with bsdlabels (will create /dev/mirror/name.journal, /dev/mirror/name.journala, /dev/mirror/name.journalb). Or I setup a journalized slice on both hard drive and then I mirror /dev/ad0s1.journal and /dev/ad1s1.journal (gjournal on top of gmirror)? I have hard time to figure out what would be the best, if I want to avoid mirror rebuild on power failure and I want fast fsck. I'd also like to make this setup on my 1st slice (which contains the root filesystem). Thanks Gabriel -- Gabriel Lavoie [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]