Unix/Linux Go Back    


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

Linux


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 04-22-2017   -   Original Discussion by umen
umen's Unix or Linux Image
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 05:02 AM.. Reason: Change ICODE tags to CODE tags.
Sponsored Links
    #2  
Old Unix and Linux 04-22-2017   -   Original Discussion by umen
Don Cragun's Unix or Linux Image
Don Cragun Don Cragun is offline Forum Staff  
Administrator
 
Join Date: Jul 2012
Last Activity: 23 January 2018, 4:22 PM EST
Location: San Jose, CA, USA
Posts: 10,947
Thanks: 611
Thanked 3,824 Times in 3,268 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 Unix and Linux 04-22-2017   -   Original Discussion by umen
umen's Unix or Linux Image
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 Unix and Linux 04-23-2017   -   Original Discussion by umen
MadeInGermany's Unix or Linux Image
MadeInGermany MadeInGermany is online now Forum Staff  
Moderator
 
Join Date: May 2012
Last Activity: 23 January 2018, 4:46 PM EST
Location: Simplicity
Posts: 3,953
Thanks: 335
Thanked 1,325 Times in 1,195 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 06:58 AM.. Reason: all file types
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 05:03 AM
No space left on device mjdbouk UNIX for Dummies Questions & Answers 4 09-16-2009 06:35 AM
No space left on device atiato Solaris 3 08-06-2009 08:25 AM
No space left on device unclefab Solaris 4 09-10-2008 06:31 AM
no space left on device kristy UNIX for Dummies Questions & Answers 1 05-29-2001 11:02 AM



All times are GMT -4. The time now is 05:54 PM.