Guest output: -------------------
[root@redhat ~]# ls -lrt /dev/sd sda sda1 sda2 sdb [root@redhat ~]# ls -lrt /dev/sd sda sda1 sda2 sdb [root@redhat ~]# ls -lrt /dev/sdb brw-rw----. 1 root disk 8, 16 Jul 4 21:58 /dev/sdb [root@redhat ~]# blockdev --getsize64 /dev/sdb 197120 [root@redhat ~]# fdisk -l /dev/sdb
Disk /dev/sdb: 0 MB, 197120 bytes 1 heads, 1 sectors/track, 385 cylinders, total 385 sectors Units = cylinders of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
[root@redhat ~]#
Host Output: ------------------ qemu-img info virtio-scsi23.img image: virtio-scsi23.img file format: qcow2 virtual size: 15G (16106127360 bytes) disk size: 196K cluster_size: 65536
XML Output: -----------------
<disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writethrough'/> <source file='/home/images/virtio-scsi23.img'/> <target dev='sdz' bus='scsi'/> <address type='drive' controller='3' bus='0' target='0' unit='4'/> </disk>
Guest output:
-------------------
[root@redhat ~]# ls -lrt /dev/sd
sda sda1 sda2 sdb
[root@redhat ~]# ls -lrt /dev/sd
sda sda1 sda2 sdb
[root@redhat ~]# ls -lrt /dev/sdb
brw-rw----. 1 root disk 8, 16 Jul 4 21:58 /dev/sdb
[root@redhat ~]# blockdev --getsize64 /dev/sdb
197120
[root@redhat ~]# fdisk -l /dev/sdb
Disk /dev/sdb: 0 MB, 197120 bytes
1 heads, 1 sectors/track, 385 cylinders, total 385 sectors
Units = cylinders of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
[root@redhat ~]#
Host Output:
------------------
qemu-img info virtio-scsi23.img
image: virtio-scsi23.img
file format: qcow2
virtual size: 15G (16106127360 bytes)
disk size: 196K
cluster_size: 65536
XML Output:
-----------------
<disk type='file' device='disk'> writethrough' /> home/images/ virtio- scsi23. img'/>
<driver name='qemu' type='raw' cache='
<source file='/
<target dev='sdz' bus='scsi'/>
<address type='drive' controller='3' bus='0' target='0' unit='4'/>
</disk>