atom feed47 messages in org.freebsd.freebsd-fsGJournal (hopefully) final patches.
FromSent OnAttachments
Pawel Jakub DawidekAug 8, 2006 7:52 pm 
Markus TrippelsdorfAug 8, 2006 9:02 pm 
Markus TrippelsdorfAug 8, 2006 9:41 pm 
Daniel O'ConnorAug 9, 2006 12:43 am 
Pawel Jakub DawidekAug 9, 2006 6:24 am 
Brian CandlerAug 9, 2006 12:58 pm 
Pawel Jakub DawidekAug 9, 2006 1:03 pm 
Dag-Erling SmørgravAug 10, 2006 1:38 pm 
Markus TrippelsdorfAug 10, 2006 1:54 pm 
Chuck SwigerAug 10, 2006 2:05 pm 
Kip MacyAug 10, 2006 3:33 pm 
Craig BostonAug 10, 2006 6:47 pm 
Eric AndersonAug 10, 2006 7:06 pm 
Craig BostonAug 10, 2006 7:18 pm 
Jan SrzednickiAug 10, 2006 7:21 pm 
Pawel Jakub DawidekAug 10, 2006 7:29 pm 
Pawel Jakub DawidekAug 10, 2006 7:43 pm 
R. B. RiddickAug 10, 2006 7:59 pm 
Jan SrzednickiAug 10, 2006 8:01 pm 
Craig BostonAug 10, 2006 9:05 pm 
Sean BryantAug 10, 2006 9:18 pm 
Pawel Jakub DawidekAug 10, 2006 10:30 pm 
Pawel Jakub DawidekAug 10, 2006 10:37 pm 
Pawel Jakub DawidekAug 10, 2006 10:39 pm 
Sean BryantAug 10, 2006 10:53 pm 
Pawel Jakub DawidekAug 10, 2006 11:23 pm 
Sean BryantAug 10, 2006 11:27 pm 
Paul AllenAug 11, 2006 2:49 am 
Robert WatsonAug 11, 2006 1:33 pm 
Thomas QuinotAug 11, 2006 1:54 pm 
Pawel Jakub DawidekAug 11, 2006 2:00 pm 
Thomas QuinotAug 11, 2006 2:03 pm 
Pawel Jakub DawidekAug 11, 2006 2:06 pm 
Pawel Jakub DawidekAug 12, 2006 10:04 am 
Igor RobulAug 16, 2006 1:05 pm 
Igor RobulAug 16, 2006 1:09 pm 
R. B. RiddickAug 16, 2006 1:44 pm 
R. B. RiddickAug 17, 2006 12:11 am 
Eric AndersonAug 17, 2006 2:54 am 
Eric AndersonAug 17, 2006 1:14 pm 
Pawel Jakub DawidekAug 17, 2006 2:08 pm 
Eric AndersonAug 17, 2006 2:47 pm 
Pawel Jakub DawidekAug 17, 2006 3:00 pm 
Eric AndersonAug 17, 2006 3:02 pm 
Pawel Jakub DawidekAug 17, 2006 3:20 pm 
Eric AndersonAug 17, 2006 3:24 pm 
Ulrich SpoerleinAug 18, 2006 6:37 pm 
Subject:GJournal (hopefully) final patches.
From:Pawel Jakub Dawidek (pj@FreeBSD.org)
Date:Aug 12, 2006 10:04:12 am
List:org.freebsd.freebsd-fs

On Fri, Aug 11, 2006 at 02:33:44PM +0100, Robert Watson wrote:

On Fri, 11 Aug 2006, Pawel Jakub Dawidek wrote:

2. Confirm that partition with your file system is _not_ 4 sectors aligned. If it is not 4 sectors aligned, it is safe for gjournal to use its last sector for metadata. You can verify this by running:

test `diskinfo /dev/<data_partition> | awk '{print $4}' | xargs -J X echo X % 4
| bc` -eq 0 && echo ok || echo not ok

Then you need to run those commands:

# gjournal label /dev/<data_partition> /dev/<journal_partition> # tunefs -n disable -J enable /dev/<data_partition>.journal

Sounds like a "gjournal testalignment /dev/partition" would be a very useful
thing. Or even just doing it as part of gjournal label?

Sounds fair. I integrated those checks into 'label' subcommand:

When configuring journaling on one provider only, check if UFS file system exists there and if it exists demand -f flag before destroying it. When configuring journaling on two providers, check if UFS exists on the data provider and if the last sector is used by the file system. If it is used, demand -f flag before overwritting it.

Next, I want to think a bit how to make those checks more general, so they can be used also in other classes.