Re: Best practices for using gjournal with gmirror?



John Nielsen wrote:

2) When using gjournal and for a gmirror volume, does the journal need to be
mirrored as well to maintain redundancy? If so, when storing the journal on

Yes, and to maintain consistency. If your machine dies while data is
still in journal and not yet committed to permanent storage, you might
have corruption.

the same physical disks as the mirror, is it better to mirror at the slice
level (journal and fs on different partitions in the same mirror) or at the
partition level (journal and fs each have their own mirror) or does it
matter?

It doesn't matter. By default journal will be created inside the same
partition as the file system.

4) In the same vein as 3)--does a gjournal volume need to be fsck'ed after a
crash? If not, will it just work (e.g. fsck -p sees that the filesystem is
clean) or does it need to be disabled somehow?

Fsck will still run, but there will be no need for it to check the
entire file system, only some summary information and unlinked files. It
will be as fast as fsck on softupdates-enabled file system.

_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Problems with Ext2fs on a CF card.
    ... | I use a Compact Flash card to hold an ext2 Linux File System ... fsck reports errors after booting from the CF ... Have you rebooted since fdisk stored the partition table? ...
    (comp.os.linux.embedded)
  • Re: Problems with fsck
    ... >> We are observing the exact same strange behavior on all our boxes. ... There is nowhere in the fsck manual any mention that running fsck -n on ... dangerous to run fsck without -n on a mounted file system, ... the two other partitions, but not on the root partition. ...
    (comp.os.linux.setup)
  • Re: Some Contents Unreadable" error.Is my Hard drive corrupted?
    ... On Sun, 2005-02-20 at 23:21, Rajev Mhasawade wrote: ... > partition) it first calculates used space and then this comment below ... Sounds like you are forcing an fsck on a mounted file system. ...
    (Fedora)
  • Re: [opensuse] ext3 check forced = frustration
    ... every file system on EVERY boot up. ... and today I passed again the 60 days limit without checking ext3 and I had to wait 10 minutes for the 200GB partition to be checked. ... What is the use of investing a lot of effort into reducing the boot time by precious seconds to give users a better Linux experience, if you have to wait 10 minutes for fsck every time you boot (since Linux ...
    (SuSE)
  • Re: Improvements to fsck performance in -current ...?
    ... >> It's not just the fsck application itself, ... fsck to analyze and repair it on an active file system. ... To get to UFS2, you must newfs the partition. ...
    (freebsd-current)

Loading