Aidan Wong
2011-Jan-13 19:46 UTC
[Xen-users] CentOS 5.5 x86_64 - XEN DomU LVM ext4 partition support
Hello, I''m on CentOS 5.5 x86_64 with kernel version 2.6.18-194.32.1.el5xen. I''m trying to setup a DomU on a LVM EXT4 partition for /root. While launching the DomU, I can see that the EXT4 kernel module is loaded, but I''m getting the following error: [code] Creating root device. Mounting root filesystem. EXT3-fs: sda1: couldn''t mount because of unsupported optional features (240). mount: error mounting /dev/root on /sysroot as ext3: Invalid argument Setting up other filesystems. Setting up new root fs setuproot: moving /dev failed: No such file or directory no fstab.sys, mounting internal defaults setuproot: error mounting /proc: No such file or directory setuproot: error mounting /sys: No such file or directory Switching to new root and running init. unmounting old /dev unmounting old /proc unmounting old /sys switchroot: mount failed: No such file or directory Kernel panic - not syncing: Attempted to kill init! [/code] Here''s my DomU config: [code] kernel = "/boot/xen-kernel/vmlinuz-2.6.18-194.32.1.el5xen" ramdisk "/boot/xen-ramdisk/initrd_centos-ramdisk_2.6.18-194.32.1.el5xen.img" name = "server12.dev.xen.com" memory = "1024" disk = [''phy:VG_DATASTORE/LV_XEN_1,sda1,w'', ''phy:VG_DATASTORE/LV_SWAP_1,sda2,w''] root = ''/dev/sda1 ro'' vif = [''bridge=xenbr0'', ''''] vcpus = 1 #on_reboot = ''destroy'' #on_crash = ''destroy'' [/code] Can someone help with this issue? Thanks _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2011-Jan-13 22:09 UTC
Re: [Xen-users] CentOS 5.5 x86_64 - XEN DomU LVM ext4 partition support
On Fri, Jan 14, 2011 at 2:46 AM, Aidan Wong <awong@xen.com> wrote:> I can see that the EXT4 kernel module is loadedwhere does it say that?>, but I''m getting > the following error: > [code] > Creating root device. > Mounting root filesystem. > EXT3-fs: sda1: couldn''t mount because of unsupported optional features > (240).That shows ext3 module is being used, not ext4. Try rebuilding initrd using --preload ext4 (or something like that). Also make sure your fstab has ext4 for "/" instead of auto. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Aidan Wong
2011-Jan-13 23:26 UTC
Re: [Xen-users] CentOS 5.5 x86_64 - XEN DomU LVM ext4 partition support
Hi, While booting DomU. I built another LVM EXT3 partition, booted the same image and that booted fine. Issue seems to be only with using an LVM EXT4 partition. Thanks for replying On Thu, Jan 13, 2011 at 2:09 PM, Fajar A. Nugraha <list@fajar.net> wrote:> On Fri, Jan 14, 2011 at 2:46 AM, Aidan Wong <awong@xen.com> wrote: > > I can see that the EXT4 kernel module is loaded > > where does it say that? > > >, but I''m getting > > the following error: > > [code] > > Creating root device. > > Mounting root filesystem. > > EXT3-fs: sda1: couldn''t mount because of unsupported optional features > > (240). > > That shows ext3 module is being used, not ext4. > Try rebuilding initrd using --preload ext4 (or something like that). > Also make sure your fstab has ext4 for "/" instead of auto. > > -- > Fajar >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users