|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] LVM and resize2fs
2010/10/6 Jonathan Tripathy <jonnyt@xxxxxxxxxxx>:
> Hi Everyone,
>
> I have a 3GB Linux disk image. When creating a new VM, I create a new LVM LV
> of size 25GB, then I dd the 3GB image over to an LVM LV, then do "efsck -f
> /path/to/lv", then "resize2fs /path/to/lv 25G"
>
> Is this the correct and safe thing to do?
>
> Thanks
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>
That's correct. But only if you're using ext3. If you're using
reiserfs you must use resize_reiserfs /path/to/lv 25G.
Cheers.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|