[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] mounting CentOS formatted file-backed images



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.