Linux

RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

No space left on device while there is plenty of space available

👤 Login to reply

    #1  
Old 04-22-2017
umen umen is offline
Registered User
 
Join Date: Aug 2005
Last Activity: 8 August 2017, 2:58 AM EDT
Posts: 277
Thanks: 0
Thanked 2 Times in 2 Posts
No space left on device while there is plenty of space available

Hello all
posting here after scanning the net and tried most of the things offered
still no solution that worked
when I do :
Code:
[serverx foo]$ df -h
Filesystem      Size  Used Avail Use% Mounted on
footmpfs        7.9G   60K  7.9G   1% /dev
tmpfs           7.9G     0  7.9G   0% /dev/shm
/dev/da1       99G   38G   61G  39% /

I can see clearly that I have space left
but when I do :
Code:
df -i
Filesystem      Inodes   IUsed   IFree IUse% Mounted on
footmpfs       2051811     449 2051362    1% /dev
tmpfs          2054522       1 2054521    1% /dev/shm
/dev/da1       6553600 6553600       0  100% /

I can see the OS inode’s are at 100%

how can i analyze this problem deeper ?and to free the inodes ?
Thanks
Moderator's Comments:
No space left on device while there is plenty of space available Please use CODE tags (not ICODE tags) for full line and multi-line sample input, sample output, and code segments.

Last edited by Don Cragun; 04-22-2017 at 04:02 AM.. Reason: Change ICODE tags to CODE tags.
Sponsored Links
    #2  
Old 04-22-2017
Don Cragun's Unix or Linux Image
Don Cragun Don Cragun is online now Forum Staff  
Administrator
 
Join Date: Jul 2012
Last Activity: 21 July 2018, 8:52 PM EDT
Location: San Jose, CA, USA
Posts: 11,414
Thanks: 651
Thanked 3,971 Times in 3,394 Posts
There isn't much to analyze. Your root filesystem was configured to allow up to 6,553,600 file to be created on that filesystem and you have 6,553,600 on that filesystem.

You free an i-node by removing all of the hard links to a file.

You haven't told us what filesystem type you are using for your root filesystem. Some filesystem types automatically allocate i-nodes when needed; apparently the filesystem type you're using is not one of those filesystems.

You haven't told us which Linux distribution you're using. Some distributions have administrative utilities to reconfigure the number of i-nodes allocated in some filesystem types. If your distribution doesn't have a utility to do that for the filesystem type you're using and you can't delete a large number of files from your root filesystem; you'll need to make a backup copy of your root filesystem, boot from an alternative device, recreate your root filesystem with more i-nodes configured, restore the files from your backup, and reboot onto your new root filesystem.
Sponsored Links
    #3  
Old 04-22-2017
umen umen is offline
Registered User
 
Join Date: Aug 2005
Last Activity: 8 August 2017, 2:58 AM EDT
Posts: 277
Thanks: 0
Thanked 2 Times in 2 Posts
Thanks allot for the quick answer
I'm using standard amazon 64 bit Linux on ec2 m3 large vps if this help
    #4  
Old 04-23-2017
MadeInGermany MadeInGermany is offline Forum Staff  
Moderator
 
Join Date: May 2012
Last Activity: 21 July 2018, 8:10 PM EDT
Location: Simplicity
Posts: 4,156
Thanks: 365
Thanked 1,419 Times in 1,275 Posts
On this filesystem display the recent files:
Code:
find / -xdev -mtime -30

Then you'll get an idea where to clean up.

Last edited by MadeInGermany; 04-23-2017 at 05:58 AM.. Reason: all file types
Sponsored Links
👤 Login to reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
No space left on device but free space and inodes are available... beta17 Solaris 8 09-01-2011 04:03 AM
No space left on device mjdbouk UNIX for Dummies Questions & Answers 4 09-16-2009 05:35 AM
No space left on device atiato Solaris 3 08-06-2009 07:25 AM
No space left on device unclefab Solaris 4 09-10-2008 05:31 AM
no space left on device kristy UNIX for Dummies Questions & Answers 1 05-29-2001 10:02 AM



All times are GMT -4. The time now is 09:12 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?