I want to install a program but it says that there is not enough free disk space more than 11 GB although there is.

df -h shows:

Filesystem            Size  Used Avail Use% Mounted on
                       50G   39G   11G  79% /
tmpfs                 942M  540K  942M   1% /dev/shm
/dev/sda1             485M   55M  406M  12% /boot
                      176G   27G  141G  17% /home

df -i shows:

Filesystem             Inodes  IUsed    IFree IUse% Mounted on
                      3264000 583552  2680448   18% /
tmpfs                  220064     16   220048    1% /dev/shm
/dev/sda1              128016     46   127970    1% /boot
                     11714560  12254 11702306    1% /home

Also the system monitor shows: enter image description here

Command & Program output:

enter image description here

enter image description here

enter image description here

  • Add a screen from your command and program output to your post for more help. Oct 10 '14 at 8:14
  • Try df -i to show inode usage.
    – wurtel
    Oct 10 '14 at 8:31
  • I've added what you want. Oct 10 '14 at 11:34
  • 1
    You are trying to install in /opt/Xlinks, which has 11GB free( /opt belong to / filessytem) try to install under /home/XLinks which has 141 Gb free.
    – Archemar
    Oct 10 '14 at 11:38

The information reported by your various tools are consistent. There is approximately 151Gb free on your disks, among which 141Gb for the /home directory and 11Gb for the rest of the system. What happens is that you program must install somewhere in /opt which is not under the same logical partition as /home where there is room but under the root partition when there is only 11Gb left.

  • I don't know how it happened or why CentOS set the directories in this way. Can I resize the amount of disk space assigned to directories? Oct 10 '14 at 12:06
  • I will try to use system-config-lvm to resize the logical volumes. Oct 10 '14 at 12:38
  • This is one of the reasons LVM is great, the risk of breaking things when resizing is reduced. Still, be careful and back things up before...
    – lgeorget
    Oct 10 '14 at 15:46

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.