| From | Sent On | Attachments |
|---|---|---|
| Pawel Jakub Dawidek | Aug 8, 2006 7:52 pm | |
| Markus Trippelsdorf | Aug 8, 2006 9:02 pm | |
| Markus Trippelsdorf | Aug 8, 2006 9:41 pm | |
| Daniel O'Connor | Aug 9, 2006 12:43 am | |
| Pawel Jakub Dawidek | Aug 9, 2006 6:24 am | |
| Brian Candler | Aug 9, 2006 12:58 pm | |
| Pawel Jakub Dawidek | Aug 9, 2006 1:03 pm | |
| Dag-Erling Smørgrav | Aug 10, 2006 1:38 pm | |
| Markus Trippelsdorf | Aug 10, 2006 1:54 pm | |
| Chuck Swiger | Aug 10, 2006 2:05 pm | |
| Kip Macy | Aug 10, 2006 3:33 pm | |
| Craig Boston | Aug 10, 2006 6:47 pm | |
| Eric Anderson | Aug 10, 2006 7:06 pm | |
| Craig Boston | Aug 10, 2006 7:18 pm | |
| Jan Srzednicki | Aug 10, 2006 7:21 pm | |
| Pawel Jakub Dawidek | Aug 10, 2006 7:29 pm | |
| Pawel Jakub Dawidek | Aug 10, 2006 7:43 pm | |
| R. B. Riddick | Aug 10, 2006 7:59 pm | |
| Jan Srzednicki | Aug 10, 2006 8:01 pm | |
| Craig Boston | Aug 10, 2006 9:05 pm | |
| Sean Bryant | Aug 10, 2006 9:18 pm | |
| Pawel Jakub Dawidek | Aug 10, 2006 10:30 pm | |
| Pawel Jakub Dawidek | Aug 10, 2006 10:37 pm | |
| Pawel Jakub Dawidek | Aug 10, 2006 10:39 pm | |
| Sean Bryant | Aug 10, 2006 10:53 pm | |
| Pawel Jakub Dawidek | Aug 10, 2006 11:23 pm | |
| Sean Bryant | Aug 10, 2006 11:27 pm | |
| Paul Allen | Aug 11, 2006 2:49 am | |
| Robert Watson | Aug 11, 2006 1:33 pm | |
| Thomas Quinot | Aug 11, 2006 1:54 pm | |
| Pawel Jakub Dawidek | Aug 11, 2006 2:00 pm | |
| Thomas Quinot | Aug 11, 2006 2:03 pm | |
| Pawel Jakub Dawidek | Aug 11, 2006 2:06 pm | |
| Pawel Jakub Dawidek | Aug 12, 2006 10:04 am | |
| Igor Robul | Aug 16, 2006 1:05 pm | |
| Igor Robul | Aug 16, 2006 1:09 pm | |
| R. B. Riddick | Aug 16, 2006 1:44 pm | |
| R. B. Riddick | Aug 17, 2006 12:11 am | |
| Eric Anderson | Aug 17, 2006 2:54 am | |
| Eric Anderson | Aug 17, 2006 1:14 pm | |
| Pawel Jakub Dawidek | Aug 17, 2006 2:08 pm | |
| Eric Anderson | Aug 17, 2006 2:47 pm | |
| Pawel Jakub Dawidek | Aug 17, 2006 3:00 pm | |
| Eric Anderson | Aug 17, 2006 3:02 pm | |
| Pawel Jakub Dawidek | Aug 17, 2006 3:20 pm | |
| Eric Anderson | Aug 17, 2006 3:24 pm | |
| Ulrich Spoerlein | Aug 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
-- Pawel Jakub Dawidek http://www.wheel.pl pj...@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am!
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.
-- Sean Bryant





