Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a quick question. I have a 64bit Ubuntu 10.04 server with 24GB of RAM and is used as a VMWare Workstation 7.1 host. I would like to use an in-memory drive for the VM Memory location, which I setup as the following:

tmpfs /mnt/vmware tmpfs defaults,size=100% 0 0

That all works. Next I want to allocate 16GB of RAM to the VM, I know its a lot but we do a lot of processing that needs a lot of RAM.

After the VM is started and I run df -h, I get the following for that drive:

Filesystem Size Used Avail Use% Mounted On

tmpfs 24G 11G 14G 44% /mnt/vmware

Why is it that the Available (14GB) size does not equal the Size (24GB) of the drive? And why wouldn't the whole 16GB get allocated to the memory space, which is what i set in the vmware guest .vmx file? Is there a limit to the space that can be allocated to a tmpfs file system? I think this is causing performance problems on the guest.

Thanks for your time.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Ok, so I was looking at the output wrong, go figure :)

24 GB was getting allocated, only 11GB was being used and 14GB is still available.

share|improve this answer

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.