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] mounting CentOS formatted file-backed images

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] mounting CentOS formatted file-backed images
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Wed, 22 Aug 2007 15:08:52 +0100
Cc: Andrew Wang <andrewinet@xxxxxxxxx>
Delivery-date: Wed, 22 Aug 2007 07:09:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <000c01c7e46f$92e236f0$cc790f41@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>
References: <000c01c7e46f$92e236f0$cc790f41@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6
You can use kpartx or lomount to mount partitions that are within a guest 
image.

Never mount a guest's data without first shutting down the guest; at best it 
can confuse the mounting OS and at worst it can trash the filesystem 
completely!

If you need to mount things whilst the guest is running, it might be better to 
use some sort of snapshotting (maybe ddsnap or LVM snapshots) to make the 
image dom0 accesses be independent of the one the guest is using.

Btw, if you save the guest to disk and then back up its save file along with  
a copy of its disk image then you'll have a complete representation of all 
the data that was cached in memory and saved on the disk.

Making sure you do this stuff safely is quite important, so please ask if you 
have any further questions, and make sure you've tested your setup with 
machines that don't matter to you!

Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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

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