centos6.5 mounting the removable hard drive

Source: Internet
Author: User

Questions:
# mount–t Ntfs/dev/sdc1/mnt/upan
Mount:unknown filesystem type ' NTFS '
This is due to NTFS-formatted partitions are not recognized on CentOS release 5.6 (Final) .

Workaround:
Solved by using ntfs-3g.
· wget https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2015.3.14.tgz

· Tarxzf ntfs-3g_ntfsprogs-2015.3.14.tgz

· CD ntfs-3g_ntfsprogs-2015.3.14

· ./configure &&make &&makeinstall

Mount the USB drive mount step:

1.fdisk-l # Find hard drive device number:/DEV/SDC1 NTFS format

2.ntfs-3g/dev/sdc1/mnt/upan #用ntfs -3g directly to the/mnt/upan point on the drive to read and write.

Problem:

The disk contains an unclean file system (0, 0).
The file system wasn ' t safely closed on Windows. Fixing.

Solve:

#moun

/dev/sda2 on/type ext4 (rw)

Proc On/proc type proc (rw)

Sysfs On/sys type SYSFS (rw)

Devpts on/dev/pts type devpts (rw,gid=5,mode=620)

Tmpfs ON/DEV/SHM type TMPFS (rw)

/DEV/SDA1 on/boot type EXT4 (rw)

/dev/sda5 on/home type EXT4 (rw)

None On/proc/sys/fs/binfmt_misc type Binfmt_misc (rw)

/DEV/SDC1 On/mnt/upan type fuseblk (rw,allow_other,blksize=4096)

[Email protected]/]# df-h

Filesystem Size used Avail use% mounted on

/dev/sda2 13G 5.2G 6.8G 44%/

Tmpfs 118M 0 118M 0%/dev/shm

/DEV/SDA1 199M 55M 131M 30%/boot

/dev/sda5 11G 42M 9.7G 1%/Home

/DEV/SDC1 751G 351G 400G 47%/mnt/upan

Haha, successfully mounted

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/8A/D4/wKiom1g83pCTQmd9AAAp1zzg2MQ991.png-wh_500x0-wm_3 -wmp_4-s_374646386.png "title=" Qq20161129094718.png "alt=" Wkiom1g83pctqmd9aaap1zzg2mq991.png-wh_50 "/>

Copy files from Linux to mounted drives

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/8A/D0/wKioL1g83reCWSIuAAEP4gN0ZMo580.png-wh_500x0-wm_3 -wmp_4-s_493024501.png "title=" Qq20161129094736.png "alt=" Wkiol1g83recwsiuaaep4gn0zmo580.png-wh_50 "/>

Uninstalling the hard drive

#umount/mnt/upan #卸载挂到/mnt/upan Point of the hard drive


This article from "Do not forget Beginner's mind" blog, reproduced please contact the author!

centos6.5 mounting the removable hard drive

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.