[Bug 801098] [NEW] Unable to create VM when .iso file is stored on external USB drive

Louis Bouchard louis.bouchard at canonical.com
Thu Jun 23 10:38:13 UTC 2011


Public bug reported:

When using the following virt-install command, the installation fails
with a "Permission denied" trying to access the ubuntu-10.10-server-
amd64.iso file stored on an external USB drive :

/usr/bin/virt-install   --connect qemu:///system        \
                        --name MaverickS                \
                        --ram 1024              \
                        --disk path=/var/lib/libvirt/images/MaverickS.img,size=8        \
                        --disk path=/media/Maxtor/ISO/ubuntu-10.10-server-amd64.iso,device=cdrom \
                        --os-type linux         \
                        --os-variant ubuntumaverick     \
                        --accelerate            \
                        --network network=default       \
                        --arch x86_64   \
                        --vcpus 2               \
                        --vnc                   \
                        --debug

The mountpoint /media/Maxtor is a USB drive which is mounted
automatically when powered on.

When mounting the drive manually, the creation of the VM succeeds :

$ mount | grep Maxtor
/dev/sdb1 on /media/Maxtor type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
$ sudo umount /media/Maxtor
$ sudo mount /dev/sdb1 /mnt
$ mount | grep sdb
/dev/sdb1 on /mnt type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)

The virt-install has been run both time in debug mode and log files are
attached for both sessions.

** Affects: kvm (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to kvm in Ubuntu.
https://bugs.launchpad.net/bugs/801098

Title:
  Unable to create VM when .iso file is stored on external USB drive

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kvm/+bug/801098/+subscriptions



More information about the Ubuntu-server-bugs mailing list