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:Sean Bryant (brya@gmail.com)
Date:Aug 10, 2006 11:27:22 pm
List:org.freebsd.freebsd-fs

On 8/10/06, Pawel Jakub Dawidek <pj@freebsd.org> wrote:

On Thu, Aug 10, 2006 at 06:54:04PM -0400, Sean Bryant wrote:

On 8/10/06, Sean Bryant <brya@gmail.com> wrote: Alright. After testing I've found the problem. You can enable journaling on an existing filesystem, provided the journaling provider is not the data provider.

I could not do the following: tunefs -J enable ad4s1e gjournal label ad4s1e fsck_ffs -p ad4s1e

Yes, maybe I wasn't clear on this. I think I described it only slightly in my first gjournal announce.

GJournal is not file system journaling, it needs separate journal space. If you 'gjournal label' only one partition, it will put journal at the end on this partition and leave space for data at the begining of the partition.

To convert existing file system to gjournal you have to: 1. Have separate partition for journal. 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

Okay that clears it up a bit. I thought it would adjust the size available or something. By putting the journal at the end.

Okay thanks :) But it works. and well.