Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-28-2002, 09:47 AM   #1
LQ Newbie
Registered: May 2002
Location: London
Distribution: Mandrake 9
Posts: 7

Rep: Reputation: 0
Angry cp: No space left on device, but df does not agree!

Thought I was past the stage of posting such basic questions but obviously I am not...

I have started to get "No space left on device" errors when writing to files in /home (/dev/hda9 on my box). But df says there is plenty of space and lots of free i-nodes:

$ cp yyy zzz
cp: writing `zzz': No space left on device
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda7 4.9G 1.9G 2.8G 40% /
none 125M 0 124M 0% /dev/shm
/dev/hda9 21G 3.2G 16G 17% /home
/dev/hda1 5.9G 4.6G 1.3G 78% /mnt/windows/system
/dev/hda5 2.9G 2.2G 830M 73% /mnt/windows/d
/dev/hda6 1.2G 874M 348M 72% /mnt/windows/e
$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/hda7 656000 147226 508774 23% /
none 31940 1 31939 1% /dev/shm
/dev/hda9 5672960 18813 5654147 1% /home
/dev/hda1 0 0 0 - /mnt/windows/system
/dev/hda5 0 0 0 - /mnt/windows/d
/dev/hda6 0 0 0 - /mnt/windows/e

What might be going on here?
Old 05-28-2002, 11:27 PM   #2
Registered: Dec 2001
Location: New Zealand,Auckland
Distribution: debian
Posts: 86

Rep: Reputation: 15
may you've limited the free space size for the regular users via quota,can you copy to that partition as a root or not?
Old 05-29-2002, 08:29 AM   #3
LQ Newbie
Registered: Apr 2002
Distribution: RH X
Posts: 21

Rep: Reputation: 15
Try df -i
perhaps you're out of inodes.
(as I recall it will report as "No space left on device")
Old 05-29-2002, 10:27 AM   #4
LQ Newbie
Registered: May 2002
Location: London
Distribution: Mandrake 9
Posts: 7

Original Poster
Rep: Reputation: 0
I did think it might be quotas but the quota command reports "none" for all users (both -u and -g so it's not group quotas either).

I-nodes are not the problem.
Any other ideas?
Old 06-01-2002, 02:12 PM   #5
LQ Newbie
Registered: May 2002
Location: London
Distribution: Mandrake 9
Posts: 7

Original Poster
Rep: Reputation: 0
Thought I'd post the resolution...

It turned out to be a corrupted file system. Calling e2fsck from single used mode fixed it. I spotted that when the system seemed out of space, a kernel error messge from the file system module reported that there was an ambiguity in something called a block group.
I didn't think of running e2fsck because it was run when the machine rebotted. Obviously it get run in such a way that not all errors get fixed.
Old 04-18-2011, 08:26 AM   #6
LQ Newbie
Registered: May 2010
Posts: 1

Rep: Reputation: 0
I have same kind of issue,

I have ran e2fsck -fyc <device> (/dev/emcpowera1)

than mount the partition, and do #cd lost+found, there u will find some recovered data.

i my case these data was not required thus we have remove the data and recover the space.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
No space left on device - even after rm large fiiles. LancerNZ Linux - General 9 05-09-2006 04:55 AM
no space left on device, but it has enough!!! help!!! sarah21 Red Hat 3 02-03-2005 08:37 PM
No space left on device xfgao Red Hat 27 01-13-2005 04:06 PM
No space left on the device ashwinipahuja Programming 1 06-24-2004 12:05 AM
Apache not starting - No space left on device alexisb Red Hat 1 01-14-2004 10:10 AM

All times are GMT -5. The time now is 12:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration