Creating ext4 filesystem greater than 2TB hangs on RHEL as Hyper-V guest.

Solution Verified - Updated -

Issue

Unable to create an ext4 filesystem on a partition that is larger than 2TB:

Model: Msft Virtual Disk (scsi)
Disk /dev/sdb: 4295GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End     Size    File system  Name     Flags
 1      1049kB  4295GB  4295GB  ext4         primary

Environment

  • Red Hat Enterprise Linux 6 (RHEL)
  • Windows Hyper-V

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