|
|
|
|
|
|
|
|
|
|
xen-users
This could be considered OT however i can't seem to find an answer to this one. I will appreciate if someone can help me out.
I created a new logical volume of 3G, then issued cat of a flat file of centos to it. The flat file is of 1GB.
cat /home/anand/images/centos.img > /dev/vgxen/test7
lvscan shows 3GB allocated [root@xen tmp]# lvs LV VG Attr LSize Origin Snap% Move Log Copy% test7 vgxen -wi-a- 3.00G
test7-swap vgxen -wi-a- 256.00M
after mounting it shows a size of 1GB approx. i.e. the same size as the flat file. df -h /dev/mapper/vgxen-test7 986M 475M 462M 51% /tmp/xen-server-tools.Cl7947
After this when i mount the volume it shows up as 1gb in size and vgs shows 3gb allocated to it. While using flat files i remember i could use resize to get the new flat file size back. However in case of volumes how do i do so ?
P.S. Can anyone recommend a better way to create file systems inside volumes than the above method ?
--
regards,
Anand
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|