Linux automatic mount hard drive __linux

Source: Internet
Author: User
1. The question

Two hard drives are installed on the server, one system disk and one expansion disk. The desktop system can see the mounted disk and can access it normally. However, the DF command using Linux is not visible.

Once mounted, you can view it. But the system reboot is also unable to see. 2. Solution:

Step1: Create a mapping directory under/media directory such as:/media/ext-1

Step2: Viewing disks and formats by command sudo blkid

Step3: Edit fstab file sudo vi/etc/fstab

STEP4: Add/dev/sdb1/media/ext-1 NTFS defaults 0 0 at the end of the file

STEP5: Restart the computer


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.