Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I get the following error trying to install Oracle XE on a CentOS 5 virtual machine:

You have insufficient diskspace in the destination directory (/usr/lib/oracle) 
to install Oracle Database 10g Express Edition.  The installation requires at 
least 1.5 GB free on this disk.
error: %pre(oracle-xe- scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping oracle-xe-

This struck me as strange, considering that the VM is a brand new installation, using 3 GB of disk space out of 20. When I run free on the same box I get:

             total       used       free     shared    buffers     cached
Mem:       1035108     867780     167328          0      43408     604396
-/+ buffers/cache:     219976     815132
Swap:      2096472        120    2096352

Any ideas what could be wrong here?

share|improve this question
Just a note: the "free" command you used will give you your system's memory use, and not disk space. For disk space use the "df" command, preferably "df -h" for human readable output – katriel Mar 27 '11 at 21:26
up vote 3 down vote accepted

Turns out that the Easy Install feature of VMWare Fusion with CentOS is not so easy. By default, the installer creates two logical volumes: one under / and one under /home. It then allocates almost all disk space to the /home logical volume. In my case, I had 3.8 GB allocated under / and 13 GB allocated under /home.

This becomes a problem with large rpms that expect to be installed under / such as oracle's. By creating a new VM without the Easy Install checkbox, I was able to correct the problem. I didn't even need to change any defaults!

share|improve this answer

Your Answer


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.