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

Re: [Xen-users] Re: xen 2.0/3.0 pb with SW-RAID



Hi Fred,

I'm not familiar with your hardware or distro, so hopefully I won't
be adding to your problems!

To me, these stand out:


md: hdXn has different UUID to hdYm

I'd have a look at making sure you have a valid mdadm.conf,
then create a new initrd and see if things improve.
I assume that the major difference between the two kernels (apart
from one being xen-patched!) is that with the xen-patched one
you've had to create your own initrd.
AFAIK some mkinitrd methods need mdadm.conf so that mdadm
(and others) are loaded properly.
eg:
# cat /etc/mdadm/mdadm.conf
DEVICE partitions
ARRAY /dev/md0 level=raid0 num-devices=2 
UUID=72c1f448:2d5f8521:431d286d:3de5be1d
   devices=/dev/hda3,/dev/hdc3
ARRAY /dev/md1 level=raid0 num-devices=2 
UUID=f739cdb1:7cfb3f92:605674de:969a9c53
        devices=/dev/hda6,/dev/hdc6
ARRAY /dev/md2 level=raid0 num-devices=2 
UUID=0b81ec82:8cd3167c:8192ec98:f749babc
        devices=/dev/hda7,/dev/hdc7
# mdadm --examine /dev/hda3 | grep UUID
           UUID : 72c1f448:2d5f8521:431d286d:3de5be1d
# mdadm --examine /dev/hdc3 | grep UUID
           UUID : 72c1f448:2d5f8521:431d286d:3de5be1d


Also, to simplify things a little, you don't need to put your
swap on a raid device, just give the two swap partitions the
same priority. This will actually be faster too.
eg:
# grep swap /etc/fstab
/dev/hda2               none                    swap    sw,pri=1        0       0
/dev/hdc2               none                    swap    sw,pri=1        0       0


The other msg that seems out of place is this:
{ DriveReady SeekComplete Error }
and unless something really is wrong perhaps check DMA settings in
your kernel config.
grep DMA /mnt/kernels/config-2.6.11.12-xen0
CONFIG_GENERIC_ISA_DMA=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y


Marcus.

_______________________________________________
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®.