| 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: | 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.
-- Pawel Jakub Dawidek http://www.wheel.pl pj...@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am!





