<br><br><div class="gmail_quote">On Mon, Jan 31, 2011 at 5:38 PM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com">rjones@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Mon, Jan 31, 2011 at 05:30:07PM +0530, vipul borikar wrote:<br>
> fdisk -l gives like this<br>
><br>
> [root@localhost ~]# fdisk -l<br>
><br>
> Disk /dev/xvda: 2097 MB, 2097152000 bytes<br>
> 255 heads, 63 sectors/track, 254 cylinders<br>
> Units = cylinders of 16065 * 512 = 8225280 bytes<br>
> Disk identifier: 0x000dada5<br>
><br>
>     Device Boot      Start         End      Blocks   Id  System<br>
> /dev/xvda1   *           1         249     1994624   83  Linux<br>
> Partition 1 does not end on cylinder boundary.<br>
> /dev/xvda2             249         255       51200   82  Linux swap /<br>
> Solaris<br>
> Partition 2 does not end on cylinder boundary.<br>
> [root@localhost ~]# df -h<br>
> Filesystem            Size  Used Avail Use% Mounted on<br>
> /dev/xvda1            886M  684M  158M  82% /<br>
> tmpfs                 263M     0  263M   0% /dev/shm<br>
><br>
><br>
> It looks like it has increased the disk size.<br>
><br>
> but df shows old size<br>
><br>
> [root@localhost ~]# df -h<br>
> Filesystem            Size  Used Avail Use% Mounted on<br>
> /dev/xvda1          886M  684M  158M  82% /<br>
> tmpfs                 263M     0  263M   0% /dev/shm<br>
><br>
><br>
> Do we have to manually do something inside the VM .<br>
<br>
</div>Oh right, I see.  Are you using an ancient version of virt-resize<br>
(ie. 1.2.<something>)?<br></blockquote><div><br>I am using 1.2.14 version CentOS rpms  . <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
For these very old versions of virt-resize you do need to manually<br>
expand the filesystem inside the VM.  Just do:<br>
<br>
  resize2fs /dev/xvda1<br></blockquote><div><br>Done . It worked.  <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
In more recent versions of virt-resize, virt-resize itself does this<br>
automatically.<br>
<div class="im"><br>
> Grub is having no problem at all it works fine only that i am not able to<br>
> mount it:<br>
><br>
> mount -o loop,offset=32256 Fedora12-1 /mnt/disk1/<br>
><br>
>     mount: you must specify the filesystem type<br>
<br>
</div>Not sure what you're trying to do, but try using guestfish:<br>
<br>
  guestfish --ro -i Fedora12-1<br>
<div><div></div><div class="h5"><br>
Rich.<br>
<br></div></div></blockquote><div><br>Thank u very much for the response. <br><br>I will try with never versions also. <br><br>Thanks<br>Vipul <br></div></div><br>