Hello,
I have an f18 AIO setup where the server is a guest inside updated f17 host.
The guest has a scsi disk configured this way
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/var/lib/libvirt/images/f18e.img'/>
      <target dev='sda' bus='scsi'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>

>From virt-manager of host I add a second scsi disk.
In guest I run

echo "- - -" > /sys/class/scsi_host/host2/scan

and I get inside it

# dmesg| tail
[  531.004145] ata2.00: configured for MWDMA2
[  531.004638] ata2: EH complete
[ 8133.578309] scsi 2:0:0:1: Direct-Access     QEMU     QEMU HARDDISK
 1.0. PQ: 0 ANSI: 5
[ 8133.579128] sd 2:0:0:1: [sdb] 20971520 512-byte logical blocks: (10.7
GB/10.0 GiB)
[ 8133.579213] sd 2:0:0:1: [sdb] Write Protect is off
[ 8133.579216] sd 2:0:0:1: [sdb] Mode Sense: 63 00 00 08
[ 8133.579255] sd 2:0:0:1: [sdb] Write cache: disabled, read cache:
enabled, doesn't support DPO or FUA
[ 8133.579760] sd 2:0:0:1: Attached scsi generic sg2 type 0
[ 8133.580220]  sdb: unknown partition table
[ 8133.580403] sd 2:0:0:1: [sdb] Attached SCSI disk

So that
# fdisk -l /dev/sdb

Disk /dev/sdb: 10.7 GB, 10737418240 bytes, 20971520 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

But :

# pvcreate /dev/sdb
  Device /dev/sdb not found (or ignored by filtering).

Could it be oVirt preventing this or should I post against F18 and/or
libvirt ?

BTW: packages are from nightly as for
ovirt-engine-3.2.0-1.20130101.git9486bfd.fc18.noarch

Thanks,
Gianluca
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to