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 question

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] mount question
From: Charlie Farinella <cfarinella@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 18 Nov 2008 10:59:20 -0500
Delivery-date: Tue, 18 Nov 2008 08:00:14 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49221C51.1020202@xxxxxxxxxx>
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>
Organization: Appropriate Solutions, Inc.
References: <200811171326.13531.cfarinella@xxxxxxxxxxxxxxxxxxxxxxxx> <49221C51.1020202@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.10
On Monday 17 November 2008, Thomas Goirand wrote:
> Charlie Farinella wrote:
> > Scenario:
> > 
> > I create a domU in an LVM using virt-install (CentOS current).  The 
> > installation goes as expected and all is well.
> > 
> > I thought that I would be able to mount this file system like so:
> > 
> > mount -o loop /dev/VolGroup00/vm_name /mnt/image
> > 
> > ...yet I cannot, it tells me I have to provide the filesystem type.  
> > When I do (ext3), that fails telling me it can't find a valid block 
> > device.
> > 
> > Can someone point out what I have done wrong?
> 
> Why would you use the -o loop flag if you are using a LVM partition? I
> have no idea if this is the reason why it fails, but I know that you
> don't need it. LVs are not files, they are plain devices.
> 
> Thomas

I'm kind of new to all of these and am sort of feeling my way.  It seems 
I was putting a default CentOS install which contains a /boot partition 
and another LVM partition inside an LVM on the host.  I don't know if 
that's good or bad, but for now I am installing all guests as a single 
root partition inside the host LVM and can mount them like so:

lomount -t ext3 -diskimage /dev/VolGroup00/vg_name -partition 
1 /mnt/image

Thanks for the responses.

--charlie

-- 
------------------------------------------------------------------------
Charles Farinella 
Appropriate Solutions, Inc. (www.AppropriateSolutions.com)
cfarinella@xxxxxxxxxxxxxxxxxxxxxxxx
voice: 603.924.6079   fax: 603.924.8668


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

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