WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Resize Disk

On Tue, May 02, 2006 at 12:36:58AM +0530, Sadique wrote:
>  Yes, you can
> 
> Shutdown the Dom-U
> TO resize it to 20GB
> 
> dd if=/dev/zero of=<image name> bs=1MB count=0 seek=20480
> e2fsck -f -y <imagename>
> resize2fs -p <image name>

I would recommend first running fcsk and then resizing the image
file/device with dd. Otherwise fsck might complain as the device size
does not match what it gets from the filesystem.

Matus

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>