Re: 'out of space' vs 'out of inodes'?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 07/20/07 23:17, Kevin Mark wrote:
> On Fri, Jul 20, 2007 at 06:53:20PM -0500, Ron Johnson wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 07/20/07 18:13, Kevin Mark wrote:
>>> A general Linux question: why does Linux report 'out of space' error
>>> when it runs out of inodes? Can't it distinguish between the 2
>>> conditions to give the correct message or is there some other issue?
>>> Just curious as I just go this after making 1,000,000 small test files
>>> and got this (du -m -i).
>> Out of inode space in the "control blocks"?
>>
>> What filesystem are you using? How big is the partition? At what
>> number does it fail?
>>
> output of 'df -i -m':
> Filesystem Inodes IUsed IFree IUse% Mounted on
> /dev/hdb1 1032192 640567 391625 63% /home
> I just deleted most of the files but before I was using 100% of the
> inodes of the ext2 partition.
$ df -i -m /dev/hda4
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/hda4 25640960 1163443 24477517 5% /data/01
The # of inodes also is a function of how big the disk is. On my
200GB ext3 partition /dev/hda4, 1+ million files only uses 5% of the
nodes.
- --
Ron Johnson, Jr.
Jefferson LA USA
Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGoY/zS9HxQb37XmcRAv1BAKDkZNNf75OjwZ/I6vR2wQQx61G7oQCgrIE1
gtexoNlY/BuMtaAXjzPmJWY=
=Fy3J
-----END PGP SIGNATURE-----
Reply to: