Linux Mount USB Drive

Source: Internet
Author: User

The operating system for the Centos6.5,u disk is a normal USB drive, in order to be able to save more than 2G files, the file system changed to NTFS

The command for the USB drive file system from FAT32 to NTFS under Windows is

Convert X:/fs:ntfs

X is a USB drive letter


Because CentOS does not recognize the NTFS file system by default, you must install ntfs-3g in advance

: http://www.tuxera.com/community/open-source-ntfs-3g/

Install after decompression

./configuremake&make Install

Insert a USB flash drive on the server to verify that the USB drive is recognized

Fdisk-l

Usually the USB stick is under the/dev/sdb/DEV/SDB1

Mount USB Drive

MKDIR/MNT/USBMOUNT-T Ntfs-3g/dev/sdb1/mnt/usb-o RW

Note the last-o-rw parameter must be there, or a mount error will occur

Uninstalling the USB drive

Umount/mnt/usb

Sometimes you will be prompted that device is busy cannot uninstall, use the following command to turn off the USB drive occupation process

Fuser-km/mnt/usb


Linux Mount USB Drive

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.