|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] resize xen disk file
I resized the file disk using:
dd if=/dev/zero of=image bs=1M conv=notrunc count=1 seek=10240 But when I boot up my VM I can't see the new space
[root@boldtsamqa ~]# vgdisplay
--- Volume group --- VG Name VolGroup00 System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 3 VG Access read/write VG Status resizable
MAX LV 0 Cur LV 2 Open LV 2 Max PV 0 Cur PV 1 Act PV 1 VG Size 4.88 GB PE Size 32.00 MB
Total PE 156 Alloc PE / Size 156 / 4.88 GB Free PE / Size 0 / 0 VG UUID cMZekR-zsPG-lZGc-dO2J-aZdh-RO7d-8WdZUi
On Thu, Mar 6, 2008 at 4:11 PM, Brian Stempin < brian.stempin@xxxxxxxxx> wrote:
I don't know the syntax off of the top of my head, but I'd imagine that you could use the dd command to tack on empty space to the end of your file. Once that's done, you can boot up the domU and expand your LVM partition.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|