From: Edward F. <efa...@ll...> - 2003-07-22 15:07:03
|
Hello all, I have ext3 support built in to my UML kernel (2.4.20-6um), and I'm using an ext3 root filesystem. It all works fine, except when I shutdown uncleanly and reboot, it always goes through a lengthy fsck, instead of doing journal recovery. Any suggestions? thanks, Ed |
From: Goetz B. <bo...@bl...> - 2003-07-22 15:42:15
|
On Tue, Jul 22 '03 at 11:06, Edward Faulkner wrote: > I have ext3 support built in to my UML kernel (2.4.20-6um), and I'm > using an ext3 root filesystem. It all works fine, except when I > shutdown uncleanly and reboot, it always goes through a lengthy fsck, > instead of doing journal recovery. Any suggestions? you do mount the rootfs as ext3? And some distributions force a check unless you press a key within n seconds during boot. -- /"\ Goetz Bock at blacknet dot de -- secure mobile Linux everNETting \ / (c) 2003 as GNU FDL 1.1 X [ 1. Use descriptive subjects - 2. Edit a reply for brevity - ] / \ [ 3. Reply to the list - 4. Read the archive *before* you post ] |
From: Edward F. <efa...@ll...> - 2003-07-22 17:08:23
|
My fstab lists the root filesystem as ext3, and during normal operation 'mount' shows it as ext3 as well. Only during boot it seems to get treated as ext2. Yes, the check is always forced, but when journal recovery is working, the check should go very fast. On Tue, 2003-07-22 at 11:42, Goetz Bock wrote: > > On Tue, Jul 22 '03 at 11:06, Edward Faulkner wrote: > > I have ext3 support built in to my UML kernel (2.4.20-6um), and I'm > > using an ext3 root filesystem. It all works fine, except when I > > shutdown uncleanly and reboot, it always goes through a lengthy fsck, > > instead of doing journal recovery. Any suggestions? > you do mount the rootfs as ext3? > And some distributions force a check unless you press a key within n > seconds during boot. > -- > /"\ Goetz Bock at blacknet dot de -- secure mobile Linux everNETting > \ / (c) 2003 as GNU FDL 1.1 > X [ 1. Use descriptive subjects - 2. Edit a reply for brevity - ] > / \ [ 3. Reply to the list - 4. Read the archive *before* you post ] > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > User-mode-linux-user mailing list > Use...@li... > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user > |
From: Jim B. <jf...@nf...> - 2003-07-22 17:16:37
|
On Tue, 2003-07-22 at 11:06, Edward Faulkner wrote: > Hello all, > > I have ext3 support built in to my UML kernel (2.4.20-6um), and I'm > using an ext3 root filesystem. It all works fine, except when I > shutdown uncleanly and reboot, it always goes through a lengthy fsck, > instead of doing journal recovery. Any suggestions? Do you have a journal? Run this to find out dumpe2fs -h <fs_image> | grep Journal You should see a few lines similar to Journal UUID: <none> Journal inode: 8 Journal device: 0x0000 If not, try adding one with 'tune2fs -j' |
From: Andreas D. <ad...@cl...> - 2003-07-22 17:58:16
|
On Jul 22, 2003 13:08 -0400, Edward Faulkner wrote: > My fstab lists the root filesystem as ext3, and during normal operation > 'mount' shows it as ext3 as well. Only during boot it seems to get > treated as ext2. It sounds like you do not have ext3 compiled into your kernel and the filesystem is being mounted as ext2. The output from "mount" is lying, check /proc/mounts for the truth. Make sure you have a journal on the filesystem, by looking at output of "dumpe2fs -h <device>" for "has_journal" feature, and if mounted as ext3 it should also show "needs_recovery". > > On Tue, Jul 22 '03 at 11:06, Edward Faulkner wrote: > > > I have ext3 support built in to my UML kernel (2.4.20-6um), and I'm > > > using an ext3 root filesystem. It all works fine, except when I > > > shutdown uncleanly and reboot, it always goes through a lengthy fsck, > > > instead of doing journal recovery. Any suggestions? Cheers, Andreas -- Andreas Dilger http://sourceforge.net/projects/ext2resize/ http://www-mddsp.enel.ucalgary.ca/People/adilger/ |
From: Edward F. <efa...@ll...> - 2003-07-22 18:40:33
|
It turned out that I didn't have a journal. I had originally tried to create the journal using 'tune2fs -j roof_fs' from the host system, which apparently didn't work. When I did 'tune2fs -j /dev/ubd0' from the UML system it worked. Thanks to Andreas, Jim, and Goetz for their help. On Tue, 2003-07-22 at 13:58, Andreas Dilger wrote: > On Jul 22, 2003 13:08 -0400, Edward Faulkner wrote: > > My fstab lists the root filesystem as ext3, and during normal operation > > 'mount' shows it as ext3 as well. Only during boot it seems to get > > treated as ext2. > > It sounds like you do not have ext3 compiled into your kernel and the > filesystem is being mounted as ext2. The output from "mount" is lying, > check /proc/mounts for the truth. Make sure you have a journal on the > filesystem, by looking at output of "dumpe2fs -h <device>" for "has_journal" > feature, and if mounted as ext3 it should also show "needs_recovery". > > > > On Tue, Jul 22 '03 at 11:06, Edward Faulkner wrote: > > > > I have ext3 support built in to my UML kernel (2.4.20-6um), and I'm > > > > using an ext3 root filesystem. It all works fine, except when I > > > > shutdown uncleanly and reboot, it always goes through a lengthy fsck, > > > > instead of doing journal recovery. Any suggestions? > > Cheers, Andreas > -- > Andreas Dilger > http://sourceforge.net/projects/ext2resize/ > http://www-mddsp.enel.ucalgary.ca/People/adilger/ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > User-mode-linux-user mailing list > Use...@li... > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user > |