Xen: How to Convert An Image-Based Guest To An LVM-Based Guest
Apr 21, 2009, 18:32 (0 Talkback[s])
(Other stories by Falko Timme)
[ Thanks to Falko
Timme for this link. ]
"Also, LVM-based guests are easier to back up (using
LVM snapshots).
"2 Converting The Images To LVM
"Before we convert the images, we must shut down the guest:
xm shutdown xen1.example.com
"Then we create logical volumes of the same size as the disk
images, e.g. as follows:
lvcreate -L4G -n xen1_root vg0
lvcreate -L256M -n xen1_swap vg0
"This creates the logical volumes /dev/vg0/xen1_root (4GB) and
/dev/vg0/xen1_swap (256MB):
lvdisplay"
Complete Story
Related Stories:
- Generating Website Statistics With Piwik, An Open-Source, Google Analytics-Like(Apr 20, 2009)
- Running Ubuntu On Windows XP With Portable Ubuntu(Apr 18, 2009)
- Installing Asterisk + PostgreSQL To Manage CDR & RealTime Config On Debian(Apr 13, 2009)
- ntop in openSUSE to probe & monitor Network Traffic(Apr 11, 2009)
- Installing MyDNS-NG & MyDNSConfig 3 On Debian Lenny(Apr 10, 2009)
- A Short Introduction To Cron Jobs(Apr 09, 2009)
- The Perfect Server - Ubuntu 8.10 [ISPConfig 3](Apr 08, 2009)
- VirtualBox 2: How To Pass Through USB Devices To Guests On An Ubuntu 8.10 Host(Apr 07, 2009)
- Check the status of multiple network interfaces the easy way(Apr 07, 2009)

