Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 16th December 2009, 18:31
karateckie karateckie is offline
Junior Member
Join Date: Dec 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default About: Back up LVM xen guest containing lvs


I have a question regarding the last part of the How To where it warns to make sure and unmount the volume, then delete the device map created by kpartx.

In my case I do not have a xen guest containing LVs, but I have a Windows Xen guest with an NTFS formatted volume. I am able to create the device with kpartx and mount the partition using ntfs-3g. So there's no problem there.

My question is, can the file system become corrupt if I am only mounting the partition of the Xen Guest as read only?? I'd like to leave the filesystem mounted for periodic backups from the Centos 5.4 host. Is that a bad idea? If so, can someone point me to a "why this is a bad idea" type of document/page? Thanks a bunch! I'm trying to determine if there are cases where the file system becomes corrupt that don't apply to my setup since I don't have LVs inside of a guest.

Reply With Quote
Sponsored Links
Old 28th December 2009, 17:28
karateckie karateckie is offline
Junior Member
Join Date: Dec 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mount guest LVM read only

Can anyone explain where the corruption happens with leaving kpartx maps in place? My primary question: is corruption possible even if the partion inside the guest LV is mounted read only on the host?

The LV in question is only used for data storage. So it is possible that the guest could be performing a write operation on the data when the host is trying to read. Is this a problem?

Reply With Quote


centos 5.4 host, ntfs-3g windows guest, xen

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Backing up Xen DomUs - NFS vs. LVM Snapshots atjensen11 Installation/Configuration 4 20th August 2009 19:18
Ubuntu 8.04 LTS - RAID 1 + LVM + XEN atjensen11 HOWTO-Related Questions 1 20th January 2009 21:35
how do I setup a Ubuntu domU guest on a CentOS / Fedora Core XEN server? SoftDux Installation/Configuration 0 27th July 2008 20:49
Problem setting up LVS (load-balancer, linux virtual server) in Xen Virtual Machine cifroes Server Operation 1 7th November 2006 17:55
Xen: Smp & Lvm zokahn HOWTO-Related Questions 5 27th January 2006 11:28

All times are GMT +2. The time now is 17:26.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.