[opensuse] Re: ext3 and ext4 file system limitations question
Boris Epstein wrote:
is there are limit on the number of files and/or directories one could store in an ext3 and ext4 file system? If the answer is "yes, there is" - what is that limit?
The amount of files and directories on an ext3 file system is limited by the available inodes. The remaining free inode count is listed by tune2fs -l /dev/sdXX. Dunno about ext4, but I suspect it's the same, maybe with an other command than tune2fs. You can change the inode count when you make the filesystem. HTH, Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 2010-03-18 at 10:21 +0100, Joachim Schrod wrote:
is there are limit on the number of files and/or directories one could store in an ext3 and ext4 file system? If the answer is "yes, there is" - what is that limit? The amount of files and directories on an ext3 file system is
Boris Epstein wrote: limited by the available inodes. The remaining free inode count is listed by tune2fs -l /dev/sdXX. Dunno about ext4, but I suspect it's the same, maybe with an other command than tune2fs.
No, it is quite different on an extent based filesystem like ext4 (or XFS). The limits in ext4 are effectively theoretical. You won't hit them. You could create a new file every second for 127 years.
You can change the inode count when you make the filesystem.
-- Adam Tauno Williams <awilliam@whitemice.org> LPIC-1, Novell CLA <http://www.whitemiceconsulting.com> OpenGroupware, Cyrus IMAPd, Postfix, OpenLDAP, Samba -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Adam Tauno Williams
-
Joachim Schrod