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

RE: [Xen-users] mount a partition

To: "'ko0nz'" <yesiko0nz@xxxxxxxxx>, "'xen-users'" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] mount a partition
From: "Jeroen Torrekens" <jeroen.torrekens@xxxxxxxxxxx>
Date: Fri, 1 Feb 2008 17:14:05 +0100 (CET)
Delivery-date: Fri, 01 Feb 2008 08:15:06 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1f7e0c110802010807i50ba022q5f9253054292a6c6@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Achk7KcvbiEkwVEORyyWxha8XtJBrAAAIAug

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of ko0nz
Sent: vrijdag 1 februari 2008 17:08
To: xen-users
Subject: [Xen-users] mount a partition

hi,

i'd like to know how could i mount a partition on DomU:

i set up lvm partition on Dom0.

i create a lvm partition on Dom0: it's /dev/xenlvm/data

i'd like to use that partition.

so i put on

/etc/xen/srv1.cfg

disk    = [ 'phy:xenlvm/toto-disk,sda1,w',

'phy:xenlvm/toto-swap,sda2,w', 'phy:/dev/xenlvm/data,sdb1,w' ]

and i a line to mount on /etc/fstab of the DomU

but i get this error:

mount: /dev/sdb1 is not a valid block device

is there something wrong?

thank you in advance for your help.



You should use sdb instead of sdb1 in your config file. Because you are stating partitions instead of block devices.

 

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