Create partitions for unallocated regions in Ubuntu

Source: Internet
Author: User
When installing the system, GB of space is left unallocated. Now, I create a directory/data/node1 in Ubuntu and mount the 500G to this point. Is there any way for everyone to do this? I used cfdisk to create partitions for the unallocated GB space,/dev/sda10, and then fdisk-l can see the/dev/sda10 information, when fdisk/dev/sda10 is displayed, the device cannot be opened. I mount/dev/sda10

When installing the system, GB of space is left unallocated.

Now, I create a directory/data/node1 in Ubuntu and mount the 500G to this point. Is there any way for everyone to do this?

I used cfdisk to create partitions for the unallocated GB space,/dev/sda10, and then fdisk-l can see the/dev/sda10 information, when fdisk/dev/sda10 is displayed, it cannot be opened. When I mount/dev/sda10, it is displayed that the device does not exist, but it can be seen again when fdisk-l is used.

Test the correct answer:

You must restart the fdisk before it takes effect, or try to run sudo partprobe

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.