|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] resize xen disk file
Anyone know about this error? Thanks
On Thu, Mar 6, 2008 at 5:29 PM, Martin Fernandez < martingfernandez@xxxxxxxxx> wrote:
Now I can see the free space, but I cant extend the LV
[root@boldtsamqa ~]# pvresize --setphysicalvolumesize 8GB /dev/xvda2 WARNING: /dev/xvda2: Overriding real size. You could lose data. Physical volume "/dev/xvda2" changed
1 physical volume(s) resized / 0 physical volume(s) not resized
[root@boldtsamqa ~]# lvextend -L+3G /dev/VolGroup00/LogVol00 Extending logical volume LogVol00 to 6.84 GB device-mapper: table: device 202:2 too small for target
device-mapper: table: 253:0: linear: dm-linear: Device lookup failed device-mapper: ioctl: error adding target to table device-mapper: reload ioctl failed: Invalid argument Failed to suspend LogVol00
Any ideas?
Thanks all for your helpOn Thu, Mar 6, 2008 at 4:28 PM, Javier Guerra < javier@xxxxxxxxxxx> wrote:
On Thu, Mar 6, 2008 at 1:18 PM, Martin Fernandez
< martingfernandez@xxxxxxxxx> wrote:
> 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
what does /proc/partitions say? the old size?
if it's the new size, then you need to do a pvresize so that the LVM
system gets it.
if it's the old size, something's fishy...
--
Javier
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|