CentOS Mount HDD

Source: Internet
Author: User
#使用rootssh [email protected] #查看硬盘情况fdisk-l#/dev/xvdb partition fdisk/dev/xvdbn #新建一个分区p #主分区1 #主分区id  #回车 Use the default start address  #回车 Use the default end address W #保存 hint syncing disks. The partition succeeds MKFS.EXT3/DEV/XVDB1  #格式化分区 after the execution of the format completion mkdir-p/www         #建立挂载目录mount/dev/ Xvdb1/www #命令挂载分区后即可使用vi/etc/fstab  #最后一行写入 [/dev/xvdb1  /www  ext3  defaults  0 0] #保存并退出df-LH # To view mounted drives, the/WWW directory is the new partition



CentOS Mount HDD

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.