Mounting ISOs now works as designed when using "local SR"-storage of ISO's too.
Example local SR created (from cli) :
xe sr-create name-label=isostorage type=iso device-config:location=/home/isostorage device-config:legacy_mode=true content-type=iso shared=true
  xe sr-scan UUID=<UUID given from the above>

ISO-files are now available and listed properly in xencenter and from cli, and devices are handled appropriately in the VM as it should:

  lrwxrwxrwx 1 root root 4 Nov  7 23:39 /dev/cdrom -> xvdd
  brw-rw---- 1 root cdrom 202, 48 Nov  7 23:39 /dev/xvdd

Mounting local SR image shows that it is read correctly:

  mount: block device /dev/xvdd is write-protected, mounting read-only
  ISO 9660 Extensions: Microsoft Joliet Level 3
  ISO 9660 Extensions: RRIP_1991A

Unmounting unit also works as designed, with udev cleaning up /dev/cdrom and /dev/xvdd as it should.
--
Per Andre Wilhelmsen


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to