[libvirt-users] RHEL 7.x Guests Unable to Detect Any Storage Disks

James Stanley jstanley at sgi.com
Mon Jun 13 20:24:09 UTC 2016


Greetings,

I have been troubleshooting an issue in my RHEL 7.x guests the last few 
days where I am unable to get any attached storage volumes detected. 
I've tried various formats (raw, qed, qcow2) as well as some different 
cache settings but I've not had any luck getting the guests to see the 
disks.

Are you aware of any bugs around this? We've had problems with RHEL 7.x 
in other virtualization environments mostly due to networking problems, 
but I've never encountered a situation where storage doesn't show up 
under /dev or /dev/disk/by-*.

For reference, here's an example volume entry in the domain's xml:

        <disk type='file' device='disk'>
               <driver name='qemu' type='raw'/>
               <source file='/image-mnt/storage/vol0'/>
               <target dev='sda' bus='scsi'/>
               <shareable/>
               <serial>12536725</serial>
               <address type='drive' controller='0' bus='0' target='0'
        unit='0'/>
        </disk>


And here's how the volume is defined:

        <volume type='file'>
           <name>vol0</name>
           <key>/image-mnt/storage/vol0</key>
           <source>
           </source>
           <capacity unit='bytes'>24696061952</capacity>
           <allocation unit='bytes'>24696066048</allocation>
           <target>
             <path>/image-mnt/storage/vol0</path>
             <format type='raw'/>
             <permissions>
               <mode>0600</mode>
               <owner>187</owner>
               <group>474</group>
             </permissions>
             <timestamps>
               <atime>1465847232.644199995</atime>
               <mtime>1465846963.996202455</mtime>
               <ctime>1465846963.996202455</ctime>
             </timestamps>
           </target>
        </volume>


Thanks for your help.

Regards,
James Stanley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20160613/9b941ea2/attachment.htm>


More information about the libvirt-users mailing list