Re: [libvirt-users] pool assumed to have 512B sector

2011-08-23 Thread Daniel P. Berrange
On Tue, Aug 23, 2011 at 12:49:41PM +0300, David Cohen wrote: > Hi, > > > The xml file used to create the pool : > > > guest_images_disk > > > > > > /dev > > Ok, it is a disk partition based pool. It appears that our parted code is assuming 512 byte sectors as you thought. I reckon that

Re: [libvirt-users] pool assumed to have 512B sector

2011-08-23 Thread David Cohen
Hi, The xml file used to create the pool : guest_images_disk /dev virsh pool-dumpxml guest_images_disk guest_images_disk 30247222-c1fb-8749-b833-a73782198d26 274877904384 127997440 274749903872 /dev 0700 -1 -1

Re: [libvirt-users] pool assumed to have 512B sector

2011-08-23 Thread Daniel P. Berrange
On Tue, Aug 23, 2011 at 08:52:56AM +0300, David Cohen wrote: > Hi, > When creating a dedicated storage pool on a FC attached storage with sector > size of 4096B and size of 2TB, the storage pool is created but reported as > 1/8 > of it's size, the same follows for any volume created in the same

[libvirt-users] pool assumed to have 512B sector

2011-08-22 Thread David Cohen
Hi, When creating a dedicated storage pool on a FC attached storage with sector size of 4096B and size of 2TB, the storage pool is created but reported as 1/8 of it's size, the same follows for any volume created in the same storage pool: # virsh pool-info guest_images_disk Name: