UFS2 Journaling implementation detail

Unga unga888 at yahoo.com
Sat Apr 19 15:02:45 UTC 2008


--- Ivan Voras <ivoras at freebsd.org> wrote:

> No, gjournal is a layer below the file system (think
> of it as a virtual disk drive) that does
journalling.
> You need to create a file system on top of gjournal.

> Pawel added some necessary integration for UFS.
> 
Since the gjournal is block level journaling, not file
system level journaling, can one journal be used to
cover two or more partitions?

Example:
gjournal label -c ad0s4e ad0s4d
gjournal label -c ad0s4f ad0s4d
gjournal label -c ad0s4g ad0s4d

newfs -J /dev/ad0s4e.journal
newfs -J /dev/ad0s4f.journal
newfs -J /dev/ad0s4g.journal

Kind Regards
Unga


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ


More information about the freebsd-questions mailing list