How can I create filesystems greater than 2 Terabytes?

Red Hat Enterprise Linux 5 supports filesystems up to 8 Terabytes in size. While it is possible to create filesystems up to 16 TB in size, this feature is only intended as a Technology Preview in Red Hat Linux 5. Full support for EXT3 filesystems up to 16 TB is planned for an upcoming RHEL 5 update. Please see the RHEL5 Release Notes for further information.

In order to create EXT3 filesystems greater than 2TB, use the normal LVM and mkfs.ext3 as follows (assuming the block device for the storage is “/dev/sdd”):

pvcreate /dev/sdd
vgcreate BigGroup /dev/sdd
lvcreate -L 8000G -n bigvol BigGroup
mkfs.ext3 /dev/BigGroup/bigvol

This example created an 8 TB EXT3 filesystem on /dev/sdd. Since fdisk on the x86 platform is not compatible with partition layouts larger than 2.1TB, it’s necessary to use the block devices directly to create physical volumes for LVM.

In order to create filesystems greater than 8 TB, invoke mkfs.ext3 with 4K blocks and the “-F” option:

pvcreate /dev/sdd
vgcreate BiggerGroup /dev/sdd
lvcreate -L 16000G -n biggervol BiggerGroup
mkfs.ext3 -F -b 4096 /dev/BiggerGroup/biggervol



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s