New disks and attaching in linux virtual machines

Source: Internet
Author: User


New disks and attaching in linux virtual machines 1. Open the virtual machine setting interface and select add to add a new disk. 2. The newly added disk is displayed in the/dev directory of the virtual machine, such as sdb 1) fdisk./sdb open disk management. Www.2cto.com 2) p to check the current disk status. 3) n to create a new partition. 3. After the partition is created, the file system is created. First, ls/lib/modules/'uname-R'/kernel/fs/
View the Supported file system formats. Then use mkfs-t ext4/dev/sdb1 www.2cto.com 4. Create a mount point and mount the partition. Mount/dev/sdb1/mnt. You can use this disk now.

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.