-   Linux - General (
-   -   "no space left on device" - But df shows free space! (

monita 03-25-2004 10:00 AM

"no space left on device" - But df shows free space!
On red hat 7.1, I have a second HD /dev/hdb1 mounted, working OK.
Suddenly, when df shows 6.1Gb free, I am not able to wirte to it, with a "No space left on device" message.

(after freeing some space, I don't have problems)

Any suggestions? thanks!

druuna 03-25-2004 10:21 AM

Which user cannot add to theis 'full' device?

Most distro's keep 5% of the total available space for root use, all other users cannot access this free space.

SoliTear 03-25-2004 10:32 AM

How do you have your partitions setup?

monita 03-25-2004 10:32 AM

I didn't try writing as root...
Would that be on any device, not only the primary?

monita 03-25-2004 10:35 AM

Sorry I'm newbie and english is my second languaje,
is this an answer?
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda2 6071936 2794544 2968944 49% /
/dev/hda4 21189048 18657960 1454736 93% /home
/dev/hda1 2044240 1277464 766776 63% /mnt/win
/dev/hdb1 38464340 22026384 14484052 61% /otherdisk

druuna 03-25-2004 10:35 AM

On all partitions 5% wiil be reserved for root.

So, if your home (/dev/hda4) partition is filled for another 2% (totals 95%), you won't be able to write to it (non root user).

monita 03-25-2004 10:41 AM

Thanks druuna, I didn't know that!

monita 03-30-2004 02:14 PM

Ok, so the problem was that I had too many files on the same directory - over 1000.

Apparently, that's the limit...

All times are GMT -5. The time now is 08:47 PM.