[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Xen 3.0.2 with /boot on RAID1


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Administrator TOOTAI <admin@xxxxxxxxxx>
  • Date: Thu, 03 Aug 2006 22:52:14 +0200
  • Delivery-date: Thu, 03 Aug 2006 13:51:58 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi all,

I'm running an SMP (2 proc) server with 2 disks in RAID1 and GRUB under Ubuntu Dapper 6.06, kernel 2.6.15-26-server

Raid setup is following

/dev/md0 for /boot
/dev/md1 for /

with

/dev/hd[a,c]1 is md0
/dev/hd[a,c]2 is md1

No LVM, it's working like a charm. Now I build from sources xen-3.0.2-2 kernel and install it. Grub entry is following:

title           XEN, kernel 2.6.16-xen
root            (hd0,0)
kernel          /xen-3.0.2-2.gz dom0_mem=262144 ;have 512 MB RAM
module          /vmlinuz-2.6.16-xen root=/dev/md1 ro quiet splash
module          /initrd.img-2.6.16-xen
savedefault
boot

Server is booting except that I have

[...]
Aug  3 11:47:33 dual kernel: Using IPI No-Shortcut mode
Aug  3 11:47:33 dual kernel: RAMDISK: cramfs filesystem found at block 0
Aug 3 11:47:33 dual kernel: RAMDISK: Loading 4820KiB [1 disk] into ram disk... |^H/^H-^H\^H|^H/^H-^H\^H|^H/^H- Aug 3 11:47:33 dual kernel: \^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-
Aug  3 11:47:33 dual kernel: VFS: Mounted root (cramfs filesystem) readonly.
Aug  3 11:47:33 dual kernel: Freeing unused kernel memory: 168k freed
Aug 3 11:47:33 dual kernel: md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
Aug  3 11:47:33 dual kernel: md: bitmap version 4.39
Aug  3 11:47:33 dual kernel: md: raid1 personality registered for level 1
Aug 3 11:47:33 dual kernel: input: ImPS/2 Generic Wheel Mouse as /class/input/input1 Aug 3 11:47:33 dual kernel: input: AT Translated Set 2 keyboard as /class/input/input2
Aug  3 11:47:33 dual kernel: md: md1 stopped.
Aug  3 11:47:33 dual kernel: md: bind<hdc2>
Aug  3 11:47:33 dual kernel: md: bind<hda2>
Aug 3 11:47:33 dual kernel: raid1: raid set md1 active with 2 out of 2 mirrors
Aug  3 11:47:33 dual kernel: kjournald starting.  Commit interval 5 seconds
Aug 3 11:47:33 dual kernel: EXT3-fs: mounted filesystem with ordered data mode.

Notice that md0 doesn't appear. At the end:

[...]
Aug 3 11:47:34 dual kernel: device-mapper: error adding target to table ;this repeated in lots of lines
Aug  3 11:47:34 dual kernel: eth0: no IPv6 routers present
Aug  3 11:47:34 dual kernel: EXT3-fs: unable to read superblock
Aug  3 11:47:34 dual kernel: kjournald starting.  Commit interval 5 seconds
Aug  3 11:47:34 dual kernel: EXT3 FS on hdc6, internal journal
Aug 3 11:47:34 dual kernel: EXT3-fs: mounted filesystem with ordered data mode.

hdc6 is a spare partition not in a raid area. This ended in a shell on which I'm asked to run e2fsck as superblock for /dev/md0 is corrupted or partition is not ext2, or press CTRl/D to continue boot sequence. If I continue, everything is ok excepted that /dev/md0 doesn't exist.

I tried to add in /lib/module/<xen version>/initrd the raid1.ko, md-mod.ko and ext3.ko, same result.

Does anyone have an idea on what's going wrong? Thanks for any hint.

--
Daniel

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.