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

[Xen-users] pygrub CentOS domU - unable to mount lvm partition form dom0 -


  • To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Peter Braun <xenware@xxxxxxxxx>
  • Date: Fri, 30 Jan 2009 23:05:27 +0100
  • Delivery-date: Fri, 30 Jan 2009 14:06:15 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=pNTuudGVTvbgVI9rsw2W9CWMPrf9lqeyGxdAOKC3SwHAULAHFAOUDb353NWB1QqkMb wDZChRkHCzWe+BtwfRwqHqcyQ1Jmjyi2rOKIaYHOKByBwy2shIFrqCWi8uJFtKTrwvy3 DFXlT9Tp02+JoWLkjxz2DPLdT9MeIJvWnyjh4=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,

am using Xen 3.3.1 ontop of Debian etch x64.

Most of the domU are custom made or downloaded from jailtime.org.
Am using custom 2.6.18 kernel and slowly migrating to PV-OPS kernel -
2.6.26 and higher.

Specially for CentOs installation am using network install via xen
image and than domU boot via pygrub with original RH/CentOS xenified
kernel.

Everything runs fine but suddenly yesterday I have realized something
that really annoys me.

Am using lvm based partitions for all domU. For xenified an pv-ops
kernels there is no problem mounting the lvm domU partition from dom0.
But when trying pygrub CentOS installed domU - it goes wrong:

mount /dev/vg/centospy /mn/lvm/
mount: you must specify the filesystem type

mount -t ext3 /dev/vg/centospy /mn/lvm/
mount: wrong fs type, bad option, bad superblock on /dev/vg/x1hd,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

in dmesg:
VFS: Can't find ext3 filesystem on dev dm-0.


fdisk -l /dev/vg/x1hd

Disk /dev/vg/centospy: 32.2 GB, 32212254720 bytes
255 heads, 63 sectors/track, 3916 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

       Device Boot      Start         End      Blocks   Id  System
/dev/vg/centospy   *           1        3916    31455238+  83  Linux


During the CentOS install annaconda is reporting something like "loop
partition" detected and have to reinitialize disk.



Please can somene help me out how to mount this partition from dom0?


Br

Peter

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