lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 13 Apr 2010 01:57:54 +0400
From:	cy6erGn0m <cy6ergn0m@...il.com>
To:	Eric Sandeen <sandeen@...hat.com>
CC:	linux-ext4@...r.kernel.org
Subject: Re: No space left on device after many files creation

In the past I have done the same test for ext3 and it was created ~10M
files in one firectory at working filesystem (/home) and it was no
issues reached.

On ext4 i found inodes max size is limited as you wrote:
[root@...achine sandbox]# df -i /e4
Файловая система      Инодов   Испол   Своб  Исп % смонтирована на
(file system/inodes/used/free/used%/mounted on)
/dev/sda4               1,8M    1,8M       0  100% /e4
[root@...achine sandbox]#

Why inodes count limit is so small by default? Is it depends on
partition size?

Eric Sandeen wrote:
> cy6erGn0m wrote:
>   
>> I have found issue with ext4 partition.
>> I created many many empty files with the following way:
>> [cy6ergn0m@...achine heap]$ seq 1 10000000 | xargs touch
>>
>> But this command crashes asfter a while with a error 'no space left on
>> device'. At the same time, df -h shows that I have 7Gb free on this file
>> system. So, I can't create any file in any directory at this filesystem.
>>
>> [cy6ergn0m@...achine heap]$ pwd
>> /e4/sandbox/heap
>> [cy6ergn0m@...achine heap]$ ls -1 | wc -l
>> 1261144
>> [cy6ergn0m@...achine heap]$ df -h /e4
>> Файловая система      Разм  Исп  Дост  Исп% смонтирована на
>> (filesystem/size/used/available/used%/mounted)
>> /dev/sda4              28G  7.2G   19G  28% /e4
>>     
>
> try df -i
>
> There is a limited number of inodes that you can create, as set
> at mkfs time.
>
> -Eric
>
>   
>> [cy6ergn0m@...achine heap]$ touch ttt
>> touch: невозможно выполнить touch для `ttt': На устройстве кончилось место
>> (touch: failed to execute touch for 'ttt': No space left on device)
>>
>>
>>     
>
>   


Download attachment "smime.p7s" of type "application/x-pkcs7-signature" (3650 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ