VMM copy -

Rick Stevens ricks at alldigital.com
Tue Mar 1 18:27:00 UTC 2016


On 03/01/2016 10:04 AM, Bob Goodwin wrote:
> I have a computer with Fedora 23 installed on an 80GB drive. The same
> computer has a1 TB drive with Fedora 21 on it and rarely gets booted. I
> would like to put F23 on the larger drive but would like to preserve the
> contents of Virtual Machine Manager and move it to the new installation.
>
> VMM installs the VM in / and I have had problems on both computers where
> I have run out of space, both just happen to have F23 on smaller drives,
> 250G and 80G. I just went through considerable effort creating more
> space in root on the 80GB drive in order to restore normal operation
> after setting up a centos7 VM ...
>
> What do I need to save to do that?

Assuming you're using disk image files rather than partitions or LVs for
your VM disks, my guess is that the disk images for your VMs are what's
eating your space.

The images typically go in /var/lib/libvirt/images, although you can
specify the location when you create your images. You can find them by
looking at the various configuration "*.xml" files in /etc/libvirt/qemu
and looking for the

	<devices>
	    <disk type='file' device='disk'>
		<driver name='somedrivername' type='imagetype'/>
		    <source file='/path/to/image/file'>

items. Locate the images and copy them to an appropriate spot on the new
drive and update the .xml files appropriately.

Hope that helps.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks at alldigital.com -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-       Charter Member of the International Sarcasm Society          -
-                "Yeah, like we need YOUR support!"                  -
----------------------------------------------------------------------


More information about the users mailing list