Can't create file bigger than 2GiB with dd
Issue
Trying to create a file larger than 2GiB using dd fails:
$ dd if=/dev/zero of=2G.file bs=2G count=1
$ dd if=/dev/zero of=3G.file bs=3G count=1
$ ls -lrt
total 4198416
-rw-r--r-- 1 oracle oinstall 2147479552 Mar 14 10:10 2G.file
-rw-r--r-- 1 oracle oinstall 2147479552 Mar 14 10:10 3G.file
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
