Friday, April 26, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 4622  / 2 Years ago, mon, october 17, 2022, 4:00:02

I want to know how to format a 32 TB drive. What program should I use and what filesystem?
The largest drives I ever had to map before are 2-3 TB and I always used fdisk for formatting. But fdisk is not working for drives larger than 2.1 TB.



I would prefer that the whole volume is mounted as a single logical drive. We need to store large files in it, some may well pass 4TB.



I have an HP ProLiant DL380p Gen8 server in my administration and configured two 1TB disks as a 1TB system drive and ten 4TB disks into a 30 TB drive using RAID 50. I installed Ubuntu Server 12.04.



UPDATE:
I used parted to relabel the partition table to GUID Partition Table (GPT) from msdos which is default for Ubuntu Server 12.04



parted /dev/sdb mklabel gpt


I then used parted to create an ext4 partition, which I later relabeled to xfs with: mkfs.xfs /dev/sdb1. The rest went smoothly.


More From » partitioning

 Answers
0

You need to use the GUID Partition Table (GPT) on such a large disk. In Linux, there are two families of programs that support GPT:




  • The libparted library, which is used by parted, GParted, and several others, supports both GPT and the older MBR.

  • The GPT fdisk family (gdisk, sgdisk, and cgdisk) is a GPT-only tool. It's installed as part of the gdisk package in Ubuntu.



In addition, fdisk has recently gained GPT support, but even Ubuntu 14.04 uses a version that's old enough that it lacks this support.



As to filesystems, XFS, JFS, and ext4fs can all handle such a big volume. So can Btrfs, but it's so new that I don't think I'd recommend it. Chances are this is a pretty important project, so you should research the differences between these filesystems for your specific needs.


[#25678] Tuesday, October 18, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
uxuriousrnal

Total Points: 279
Total Questions: 106
Total Answers: 96

Location: Fiji
Member since Wed, Mar 29, 2023
1 Year ago
uxuriousrnal questions
Wed, Mar 9, 22, 09:04, 2 Years ago
Mon, Jul 18, 22, 01:48, 2 Years ago
Wed, Apr 13, 22, 01:15, 2 Years ago
Thu, Aug 26, 21, 22:01, 3 Years ago
;