[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-users] migrate file-based vm to lvm?
Yes, you should be able to create a new LVM volume and then run something like: dd if=/path/to/dis/file of=/dev/volumegroup/volume The LVM volume needs to be either exactly the same size as the file or slightly larger, and there may be some rounding differences, so you may end up with extra space on the volume. -Nick -----Original Message----- From: Tait Clarridge <Tait.Clarridge@xxxxxxxxxxxx> To: s0nspark <s0nspark@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx Subject: RE: [Xen-users] migrate file-based vm to lvm? Date: Wed, 7 Jan 2009 10:36:35 -0500 If I am thinking correct here you could dd it to an lvm partition? Can anyone confirm? I have yet to try this as I find it easier to manage corporate vm structure using image files (better across the network). -----Original Message----- From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of s0nspark Sent: Wednesday, January 07, 2009 9:48 AM To: xen-users@xxxxxxxxxxxxxxxxxxx Subject: [Xen-users] migrate file-based vm to lvm? I recently upgraded storage on our (first) xen server and would like to migrate the file-based vms I have in play to lvm-based storage... Can anyone point me in the right direction? Is there a way to mount a vm image file like I would using a iso image and a loopback device? Each vm's disk file contains a partition table with root and swap partitions... In retrospect I wish I'd set these up independently! Thanks for any help! Cheers, Tim This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |