On 03/01/2016 11:51 AM, Bob Goodwin wrote:
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.
Keep in mind that the libvirt GUI (VMM) reads those XML files when it
starts up, so if you make a change to them manually (e.g. via an
editor), stop and restart the VMM GUI so it picks up the changes before
you press on.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 -
- -
- Is it progress if a cannibal uses a knife and fork? -
- -- Stanislaw J. Lec -
----------------------------------------------------------------------
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org