Hello

I'm trying to pass a fibre channel virtual disk to a KVM host via libvirt.

On the host, disk is:

Disk /dev/sdb: 53.6 GB, 53631516672 bytes
64 heads, 32 sectors/track, 6393 cylinders
Units = cylinders of 2048 * 4096 = 8388608 bytes
Disk identifier: 0x5e9ca6c0

As you can see, the sector size is 4096 and not the usual 512 bytes.

If I pass this to a KVM guest, I get this in the guest:

Disk /dev/vdc: 53.6 GB, 53631516672 bytes
64 heads, 32 sectors/track, 51147 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk identifier: 0x5e9ca6c0

As you can see, it's sector size has not been recognised correctly.
It's recognised as 512 bytes. Because of this, the disk cannot be
used.

Is there any way to pass the sector size to the guest?

Thanks
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to