On 03/01/16 13:27, Rick Stevens wrote:
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.
----------------------------------------------------------------------
Yes that helps, it gives me confidence
in what I did to put the image in that
vm yesterday. I wasn't certain after
messing with the vmm GUI for a while to
get it to work. I used the vm from this
computer, put it in
/var/lib/libvirt/images, a centos.qcow2
file.
I will save
/var/lib/libvirt/images/centos.qcow2 to
the spare 40GB disk as a matter of
convenience. Those large files take time
to transfer over my ethernet LAN.
Thanks
--
Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
box10 FEDORA-23/64bit LINUX XFCE POP3