Page 1 of 1

Nagios - Inodes & XIDPE

Posted: Fri Jul 22, 2016 3:33 am
by peterepka
Hi

I have a couple of problems.

1) my indoes is in use at 100%. when i run df -ih, i see
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/VolGroup-lv_root
1.1M 1.1M 1.3K 100% /


How can I empty out/remove the inodes.

2) I have nearly 5GB of data in XIDPE
How can i remove all contents of this folder.

I've tried "rm -rf *" however it errors out saying
-bash: /bin/rm: Argument list too long

Thanks in advance

Re: Nagios - Inodes & XIDPE

Posted: Fri Jul 22, 2016 7:29 am
by peterepka
Hi

I've found a solution and run
"find . -type f -delete"
within /usr/local/nagios/var/spool/xidpe

This has deleted all contents of that directory.

Has also freed up inode space as well.

Re: Nagios - Inodes & XIDPE

Posted: Fri Jul 22, 2016 11:42 am
by tgriep
Thanks for posting back here. Shall we mark this post as solved and lock it up?