KVM guest fails to read the physical DVD-ROM media in the host
Issue
-
When a KVM guest tries to read the physical DVD-ROM media in the host, the following error may occur and the
guest cannot read the host's DVD-ROM.attempt to access beyond end of device sr0: rw=0 want=3904520, limit=2097148 Buffer I/O error on device sr0, logical block 976129
When this issue occurs, the df command shows the correct size in /dev/sr0, but the lsblk command does not.
# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sr0 3762278 3762278 0 100% /mnt # lsblk sr0 11:0 1 1024M 0 rom /mnt
Environment
- Red Hat Enterprise Linux 6
- qemu-kvm
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.