Aliyun hard disk mounting

Source: Internet
Author: User
Alibaba Cloud hard disk mounting is really intolerable to the network problem of the company's servers. The aliyun server, which has been suspended for half a year, finally decided to enable it today. When I purchased a 40 GB hard disk space, I first checked a hard disk and found that a partition was not mounted. The first step is to create a partition input... aliyun hard disk mounting
The network problem of the company's servers is unbearable. The aliyun server, which has been suspended for half a year, was finally enabled today.

When I purchased a 40 GB hard disk space, I first checked a hard disk and found that a partition was not mounted.

Step 1: Create a partition and enter the command # fdisk/dev/xvdb

Enter m as prompted to view help, and then enter n

Follow the command to input p, partition number input 1, number of disk blocks starting from the new partition input 1 press enter

Follow command input w

The preceding prompt indicates that the partition is complete. Enter fdisk-l to see the following;

The second step is to format the partition input # mkfs. ext3/dev/xvdb1

The third part is to create a Mount Directory # mkdir data
The fourth part is the mount partition # mount/dev/xvdb1/data
The fifth step is to set the automatic mounting input # vi/etc/fstab. The last one is manually input.

The sixth step is to restart the server reboot.
The seventh step is to check whether the mounting is successful. # df


Now the hard disk has been mounted. The next step is to install the svn server.
Related Article

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.