Hello,<br>
<br>
I have been having an annoying problem with a multi-partition domain.
This domain has a separate partition for : /, /home, /usr, /var, /tmp
and /data. I created it using xen-tools and the custom partitionning
scheme option. The partitions are inside a LVM.<br>
<br>
When I boot the domain, it mounts the / and swap partition but none of
the others. Therefore it doesn't work... I get the following error :<br>
<br>
fsck.ext3: No such file or directory while trying to open /dev/xvda6<br>
/dev/xvda6: <br>
The superblock could not be read or does not describe a correct ext2<br>
filesystem. If the device is valid and it really contains an ext2<br>
filesystem (and not swap or ufs or something else), then the superblock<br>
is corrupt, and you might try running e2fsck with an alternate
superblock:<br>
e2fsck -b 8193 <device><br>
<br>
When I mount the partitions in question in the dom0, it works perfectly
fine. When I fsck.ext3 the partitions in question, it returns no errors.<br>
<br>
In the dmesg I get the following messages, I don't know if they're
relevant.<br>
<br>
[ 0.187583] blkfront: xvda7: barriers enabled<br>
[ 0.189567] blkfront: xvda6: barriers enabled<br>
<br>
I also see this message that seems to correspond to the partitions : <br>
<br>
[ 0.045069] xenbus_probe_devices device<br>
[ 0.045069] xenbus_probe_devices 1/3 vbd<br>
[ 0.045069] xenbus_probe_device_type type vbd<br>
[ 0.045069] xenbus_probe_device_type 1/7 51719<br>
[ 0.045069] xenbus_probe_device_type 2/7 51718<br>
[ 0.046084] xenbus_probe_device_type 3/7 51717<br>
[ 0.046084] xenbus_probe_device_type 4/7 51716<br>
[ 0.046084] xenbus_probe_device_type 5/7 51715<br>
[ 0.046084] xenbus_probe_device_type 6/7 51714<br>
[ 0.046084] xenbus_probe_device_type 7/7 51713<br>
<br>
My domU configuration is the following :<br>
<br>
root = '/dev/xvda2 ro'<br>
disk = [<br>
'phy:/dev/vg/test-home,xvda7,w',<br>
'phy:/dev/vg/test-data,xvda6,w',<br>
'phy:/dev/vg/test-tmp,xvda5,w',<br>
'phy:/dev/vg/test-usr,xvda4,w',<br>
'phy:/dev/vg/test-var,xvda3,w',<br>
'phy:/dev/vg/test-root,xvda2,w',<br>
'phy:/dev/vg/test-swap,xvda1,w',<br>
]<br>
<br>
What have I done wrong ? I have tried many things... DomU is a fresh
Debian Lenny and the partitions are ext3. dom0 is also Debian Lenny. Xen
is version 4.0 compiled from source. I tried with XFS but I got the
same error.<br>
<br>
Thank you in advance for your help,<br>
<br>
Antoine<br>