Re: Best practices for using gjournal with gmirror?
- From: Ivan Voras <ivoras@xxxxxx>
- Date: Thu, 11 Jan 2007 15:30:06 +0100
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"
- Follow-Ups:
- Re: Best practices for using gjournal with gmirror?
- From: Vasil Dimov
- Re: Best practices for using gjournal with gmirror?
- References:
- Best practices for using gjournal with gmirror?
- From: John Nielsen
- Best practices for using gjournal with gmirror?
- Prev by Date: Re: [SOLVED] re(4) incorrect checksum
- Next by Date: Re: Kernel hang on 6.x
- Previous by thread: Best practices for using gjournal with gmirror?
- Next by thread: Re: Best practices for using gjournal with gmirror?
- Index(es):
Relevant Pages
|
Loading