Linux HDD over 2T problem

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.