[Pkg-xen-devel] Bug#687319: #687319 also fixes local-SR mounting of ISOs, not just from NFS
Per Andre Wilhelmsen
per.wilhelmsen at vcon.no
Wed Nov 7 23:17:19 UTC 2012
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
More information about the Pkg-xen-devel
mailing list