[Fwd: fsck problem]

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Fwd: fsck problem]

John Fairbairn
Hello,
   I run all CentOS-3.4/4 domU's and the problem lies in the CentOS 3.4
version of fsck, what i did to remedy the problem on CentOS 3.4 was to
grab the CentOS 4 e2fsprogs-src rpm and build a new rpm with 'rpmbuild
-ba /usr/src/SPECS/e2fsprogs.spec' this should build a new rpm that
will work for you, im using file based images so i just mount em,
change dir into the mounted filesystem and 'chroot .' this will allow
you to build and install the rpm w/o the DomU being booted. Then boot
normally and if it drops you to an fsck prompt just do 'fsck /' and in
about 2 seconds you'll be up n running. Another gotcha with CentOS 4
thus far has been the fact that berkeley db was compiled with mutexes.
Ive had to compile alot of custom rpm's for the 4.0 series as a result.
Just fyi.
Hope this helps ya out some :)

John Fairbairn

---------------------------- Original Message ----------------------------
Subject: [Xen-users] fsck problem
From:    "stefan vetter" <[hidden email]>
Date:    Mon, May 23, 2005 9:10 am
To:      [hidden email]
--------------------------------------------------------------------------

hi,

i'm trying to do following:
centos4 dom0 with lvm, created an lv and restored an backup of
an centos3 mashine to the lv. changed fstab, mtab so they match
the config-file for xen. i get an error where the domU is complaining
about the fsck-version - they are different in centos3 and -4, but what
can i do, to restore an existing machine into a logical volume?

thx for your help.

by,
stefan

here the output when trying to start the domain:
--- snip ---

INIT: version 2.85 booting
                Welcome to CentOS
                Press 'I' to enter interactive startup.
Configuring kernel parameters:  [  OK  ]
modprobe: modprobe: Can't open dependencies file
/lib/modules/2.4.29-xenU/modules.dep (No such file or directory)
hwclock is unable to get I/O port access:  the iopl(3) call failed.
Setting clock  (localtime): Mon May 23 11:13:00 CEST 2005 [  OK  ] Setting
hostname web:  [  OK  ]
modprobe: Can't open dependencies file
/lib/modules/2.4.29-xenU/modules.dep (No such file or directory)
modprobe: Can't open dependencies file
/lib/modules/2.4.29-xenU/modules.dep (No such file or directory)
Initializing USB controller (usb-uhci):  modprobe: Can't open
dependencies file /lib/modules/2.4.29-xenU/modules.dep (No such file or
directory)
[FAILED]
Your system appears to have shut down uncleanly
Press Y within 1 seconds to force file system integrity check...
Checking root filesystem
fsck.ext3: Filesystem has unsupported feature(s) (/dev/hda1)
e2fsck: Get a newer version of e2fsck!
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/hda1
[FAILED]

*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control-D to continue):

--- /snip ---

_______________________________________________
Xen-users mailing list
[hidden email]
http://lists.xensource.com/xen-users




_______________________________________________
Xen-users mailing list
[hidden email]
http://lists.xensource.com/xen-users