1

I have a linux server (SUSE Enterprise 11) installed in a virtual machine. Where preallocated disk space is given as 256 GB. But from the linux if I use df -h command it show this statistics:

Filesystem            Size  Used Avail Use% Mounted on
rootfs                 38G   33G  2.6G  93% /
udev                  3.9G  180K  3.9G   1% /dev
tmpfs                 3.9G     0  3.9G   0% /dev/shm
/dev/sda2              38G   33G  2.6G  93% /

From which it seem that the server has only about 40GB of disk space. I am wondering where the other 210GB went! Any idea?

Thanks in advance

  • 1
    Did you run that command from the live CD? Are you using LVM? – Simon Sheehan Mar 30 '12 at 4:41
  • Live virtual machine – sowrov Mar 30 '12 at 4:42
  • So you booted into the live CD and ran this command? – Simon Sheehan Mar 30 '12 at 4:42
  • No, the server is up and running (i.e I am not using any live CD). – sowrov Mar 30 '12 at 4:44
2

Basically my problem was, lack of understanding the fact that allocating disk-space from the VMware does not mean that the disk space will be automatically taken up by linux os. It is like you have 250GB HD and you allocate only 40GB for linux and rest of the disk-space remain unused.
I found all the invisible Preallocated spaces as unused using cfdisk /dev/sda command. Now all I had to resize my sda2 drive with those spaces.

0

You've probably allocated the disk-space in a dynamic size allocation method, rather than a fixed size.

With dynamic size allocation, the VM software will allocate more space to the VM as it starts running out of the initial allocation, up to a maximum of the set limit (256 GB in your case).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.