Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Sep 2005 00:21:50 +0200
From:      Claus Guttesen <kometen@gmail.com>
To:        Ivan Voras <ivoras@fer.hr>
Cc:        current@freebsd.org
Subject:   Re: gjournal beta3
Message-ID:  <b41c755205091915211676416f@mail.gmail.com>
In-Reply-To: <20050919214306.F90799@geri.cc.fer.hr>
References:  <20050831044823.N50961@geri.cc.fer.hr> <b41c7552050918145348162763@mail.gmail.com> <20050919214306.F90799@geri.cc.fer.hr>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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=3D1690273371).
kernel: GEOM_JOURNAL[0]: Device journaled/gjdev created. Mode=3Djournal,
Opt=3Dspeed.
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=3D8589934592, length=3D3072)]
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=3D8589937152, length=3D3072)]
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=3D6144000,
length=3D2048)]error =3D 5
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=3D65536, length=3D2048)]e=
rror =3D 5
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=3D8589939712, length=3D17408)]
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=3D10210197504,
length=3D16384)]error =3D 5
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=3D8589956608, length=3D17408)]
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=3D10210197504,
length=3D16384)]error =3D 5
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=3D8589973504, length=3D3072)]
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=3D10210101248,
length=3D2048)]error =3D 5
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=3D8589976064, length=3D17408)]
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=3D10210197504,
length=3D16384)]error =3D 5
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=3D8589992960, length=3D3072)]
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=3D8589995520, length=3D17408)]
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=3D8590012416, length=3D3072)]
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=3D65536, length=3D2048)]e=
rror =3D 5
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=3D114688,
length=3D16384)]error =3D 5
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=3D6144000,
length=3D2048)]error =3D 5
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=3D8590014976, length=3D17408)]
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=3D10210181120,
length=3D16384)]error =3D 5
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=3D8590031872, length=3D17408)]
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=3D10210197504,
length=3D16384)]error =3D 5
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=3D8590048768, length=3D3072)]
kernel: GEOM_JOURNAL[2]: Child failed: 5
ad0s1a[WRITE(offset=3D8590051328, length=3D3072)]
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=3D6144000,
length=3D2048)]error =3D 5
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=3D65536, length=3D2048)]e=
rror =3D 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=3D65536, length=3D2048)]e=
rror =3D 5
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=3D114688,
length=3D16384)]error =3D 5
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=3D6144000,
length=3D2048)]error =3D 5
kernel: g_vfs_done():journaled/gjdev[WRITE(offset=3D10210197504,
length=3D16384)]error =3D 5

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

regards
Claus



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b41c755205091915211676416f>