Ho do I extend the size of a virtual hard disk? - TechRepublic
Question
October 7, 2011 at 09:29 AM
trvlrs

Ho do I extend the size of a virtual hard disk?

by trvlrs . Updated 14 years, 8 months ago

I am running Fedora 15 in a VirtualBox VM. I increased the size of the hard disc in the VM but the fedora OS is not recognizing the added space. how do i get fedora to recognize it? This is what fedora sees currently.

[root@profiles1 techservices]# [root@profiles1 techservices]# df

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
10061944 9536968 5604 100% /
/dev/hda1 101086 19782 76085 21% /boot
-bash: [root@profiles1: command not found
tmpfs 513060 0 513060 0% /dev/shm
/dev/hdc 39800 39800 0 100% /media/VBOXADDITIONS_4.0.12_72916

[root@profiles1 techservices]# fdisk -l | grep Disk

Disk /dev/hda: 85.8 GB, 85899345920 bytes

[root@profiles1 techservices]# df -H

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
11G 9.8G 5.8M 100% /
/dev/hda1 104M 21M 78M 21% /boot
tmpfs 526M 0 526M 0% /dev/shm
/dev/hdc 41M 41M 0 100% /media/VBOXADDITIONS_4.0.12_72916

As you can see the “fdisk -l | grep Disk” command shows the 85.8 GB but the df command does not recognize the added space.

Anyone know how to get this to work?

Rick

This discussion is locked

All Comments