How to Manage Space for VMs
I would like to install a HV guest but get a failure while it was in the phase of loading additional software: Loading a vm failed on not enough memory. I do not know how to adjust for this.
/tmp/O0nBXJSb.iso.part could not be saved, because the source file could not be read. Try again later, or contact the server administrator.
There is not enough room on the disk to save /tmp/O0nBXJSb.iso.part. Remove unnecessary files from the disk and try again, or try saving in a different location.
I am using Virtual Machine Manager (It does not report a version but I loaded it after update a couple weeks ago).
The steps taken were:
1. Import existing disk image, xen (fullvirt).
2. Storage path /home/user3/Downloads/debian-8.2.0-amd64-CD-1.iso, (copied from http://cdimage.debian.org/debian-cd/8.2.0/amd64/iso-cd/), OS type "Linux", Version "Debian Wheezy (or later).”
3. Default memory 1 GB, CPUs "1".
4. Default advanced options: "Virtual network, Fixed MAC address.
The 'not enough room' may be coming from my selection of storage space. The default was 8 GB, but when I selected it, the system complained that there was only 2.1 GB available. So I change it to 2 GB. The is 1 GB of RAM set.
I have searched for the O0nBXjSB file to find out what needs to be expanded with no luck so I don't know what can be increased to achieve more space for the vm. I have created 1 failed vm via the command line and 3 failed vms via virt machine manager. I do not know where they are stored or how to remove them to free up the associated space. Virtual Machine Manager has a delete function but I don't know the scope of it. I used it try and remove a vm and found that the selections I made resulted in deleting the iso I used to install the associated vm (and other vms).
What do I need to do to provide sufficient space and how should I manage the space?
Here's:
@mymach:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/dm-0 8.2G 3.4G 4.3G 45% /
udev 10M 0 10M 0% /dev
tmpfs 956M 9.4M 947M 1% /run
tmpfs 2.4G 14M 2.4G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 2.4G 0 2.4G 0% /sys/fs/cgroup
/dev/sda1 236M 49M 176M 22% /boot
/dev/mapper/xenvg-xenlv 32G 48M 32G 1% /xenfs
/dev/mapper/mymach--vg-home 4.8G 1.9G 2.7G 41% /home
/dev/mapper/mymach--vg-tmp 360M 2.1M 335M 1% /tmp
/dev/mapper/mymach--vg-var 2.7G 1.6G 991M 62% /var
tmpfs 478M 4.0K 478M 1% /run/user/118
tmpfs 478M 20K 478M 1% /run/user/1003
@mymach:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 477G 0 disk
├─sda1 8:1 0 243M 0 part /boot
├─sda2 8:2 0 1K 0 part
├─sda5 8:5 0 57.9G 0 part
│ ├─mymach--vg-root 254:0 0 8.4G 0 lvm /
│ ├─mymach--vg-var 254:4 0 2.8G 0 lvm /var
│ ├─mymach--vg-swap_1 254:5 0 31.9G 0 lvlsm [SWAP]
│ ├─mymach--vg-tmp 254:6 0 380M 0 lvm /tmp
│ └─mymach--vg-home 254:7 0 5G 0 lvm /home
└─sda6 8:6 0 418.8G 0 part
├─xenvg-xenlv 254:1 0 32G 0 lvm /xenfs
├─xenvg-test01--pv--guest--swap 254:2 0 128M 0 lvm
└─xenvg-test01--pv--guest--disk 254:3 0 4G 0 lvm
How do I make space for the vms?
How might I better set-up/manage the disk space on this laptop?
Thanks in advance,
Ray
Reply to: