This article mainly introduces you to the method of mounting a 3T hard disk or a disk larger than 2T in Ubuntu. The editor thinks it is quite good. Now I will share it with you and give you a reference. I hope it can help you.
1. Display the hard disk and its partitions. Enter the following command in the terminal window
fdisk -lu
You can see the 3T disk to be mounted
because of the fdisk partition The maximum is only 2T, so parted is used here to partition.
Execute the command parted /dev/sdc
Because the MBR partition table does not support a capacity greater than 2.2TB (2.2 × 1012 bytes) partition, so some BIOS systems use GPT partition tables instead of MBR partition tables in order to support large-capacity hard disks.
Execute fdisk -l, you can see the sdc1 partition
##Format partition
ext4 means formatting the partition into an ext4 file system typemkfs.ext4 /dev/sdc1
Mount the partition
Specify the hard disk partition file system type as ext4, and mount the /dev/sdc1 partition to the directory /media/sdc1mkdir /media/sdc1
cat/ etc/fstab
/dev/mapper/ubuntu--vg-root / ext4 errors=remount-ro 0 1 /dev/mapper/ubuntu--vg-swap_1 none swap sw 0 0 /dev/sdb1 /media/sdb1 ext4 rw 0 0 /dev/sdc1 /media/sdc1 ext4 rw 0 0
About ubuntu setting up php development environment example tutorial
php Ubuntu server setting method
How to install yaf extension on Ubuntu
The above is the detailed content of Ubuntu on Linux mounts a 3T hard disk or a disk larger than 2T. For more information, please follow other related articles on the PHP Chinese website!