Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


How can i increase the Inodes limit in centos
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

How can i increase the Inodes limit in centos

Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/vda1 2621440 2585739 35701 99% /
tmpfs 978723 1 978722 1% /dev/shm
/dev/vdb 3276800 504232 2772568 16% /home2
/usr/tmpDSK 105664 1926 103738 2% /tmp

I need to increase vda1 inodes limit how can i do without format my hdd.

Comments

  • Reformatted.

    > @csofts said:
    > Filesystem      Inodes   IUsed   IFree IUse% Mounted on
    > /dev/vda1      2621440 2585739   35701   99% /
    > tmpfs           978723       1  978722    1% /dev/shm
    > /dev/vdb       3276800  504232 2772568   16% /home2
    > /usr/tmpDSK     105664    1926  103738    2% /tmp
    > 
    > 
    > 
    > I need to increase vda1  inodes limit how can i do without format my hdd.
    

    Every entry uses an inode. Are you out of filehandles, or did you run out of space?

  • csoftscsofts Member
    edited November 2017

    @WSS said:
    Reformatted.

    > @csofts said:
    > Filesystem      Inodes   IUsed   IFree IUse% Mounted on
    > /dev/vda1      2621440 2585739   35701   99% /
    > tmpfs           978723       1  978722    1% /dev/shm
    > /dev/vdb       3276800  504232 2772568   16% /home2
    > /usr/tmpDSK     105664    1926  103738    2% /tmp
    > 
    > 
    > 
    > I need to increase vda1  inodes limit how can i do without format my hdd.
    

    Every entry uses an inode. Are you out of filehandles, or did you run out of space?

    I'm out of filehandles not space.

  • df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/vda1 40G 26G 13G 68% /
    tmpfs 3.8G 0 3.8G 0% /dev/shm
    /dev/vdb 50G 22G 28G 45% /home2
    /usr/tmpDSK 1.6G 50M 1.5G 4% /tmp

  • Since you haven't said what your filesystem is, I'll just assume it's ext4.

    Archive elsewhere and reformat.

  • csoftscsofts Member
    edited November 2017

    @WSS said:
    Since you haven't said what your filesystem is, I'll just assume it's ext4.

    Archive elsewhere and reformat.

     df -T
    Filesystem     Type  1K-blocks     Used Available Use% Mounted on
    /dev/vda1      ext4   41152832 26377536  12678660  68% /
    tmpfs          tmpfs   3914892        0   3914892   0% /dev/shm
    /dev/vdb       ext4   51606140 22838920  28757220  45% /home2
    /usr/tmpDSK    ext3    1660984    50668   1525940   4% /tmp> 
    
  • Advice is still the same. You can't magically change inode block size from the command line.

    You can use tune2fs on it to see what it currently is, but you cannot change it.

Sign In or Register to comment.