Ubuntu on VMware's recommendations when building more than 2TB file systems

Source: Internet
Author: User
Tags uuid gparted

1

. Ubuntu is located in the partition, that is, the/DEV/SDA of the disk (if you want to see visually, please in the Ubuntu application market inside Search GParted, the most praised that is, after the installation, point Super/win key, search gparted out, see), Be sure to install it inside the SSD drive because it's much faster and then prepare the HDD storage data.

2. I originally had a 40G mirror on my Notebook (WIN10), plugged in a 4.5T external hard drive, I wanted to expand to Ubuntu, the result took a detour. I tried to expand the capacity of the hard drive and then use my own extension tool, then it went wrong. Because the original partition table is MBR, but more than 2.5T to change the partition table to GPT (or called GUID), or not support expansion to that large. However, the various methods found on the Internet are not very useful, because after modifying the format of the partition table, after the BIOS boot can not find your system where.

Then the best way is actually in the hardware, add a new hard disk, and then choose the standalone mode just fine.

Once added, you can see the addition of another device (/DEV/SDB) in the gparted, but this time, it has not been connected to your system. At this point, you need to use the mounted command to map the hard disk to a directory.

So I'm going to create a folder called Ai in the root directory:

sudo mkdir/ai

After the creation is complete, continue knocking:

sudo mount/dev/sdb2/ai

The above sdb2 may be sdb1, try to select the mobile drive in the gparted->devices, and then you can see what the 4.5T corresponds to:

This will allow the new drive to be mapped to the/AI directory. In this directory, you can put down 4.5T content. But at this point, if you look at the volume in the details of the system setup, the capacity remains the same.

(You can also knock on the command line: df-h)

But now there is a problem, that is, when you mount the success, after the restart, it will need to be re-mounted again. So, here's a brief teach you how to put an NTFS hard drive automatically (on every system boot)

First, to open a file with vim:

sudo vim/etc/fstab

Then create a new line at the bottom and write

Uuid=583435a6343587d0/ai NTFS defaults 0 0
Note that the string of characters that follow your "uuid=", each partition is different. The way to query your own UUID is:

Lsblk-o Name,fstype,uuid

Then you can see it and replace it with the UUID. The/AI is filled with a mounted directory. NTFS is a hard disk format, or it can be a different format.

Ubuntu on VMware's recommendations when building more than 2TB file systems

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.