Re: gjournal beta3

From: Claus Guttesen <kometen_at_gmail.com>
Date: Tue, 20 Sep 2005 00:21:50 +0200
> Thanks for the bug report! I'll not be able to fix it during this week
> (because my CVS server is in a carboard box some 200 kilometers from my
> location), but if you want to try gjournal out, you can just comment out
> the erroneous lines - they just provide debugging info. But beware: AFAIK
> you'll be the first to test it on non-i386 hardware!

Disklabeled ad0s1a and -b, newfs'ed them. Then I did a ./gjournal
load, ./gjournal label gjdev /dev/ad0s1b /dev/ad0s1a and state is UP.
Then I mount /dev/journaled/gjdev to /gjtest. I'm able to mkdir one
directory and chown to myself. But any further activity is logged with
this (timestamps ommited):

kernel: GEOM_JOURNAL[0]: Creating device gjdev (id=1690273371).
kernel: GEOM_JOURNAL[0]: Device journaled/gjdev created. Mode=journal,
Opt=speed.
kernel: GEOM_JOURNAL[0]: Worker thread for gjdev created
kernel: GEOM_JOURNAL[0]: Adding disk ad0s1b to gjdev.
kernel: GEOM_JOURNAL[0]: gjdev: g_journal_add_disk, ad0s1b
kernel: GEOM_JOURNAL[0]: Disk ad0s1b attached to gjdev (data).
kernel: GEOM_JOURNAL[0]: Adding disk ad0s1a to gjdev.
kernel: GEOM_JOURNAL[0]: gjdev: g_journal_add_disk, ad0s1a
kernel: GEOM_JOURNAL[0]: Disk ad0s1a attached to gjdev (journal).
kernel: GEOM_JOURNAL[0]: g_journal_journal_start
kernel: GEOM_JOURNAL[0]: Journaling for device gjdev activated.
kernel: GEOM_JOURNAL[0]: Journal commit for gjdev (-1)
kernel: GEOM_JOURNAL[0]: Journaling for device gjdev stopped.
kernel: GEOM_JOURNAL[0]: g_journal_journal_start
kernel: GEOM_JOURNAL[0]: Journaling for device gjdev activated.
kernel: GEOM_JOURNAL[0]: gjdev: Switching journal areas from 0 to 1
kernel: GEOM_JOURNAL[0]: Journal commit for gjdev (0)
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=8589934592, length=3072)]
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=8589937152, length=3072)]
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=6144000,
length=2048)]error = 5
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=65536, length=2048)]error = 5
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=8589939712, length=17408)]
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=10210197504,
length=16384)]error = 5
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=8589956608, length=17408)]
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=10210197504,
length=16384)]error = 5
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=8589973504, length=3072)]
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=10210101248,
length=2048)]error = 5
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=8589976064, length=17408)]
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=10210197504,
length=16384)]error = 5
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=8589992960, length=3072)]
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=8589995520, length=17408)]
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=8590012416, length=3072)]
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=65536, length=2048)]error = 5
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=114688,
length=16384)]error = 5
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=6144000,
length=2048)]error = 5
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=8590014976, length=17408)]
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=10210181120,
length=16384)]error = 5
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=8590031872, length=17408)]
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=10210197504,
length=16384)]error = 5
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=8590048768, length=3072)]
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=8590051328, length=3072)]
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=6144000,
length=2048)]error = 5
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=65536, length=2048)]error = 5
kernel: GEOM_JOURNAL[0]: gjdev: Switching journal areas from 1 to 0
kernel: GEOM_JOURNAL[0]: Journal commit for gjdev (1)
kernel: GEOM_JOURNAL[2]: g_journal_journal_commit: Error reading journal: 5
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=65536, length=2048)]error = 5
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=114688,
length=16384)]error = 5
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=6144000,
length=2048)]error = 5
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=10210197504,
length=16384)]error = 5

When rebooting the filesystems weren't cleanly unmounted, the
journaled device does show up again.

regards
Claus
Received on Mon Sep 19 2005 - 20:21:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:43 UTC