Mount a new hard disk on the deletuserver

Source: Internet
Author: User
After the new hard disk is installed, run the sudofdisk-l command to view information about all disks. Sudodf-h displays all hard disk information loaded to the system in Mb. Run the sudocfdisk partition command (use 83 when selecting the type of ext3). In this example, sudocfdisk/dev/sdc formatted the hard disk in the partition. After the sudomkfs. ext3/dev/sdc was loaded successfully, run the mount command.

After installing the new hard disk of Ubuntu Server, run the sudo fdisk-l command to view information about all disks.

Sudo df-h displays all hard disk information loaded to the system in Mb.

Use the sudo cfdisk command to partition (ext3 uses 83 when selecting a type)

Example: sudo cfdisk/dev/sdc

Format sudo mkfs. ext3/dev/sdc

Edit fstab after the mount command is loaded successfully.

Sudo vim/etc/fstab

Confirm that the newly added hard disk format is partitioned and then load it using the mount command.

Example: sudo mount-a/dev/sdb1/mnt/hd2

The following content:

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.