Cannot create a larger file than 16GB
Issue
-
I cannot create a large file more than 16GB.
$ for size in $(seq 1 17); do echo "file size = ${size}G"; dd if=/dev/zero of=/mnt/test bs=1G count=$size; [ $? -ne 0 ] && break; rm -f /mnt/test; done; rm -f /mnt/test file size = 1G 1+0 records in 1+0 records out 1073741824 bytes (1.1 GB) copied, 28.0256 seconds, 38.3 MB/s <snip> file size = 15G 15+0 records in 15+0 records out 16106127360 bytes (16 GB) copied, 295.238 seconds, 54.6 MB/s file size = 16G 16+0 records in 16+0 records out 17179869184 bytes (17 GB) copied, 340.058 seconds, 50.5 MB/s file size = 17G File size limit exceeded
-
ulimit
doesn't cause it.$ ulimit -f unlimited
Environment
- Red Hat Enterprise Linux 5
- ext3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.