Linux Redhat add hard drives and mount

Source: Internet
Author: User

1, first add a hard disk (I use the virtual machine VMware, add a new hard disk more convenient), add after the Linux host is not recognized, must be restarted before it will be recognized.

2. Format the hard drive and install the file system. (You can use parted + hard disk, enter the edit after using mktable + file system type such as: GPT, etc.) But I this host can not be added to the Ext4 file type, and later automatically hang in the file does not recognize the GPT file system, and then I use MKFS.EXT4/DEV/SDB1.

3, automatically mount, create new files on the desktop, soft. Edit/etc/fstab Add a new line at the bottom of the file:/dev/sdb1/root/desktop/soft ext4 defaults 0 0

4, flush hangs in file: Mount-a

5, if no error, check whether the success of the hang. Mount

This article is from the "10557356" blog, please be sure to keep this source http://10567356.blog.51cto.com/10557356/1968293

Linux Redhat add hard drives and mount

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.