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] Howto access the guest filesystem under LVM ?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Howto access the guest filesystem under LVM ?
From: Marcin Owsiany <marcin@xxxxxxxxxx>
Date: Sun, 17 Jun 2007 19:37:46 +0100
Delivery-date: Sun, 17 Jun 2007 11:36:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46757AD6.7090905@xxxxxxxxxxxxxxxxx>
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>
Mail-followup-to: xen-users@xxxxxxxxxxxxxxxxxxx
References: <46757AD6.7090905@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Sun, Jun 17, 2007 at 08:17:58PM +0200, Pascal wrote:
> I have created a guest using virt-install.
> On the dom0 we have created a LogicalVolume and used it to install the guest
> 
> We need to copy all the contents of the guest, so we'd like to access 
> the guest filesystem from dom0
> 
> Tried something like :
> mount -o loop /dev/xenvps/mylv /mnt
> 
> But it doesn't work

Omit "-o loop". /dev/xenvps/mylv is a (symlink-to) a real block device
file, so there's no need for loop.

Keep in mind that having it mounted R/W in guest and R/W or R/O in dom0
at the same time is asking for trouble.

-- 
Marcin Owsiany <marcin@xxxxxxxxxx>              http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216
 
"Every program in development at MIT expands until it can read mail."
                                                              -- Unknown

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