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] Using LVM snapshots to backup NTFS partitions forwindows

To: Milan Krstić <milan.krstic@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Using LVM snapshots to backup NTFS partitions forwindows guests
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Wed, 24 Oct 2007 13:56:56 +1000
Delivery-date: Tue, 23 Oct 2007 20:57:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <57e9e3e40710231833k488f668vbd4feb8e3606a089@xxxxxxxxxxxxxx>
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: <57e9e3e40710231833k488f668vbd4feb8e3606a089@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcgV3jVPb7Lvw738SyKny2NYJqenvAAE59CA
Thread-topic: [Xen-users] Using LVM snapshots to backup NTFS partitions forwindows guests
> Hi everyone!
> 
> I've been reading this list for a while and I'm thinking that the best
> way to do backups is using LVM snapshots as discussed here several
> times.
> 
> The problem is that when i use a LVM logical volume as windows disk,
> windows writes the partition table onto the LV so the LV itself is not
> a partition - it's a whole disk.
> 
> lvm/device-mapper does not create the partition devices in /dev so i
> cannot mount/access the ntfs partitions with anything but fdisk, and i
> would like to use ntfsclone or similar.
> 
> Is there any way around this?
> 

In the past I have done this by using loopback with an offset, but you need to 
do a few sums to get that right (eg figure out where in the disk image each 
partition starts etc).

James

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