WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] pygrub CentOS domU - unable to mount lvm partition form dom0 -
From: Peter Braun <xenware@xxxxxxxxx>
Date: Fri, 30 Jan 2009 23:05:27 +0100
Delivery-date: Fri, 30 Jan 2009 14:06:15 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=HsUHLMok+WTFI5Z3ewqn3CUKGo/rnfycfTmMOu0DSVw=; b=dZ7xyD/PPBwXSTspyTmQxRIcfdQ73n2IwDdCuEV/7zbu3QjMZuYwa0wEIdMN9GXzLW 1z/xsb+rR/3SspbBA86epwMT6+Jbjmpo5FCVLSIS/TAn9hKfVF6/gAWBgE/nVCnMbqMl w28tJaD88I0qHH+ywkJNNk8mDLU1Nnt1JIgpE=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>