[plug] Disk resize question

Ian Kent raven at themaw.net
Thu Mar 6 13:28:30 WST 2008


On Thu, 2008-03-06 at 12:16 +0900, Chris Griffin wrote:
> Greetings once again,
> 
> I am using Fedora 8 and VirtualBox. I had a 6GB disk defined and got
> to the point of having only about 107MB of space left. I have defined
> a second disk of 7GB and done all the necessary to duplicate the
> partition definitions and copied the contents of the partitions across
> (it had default partitioning from install time). I can now boot the
> new disk but it still does not show the extra space.
> 
> [root at localhost ~]# df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/mapper/VolGroup00-LogVol00
>                            4.7G  4.3G  107M  98% /
> /dev/sda1             190M   19M  162M  11% /boot
> tmpfs                   252M     0  252M   0% /dev/shm
> [root at localhost ~]# 
> 
> 
> I used dd to copy partitions (eg.     dd if=/dev/sda2
> of=/dev/sdb2    )
> Did I miss something?

I'm not familiar with VirtualBox but why are you trying to replace the
disk? Why not just add it to the volume group and expand the logical
volume?

Ian





More information about the plug mailing list