Today came a server after the raid has left 3T, according to the previous method, the last left about 2.4T points to data, after the system installation is complete,
[Email protected] ~]# df-h
Filesystem Size used Avail use% mounted on
/DEV/SDA1 97G 464M 91G 1%/
Tmpfs 32G 0 32G 0%/dev/shm
/dev/sda2 97G 3.4G 88G 4%/usr
/dev/sda3 97G 295M 91G 1%/var
Did not find/data directory, but/dev found the Sd5, the original EXT4 does not support more than 2T of space, the last online search methods have two ways to solve, I used the first kind of
First XFS
MKFS.XFS format is not successful, may be because of a drive letter, the last can only re-install the system, the time of the re-installation of the data directory is XFS format, identified!
Second parted
[Email protected] ~]# parted
Parted>
parted> SELECT/DEV/SDB disk drive letter for SDB
parted> Mklabel GPT formats MBR disks as GPT
Parted> Mkpart primary 0-1 divide the entire disk into a single partition
parted> Print Prints the current partition
Parted> quit quit
You can mount it properly when you are done.
Linux HDD over 2T problem