Mount the hard drive under Linux

Source: Internet
Author: User

1. add a virtual hard disk

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/54/9D/wKioL1SH4ACzYfnWAADdzeLEsrw551.jpg "style=" float: none; "title=" 1.jpg "alt=" Wkiol1sh4aczyfnwaaddzelesrw551.jpg "/>

2. View the partition table

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/54/9E/wKiom1SH32qRqpibAAI2AO3eVY8931.jpg "style=" float: none; "title=" 2.jpg "alt=" Wkiom1sh32qrqpibaai2ao3evy8931.jpg "/>

3. Create a partition

I chose this step. 4. Here you can choose 1 , 1 forthe label from disk /SDB1

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/54/9D/wKioL1SH4ACCOgwQAAI7noXHwSM844.jpg "style=" float: none; "title=" 3.jpg "alt=" Wkiol1sh4accogwqaai7noxhwsm844.jpg "/>

View New partitions

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/54/9E/wKiom1SH32rQC_5tAAJsz60fTQw028.jpg "style=" float: none; "title=" 4.jpg "alt=" Wkiom1sh32rqc_5taajsz60ftqw028.jpg "/>

4. Format Label Volume /DEV/SDB4

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/54/9D/wKioL1SH4AGSBRJXAAITniXna9k483.jpg "style=" float: none; "title=" 5.jpg "alt=" Wkiol1sh4agsbrjxaaitnixna9k483.jpg "/>

5. Configure the Edit vi/dev/fstab ( ensure the next system boot automatically start loading the hard drive )

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/54/9E/wKiom1SH32ux4IZZAAGMK_rp87A289.jpg "style=" float: none; "title=" 6.jpg "alt=" Wkiom1sh32ux4izzaagmk_rp87a289.jpg "/>

6. View the disk size du–lh/opt

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/54/9D/wKioL1SH4AGDxQuUAACgaVhDtNw560.jpg "style=" float: none; "title=" 7.jpg "alt=" Wkiol1sh4agdxquuaacgavhdtnw560.jpg "/>


7. Permission to attach a/opt disk

Cd/opt

chmod 755 *

Chown Root *


Mount the hard drive under Linux

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.