Can't create file bigger than 2GiB with dd

Solution Unverified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content