Modifying the Mount Directory

Source: Internet
Author: User

#df-H (View partition status and data disk name)

# mkdir/data (if no data directory is created, this step is skipped)

# umount/home (unmount the hard drive Mounted home directory)

# Mount/dev/sdb1/data (Mount to data directory)

# vi/etc/fstab (edit Fstab file modified or added so that it can be mounted automatically after reboot)
/dev/sdb1/data ext3 Auto 0 0

If "Device is busy" appears when unmount, it proves that the original Mount directory is being used and that the relevant process needs to be available to see which processes are using the following command:

Fuser-m-V/DSG

Modifying the Mount Directory

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.