2017-08-25, inodes

less than 1 minute read

filespace and inodes

Reminder - you can run out of inodes on a system and still have plenty of space on it. We were seeing this error with jenkins Aug 25, 2017 3:14:33 PM net.bull.javamelody.JavaLogger warn WARNING: exception while collecting data: java.io.FileNotFoundException: /apps/jenkins/monitoring/xxx/http66ee24a2ec3f919f7da7c6a424e9dba4d059e1de.rrd (No space left on device) java.io.FileNotFoundException: /apps/jenkins/monitoring/xxx/http66ee24a2ec3f919f7da7c6a424e9dba4d059e1de.rrd (No space left on device)

when I ran a df -h i saw $ df -h Filesystem Size Used Avail Use% Mounted on … /dev/mapper/jenkinsvg-jenkinslv 20G 6.5G 13G 35% /apps/jenkins ….

Google search found this error hudson-fails-with-error-no-space-left-on-device-though-there-is-enough-space-o

but it turns out you can use df for inodes as well
$ df -i Filesystem Inodes IUsed IFree IUse% Mounted on … /dev/mapper/jenkinsvg-jenkinslv 1310720 1310720 0 100% /apps/jenkins …

Updated: