> Subject: [Xen-users] PV Install Errors "No CDROM"
> Message-ID: <COL128-W93B872733A75B6FCA8DA8AA5F10@xxxxxxx>
>
> I would like to install a PV guest but get a failure about detecting a CDROM.
>
> The steps taken are:
> 1. Import existing disk image, xen (paravirt).
> 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. Memory 1 GB, CPUs "1".
> 4. Advanced options: "Virtual network (default), Fixed MAC address.
>
>
> Virtual Machine Manager (It does not report a version)
> During
> installation at "Detect and mount CD-ROM", it reports "No common CD-ROM
> drive was detected" and then asks about loading CD-ROM drivers from
> removable media. Both "Yes" and "No" fail as there is no CD-ROM drive
> on this laptop.
>
> release : 3.16.0-4-amd64
> version : #1 SMP Debian 3.16.7-ckt11-1+deb8u5 (2015-10-09)
> machine : x86_64
> xen_version : 4.4.1
> xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
>
> What might I do to resolve this?
>
> Thanks in advance,
> Ray
>
I found two problems with my process. To use the local copy from the above Debian site, the image type must be fullvirt and the source must be local and not CDROM.
But it failed at a different point this time. While it was loading additional software I received two error messages:
/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.
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 with no luck so I don't know what can be increased to achieve more space for the vms. I have created 1 failed vm via the command line and 3 failed vms via virt machine manager. I do not know where there 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 and found that the selections I made resulted in deleting the iso I used to install the associated vm (and other vms).
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