Ext4 and large (>8TB) files

Arun Nair arun at bvinetworks.com
Fri Mar 26 18:52:05 UTC 2010


Hi -

(I apologize for the ext4 question in an ext3 mailer, but I couldn't find a
user list for ext4.)

Per my understanding, ext4 can support file sizes upto 16 TiB if you use 4k
blocks. I have a logical volume which uses ext4 with a 4k block size but I
am unable to create files that are 8TiB (8796093022208 bytes) or larger.

[root at camanoe] ls -l
total 8589935388
-rw-rw---- 1 root root 8796093022207 2010-03-26 11:43 bigfile

[root at camanoe] echo x >> bigfile
-bash: echo: write error: File too large

[root at camanoe] df -h .
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg-mysql_vol
                       15T  8.1T  5.6T  60% /mysql

[root at camanoe]# tune2fs -l /dev/vg/mysql_vol | grep "Block size"
Block size: 4096

[root at camanoe]# uname -a
Linux camanoe 2.6.29.4-167.fc11.i686.PAE #1 SMP Wed May 27 17:28:22 EDT 2009
i686 i686 i386 GNU/Linux

I'm probably doing something wrong here, but can't figure it out. Any ideas
guys? Thanks in advance.

Arun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/ext3-users/attachments/20100326/b4a9cfc7/attachment.htm>


More information about the Ext3-users mailing list