Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question
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
add comment

2 Answers 2

up vote 1 down vote accepted

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.

share|improve this answer
add comment

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).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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