LWN: Comments on "Ext3 for large filesystems" https://lwn.net/Articles/187321/ This is a special feed containing comments posted to the individual LWN article titled "Ext3 for large filesystems". en-us Tue, 07 Oct 2025 18:49:01 +0000 Tue, 07 Oct 2025 18:49:01 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Ext3 for large filesystems https://lwn.net/Articles/647254/ https://lwn.net/Articles/647254/ yaojingguo <a rel="nofollow" href="https://en.wikipedia.org/wiki/Ext3#Size_limits">Wikipedia</a> says that if the block size is 4KiB, the max ext3 file size is 2TiB not 4TiB. And a reading of <code>ext3_max_size</code> function in <tt>linux/fs/ext3/super.c</tt> confirms Wikipedia's opinion. Fri, 05 Jun 2015 03:54:52 +0000 Ext3 for large filesystems https://lwn.net/Articles/226906/ https://lwn.net/Articles/226906/ jzbiciak It still amazes me that a single desktop icon on a modern computer takes up about as much RAM as an entire video game console had back in the 80s. <br> <p> 64MB in the early 80s? Those must have cost a pretty penny. I remember 5MB and 10MB disks costing several hundred dollars.<br> Tue, 20 Mar 2007 16:35:30 +0000 Ext3 for large filesystems https://lwn.net/Articles/226904/ https://lwn.net/Articles/226904/ BrucePerens Not too <i>long</i> ago, Unix systems replaced seek() with the lseek(), and were able to handle longer offsets even though they were 16-bit machines. The word width of your CPU in no way limits the width of words upon which you can perform arithmetic. The new 48-bit field is not using compiler types wider than 32 bits for its implementation. They could use "long long", but I suppose that's less portable.<p><i>Bruce</i> Tue, 20 Mar 2007 16:32:30 +0000 Ext3 for large filesystems https://lwn.net/Articles/226902/ https://lwn.net/Articles/226902/ BrucePerens I think I've thrown out the 64 Megabyte 3.5 inch hard disks I bought in the early 80's. It doesn't feel that long ago. Tue, 20 Mar 2007 16:24:31 +0000 Ext3 for large filesystems https://lwn.net/Articles/225584/ https://lwn.net/Articles/225584/ sandeen <font class="QuotedText">&gt; My understanding is that even XFS has a maximum filesystem size of only 16TB on 32 bit, even though it goes to 9 EB on 64 bit systems.</font><br> <p> Though xfs is fully 64-bit capable on 32-bit machines, the 16T limit is OS-imposed. There is a 32-bit index into the (4k) page cache on x86, so 2^32 * 4096 is 16T is the maximum offset that can be addressed.<br> Mon, 12 Mar 2007 15:38:51 +0000 Petabytes https://lwn.net/Articles/204407/ https://lwn.net/Articles/204407/ dlang actually, you can get a petabyte of storage for ~$2m off-the-shelf that fits in ~4 racks consuming ~30KW of power<br> <p> buy 40 Sun x4500 servers ( <a href="http://store.sun.com/CMTemplate/CEServlet?process=SunStore&amp;cmdViewProduct_CP&amp;catid=151017">http://store.sun.com/CMTemplate/CEServlet?process=SunStor...</a> ) each with 24TB storage, 2 dual-core opterons, and 16G ram<br> <p> so 2PB of storage are $4m in 8 racks (80 servers) consuming ~60KW. that's not too scary (although it is quite a bit)<br> <p> backups are an issue, my guess is that the backup is mirroring to another similar set.<br> Sun, 15 Oct 2006 21:32:24 +0000 Petabytes https://lwn.net/Articles/204390/ https://lwn.net/Articles/204390/ knan "For ther former you would need something like 2048 teraservers" ... or a few modern SAN storage arrays. There are 500TB off-the-shelf solutions available, and I'm sure the manufacturers will be happy to sell you bigger custom variants.<br> Sun, 15 Oct 2006 15:55:53 +0000 Extents https://lwn.net/Articles/204299/ https://lwn.net/Articles/204299/ klog Woohoo!<br> IBM's "Old Iron" has worked using extents for 40 years...<br> Fri, 13 Oct 2006 20:28:35 +0000 Ext3 for large filesystems https://lwn.net/Articles/190459/ https://lwn.net/Articles/190459/ sitaram well I waited long enough for someone else to remark on this...<br> <p> "4 TB - big, but perhaps limiting for today's hot applications (such as comprehensive, nationwide telephone call archival)"<br> <p> Once again, our editor's sense of humour hits home :-)<br> Fri, 07 Jul 2006 04:00:59 +0000 ext3 block size https://lwn.net/Articles/189829/ https://lwn.net/Articles/189829/ csnook In the current block layer, the block size must be no larger than the page size. Since page size is 4k on nearly all architectures, 4k blocks are the sane way to go. I suppose if you gave Itanium boxes to a bunch of kernel developers to test on, they might be inclined to work on larger block sizes.<br> Sat, 01 Jul 2006 18:26:51 +0000 ext3 block size https://lwn.net/Articles/189826/ https://lwn.net/Articles/189826/ riel Raising the block size has a number of consequences for the memory management subsystem in the kernel, as well as the I/O subsystem.<br> <p> Furthermore, it would mean that even small files would take up an unreasonable amount of disk space...<br> Sat, 01 Jul 2006 14:13:55 +0000 Petabytes https://lwn.net/Articles/189114/ https://lwn.net/Articles/189114/ man_ls If you could expand on your post, I'm very curious about it. 2 Petabytes? 32 Petabytes? Where do you store that kind of information? For ther former you would need something like 2048 teraservers, just the power requirements are scary. How do you back it all up? Sat, 24 Jun 2006 17:39:47 +0000 ext3 block size https://lwn.net/Articles/188382/ https://lwn.net/Articles/188382/ dmuino Why is the ext3 max block size == 4k?<br> <p> Wouldn't just raising EXT3_MAX_BLOCK_SIZE at least temporarily alleviate this problem? <br> <p> Obviously the performance issues dealing with large files are still there, and extents is a feature that becomes more and more important, but if you need something now that gives you filesystems larger than 8TB this might be something to explore.<br> <p> Mon, 19 Jun 2006 21:47:13 +0000 Ext3 for large filesystems https://lwn.net/Articles/188075/ https://lwn.net/Articles/188075/ sbergman27 Does this all mean that ext3/4 with these patches would handle 1024 PB on a 32 bit system? Or only on a 64 bit system?<br> <p> My understanding is that even XFS has a maximum filesystem size of only 16TB on 32 bit, even though it goes to 9 EB on 64 bit systems.<br> Fri, 16 Jun 2006 00:33:01 +0000 Ext3 for large filesystems https://lwn.net/Articles/188049/ https://lwn.net/Articles/188049/ Stephen_Beynon This is from memory so I may be wrong ... <br> <br> In the beginning Linux used the minix file system. This had many <br> limitations including as I recall 14 character filename limits. <br> <br> The EXTended filestem was developed to address these problems. This was <br> relatively rapidly replased by the second extended filestem (ext2) (I do <br> not recall what the problems with ext1 were). <br> <br> Ext3 extended Ext2 with new capabilities - most notably a journel. This <br> considerably improves the resilience of the filesystem to unexpected power <br> failures ! <br> Thu, 15 Jun 2006 22:04:11 +0000 Ext3 for large filesystems https://lwn.net/Articles/188047/ https://lwn.net/Articles/188047/ xorbe Wait a sec... what's the "ext" in ext2 and ext3 if they are just adding <br> extents now??<br> Thu, 15 Jun 2006 21:45:53 +0000 Ext3 for large filesystems https://lwn.net/Articles/187994/ https://lwn.net/Articles/187994/ jzbiciak Well, if storage requirements double every 18 months, then 1024 PB will be enough to hold them for just shy of a decade, then. :-)<br> Thu, 15 Jun 2006 16:58:00 +0000 Ext3 for large filesystems https://lwn.net/Articles/187948/ https://lwn.net/Articles/187948/ smoogen Actually large amounts of cluster systems seem to run into the 4TB file size and 8TB file limit these days. We had a project that needed approximately of 32 Petabytes for its raw data. I thought it was outlandish, but then got a couple of requests for 2 Petabyte systems for genome research.<br> Thu, 15 Jun 2006 15:29:24 +0000