We help IT Professionals succeed at work.

Create 5TB partition in Linux 2.6?

e_sandrs asked
Last Modified: 2013-12-16
We are setting up a new backup server and it has 8 - 750GB SATA drives in a RAID 5 configuration.  We set aside 50GB for our various system partitions, leaving the remaining space for backup storage.  Of course, we've run into the 2TB limit for standard FDISK operations.

How can we format this nearly-5TB space into one partition on SUSE 10.2 64-bit?  I thought we might have an answer with "fdisk -b2048 /dev/sdb" (the 2kb block size is supposed to allow for 8TB filesystems), but it didn't work.

Is there something we need to set with CONFIG_LBD? or some other (sfdisk) command we need to use?

Any input is appreciated!
Watch Question

nociSoftware Engineer
Distinguished Expert 2019

The 2TB size comes from the basic 4G (=32bits unsigned MAXINT) number of blocks * 0.5K bytes per block.
Drive geometry is reported by the device itself ==> enlarging the sectorsize doesn't work.
Unless the disk supports it.

BTW, Why create one large partition....
nociSoftware Engineer
Distinguished Expert 2019

LVM as dlangr proposed won't solve the problem of your existing volume, but is an approach to start again.
With raid5 on 4 disks you still have a slightly larger volume (750 *3 GB > 2TiB (it is sbout 2.05 TiB)
(2 such raidsets would cost you another 750GB. for the extra striping). It loses you about 100Gib this way.

(GB=1000*1000*1000 Bytes, Gib = 1024*1024*1024 Bytes)
nociSoftware Engineer
Distinguished Expert 2019

And I forgot to say use LVM to stich the two RAID sets together.
Unlock this solution and get a sample of our free trial.
(No credit card required)

LVM gives you  a lot of flexibility, did you take it into consideration? See my first comment.

LVM is very usefull to devide raid devices into either 1 big or sevral smaller partitions.

I noticed my previous link (1st post) was broken, here is the right one:


Beside that the LVM can:

    * Resize volume groups online by absorbing new physical volumes (PV) or ejecting existing ones.
    * Resize logical volumes online by concatenating extents onto them or truncating extents from them.
    * Create read-only snapshots of logical volumes (LVM1).
    * Create read-write snapshots of logical volumes (LVM2).
    * Stripe whole or parts of logical volumes across multiple PVs, in a fashion similar to RAID0.
    * Mirror whole or parts of logical volumes, in a fashion similar to RAID1
    * Move online logical volumes between PVs.
    * Split or merge volume groups in situ (as long as no logical volumes span the split). This can be useful when migrating whole logical volumes to or from offline storage.
nociSoftware Engineer
Distinguished Expert 2019

No problem
Closed, 125 points refunded.
EE Admin
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.