Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

wrong volume size inside guest?

After creating a 1 gig volume, it shows up as much larger volume. is this expected?

on the guest (fdisk -l): Disk /dev/vdb: 21.5 GB, 21474836480 bytes

on the host (lvdisplay):

--- Logical volume --- LV Name /dev/nova-volumes/volume-00000003 VG Name nova-volumes LV UUID iedXcm-Qhpc-95hu-CLZE-kMg1-YvPV-OaQJu9 LV Write Access read/write LV Status available # open 1 LV Size 1.00 GiB Current LE 256 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 251:3

the iscsi volume looks fine: root@openstack2:/opt/nova# cat /proc/net/iet/volume tid:2 name:iqn.2010-10.org.openstack:volume-00000003 lun:0 state:0 iotype:fileio iomode:wt blocks:2097152 blocksize:512 path:/dev/nova-volumes/volume-00000003