Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2008 01:19:29 -0700
From:      Carl <k0802647@telus.net>
To:        freebsd-questions@freebsd.org
Cc:        Laszlo Nagy <gandalf@shopzeus.com>
Subject:   Re: gjournal: journaled slices vs. journaled partitions
Message-ID:  <48FD9091.8000809@telus.net>
In-Reply-To: <48FD6803.7080802@shopzeus.com>
References:  <48FD6665.5000102@telus.net> <48FD6803.7080802@shopzeus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Laszlo Nagy wrote:
>> So how do I achieve per-slice journaling instead of per-partition?
> The docs only says this: "gjournal only supports UFS2". It does not 
> specifically say that you cannot have per-slice journaling. However, 
> since you could have other filesystems on your slice, I bet that slice 
> based journaling is not supported.

I thought I read somewhere that because gjournal is block based and not 
really part of the filesystem, that it could easily be extended for any 
other filesystem. My imagination said that gjournal was probably 
therefore only temporarily limited to a slice full of UFS partitions. 
Anyone know for sure?

> Another tricky question: why would you journal a SWAP partition?

Well, I don't really want to, but how big does a partition like /var 
have to be before it's no longer ill-advised to journal it individually? 
A fair bit of writing can occur in /var and the scenario my server will 
occupy has me concerned about inglorious shutdowns.

What are the actual reasons for why journaling a small partition is 
considered a bad idea?

Carl                                             / K0802647




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48FD9091.8000809>