|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Howto access the guest filesystem under LVM ?
Pascal wrote:
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.
Thanks
Does it mean I should first shutdown the guest ?
and maybe do
mount /dev/mapper/xenvps-centos45 /mnt
(loke this it is not a symlink)
Pascal
In general, yes. Shut down the guest, to avoid the file system changing
under you. Or if you're using LVM and just want to look at it, simply
LVM snapshot it and look at the snapshot.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|