• At least in RHEL 4, the fdisk command does not support the creation of filesystems larger than 2TB. In order to get around it, you have to use the parted command. I found the basic info here, but this is the long and short of how to cut off a big ol’ slice of disk using parted:

    Run parted

    # /sbin/parted

    It’s interactive, so the following commands are issued within the utility.

    1) Make the disk label

    (parted) mklabel gpt

    2) Create the partition

    (parted) mkpart primary 0 -1

    3) Verify

    (parted) print

    
    Disk geometry for /dev/sda: 0.000-38146.972 megabytes
    Disk label type: msdos
    Minor    Start       End     Type      Filesystem  Flags
    1          0.031    101.975  primary   ext3        boot
    2        101.975  38146.530  primary               lvm
    

    4) Exit the GNU Parted command shell

    (parted) quit

    5) Finally, make the filesystem:

    # mkfs.ext3 -m0 -F /dev/sdb1

    6)Finally, you don’t want to wait for that big filesystem to fsck from time to time, so make sure it does not get checked unless you run the command yourself:

    # tune2fs -c0 -i0 /dev/sdb1

    That should just about do it. Remember that only RHEL 4 and higher can support filesystems larger than 2TB. If I remember correctly RHEL 3 can go up to 2TB, RHEL4 can handle 8TB, and RHEL 5 can make a whopping 16TB chunk of disk. Have fun!

    This entry was posted on Friday, January 11th, 2008 at 11:48 am and is filed under Data and Technology. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
  • 1 Comment

    Take a look at some of the responses we've had to this article.

    1. Phil Jensen
      Jun 11th
      Reply

      Thanks — this was a helpful super quick reference on how to create a GPT labelled disk.

  • Leave a Reply

    Let us know what you thought.

  • Name (required):

    Email (required):

    Website:

    Message:

Visitors have tagged this post: t (310) - spiralbound net (24) - parted (19) - f (18) - linux parted gpt (13) - RHEL GPT (12) - ext3 16TB (11) - linux disklabel (10) - rhel5 gpt (10) - parted mklabel linux (10) - parted tutorial (10) - parted remove gpt (9) - parted mklabel (9) - ext3 8TB (9) - linux gpt (8) - remove GPT parted (8) - parted gpt (7) - delete GPT linux (7) - how to enable gpt file system in redhat 4 (7) - linux parted mklabel (6) - Linux parted examples (6) - linux 8TB (6) - parted example (6) - parted 8TB (6) - mkfs ext3 16tb (5) - parted big partition (5) - linux big partition (5) - linux mount gpt (5) - linux parted (5) - remove gpt linux (5) - linux >2TB (5) - gparted rhel 4 (5) - parted mklabel gpt (5) - linux fdisk terabyte (5) - parted delete gpt (5) - rhel4 parted (4) - linux parted 16TB (4) - remove gpt partition linux (4) - fdisk 2tb (4) - GPT Linux parted (4) - GPT linux (4) - make file system more 2 TB RHEL4 (4) - 16TB ext3 (4) - linux delete Gpt (4) - ext3 2tb (4) - gpt delete linux (4) - fdisk remove gpt (4) - linux remove Sun disk label (4) - remove gpt label (4) - rhel5 ext3 16TB (4) - rhel disk label (3) - PH (3) - fdisk 8TB (3) - rhel5 fdisk (3) - fdisk RHEL4 (3) - parted gpt mkfs ext3 (3) - howto parted (3) - linux gpt parted (3) - gpt filesystem (3) - linux partition bigger than 2 TB (3) - rhel filesystem (3) - linux 2tb partition (3) - gpt rhel5 (3) - linux parted example (3) - gpt linux mount (3) - RHEL ext3 16TB (3) - gparted disklabel (3) - parted examples (3) - linux create huge partition TB (3) - rhel 5 gpt (3) - parted TB (3) - linux remove GPT (3) - mklabel gpt (3) - linux fdisk 2tb (3) - linux parted tutorial (3) - gparted for redhat 4 (3) - linux disk label (2) - rhel disk labels (2) - RHEL label / (2) - RHEL4 disk label (2) - linux disk label ext3 (2) - http://www google com/ig (2) - redhat parted mklabel (2) - how to make filesystem (2) - linux filesystem labels (2) - parted larger 8tb (2) - make filesystem (2) - gpt rhel (2) - rhel4 filesystems (2) - fdisk rhel4 2tb file system (2) - ext3 8tb mkfs (2) - red hat 8tb (2) - create ext3 filesystem parted (2) - 2TB linux partition parted label (2) - linux fdisk make bigger than 2TB partitions (2) - linux create big partitions TB (2) - gpt label linux (2) - partitioning big disks with parted (2) - make label a disk linux (2) - mkfs 2 Tb linux (2) - linux diskla (2) - gpt label (2) - linux filesystem 2tb (2) - make partition bigger linux (2) - deleting GPT Linux (2) - linux: ext3 2Tb file systems (2) - mkfs rhel4 (2) - linux delete GPT partition (2) - Linux RHEL4 and 2TB partition (2) - rhel5 how to create new filesystem (2) - linux create disklabel (2) - RHEL 16TB ext3 filesystem (2) - mklabel linux (2) - gParted GPT (2) - redhat rhel4 creating filesystem from lvm (2) - linux gpt filesystem (2) - linux disklabel gparted (2) - 16TB linux partition (2) - filesystem >2tb (2) - mount gpt (2) - linux 8TB disk (2) - linux fdisk remove gpt (2) - mklabel parted linux (2) - rhel5 ext3 16 TB (2) - parted examples linux (2) - parted create ext3 partition (2) - create ext3 filesystem larger than 2 tb (2) - parted tutorial mklabel (2) - linux parted lvm (2) - rhel5 gpt howto (2) - partition rhel 5 (2) - linux parted how to (2) - parted linux 2tb (2) - RHEL filesystem label (2) - extfs ext3 large big partition disk (2) - big filesystem ext3 (2) - rhel4 gparted (2) - how to make fdisk redhat 3 (2) - linux filesystems 8TB (2) - parted linux gpt (2) - linux mounting 2tb large (2) - red hat parted mkfs primary (2) - biggest filesystem parted (2) - how to mount using GPT label in redhat (2) - rhel partitioning (2) - linux disk larger 8TB (2) - what is mklabel on linux redhat (2) - how to make ext3 file system (2) - rhel sda mkfs mount (2) - rhel4 ext3 disk label (2) -