CentOS mount NTFS format hard drive error unknown filesystem type ' NTFS ', you need to use third-party plug-in ntfs-3g to load NTFS-formatted hard disk. NTFS-3G is an open source software that supports writing and reading NTFS-formatted partitions in Linux, FreeBSD, Mac os X, NetBSD, and haiku operating systems. This article is only for CENTOS6 64-bit system, the main operation steps are as follows:
1. Download Centos6-ntfs.zip
Path: Link: Http://pan.baidu.com/s/1kVysFVT Password: xf6p
2. Decompression and Installation
Unzip Centos6-ntfs.zip
RPM-IVH rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
RPM-IVH ntfs-3g-2016.2.22-3.el6.x86_64.rpm
3. Mount the removable hard drive
[Email protected] data]# fdisk-l
disk/dev/sda:2000.4 GB, 2000398934016 bytes
255 heads, Sectors/track, 243201 cylinders
Units = Cylinders of 16065 * 8225280 bytes
Sector size (logical/physical): bytes/4096 bytes
I/O size (minimum/optimal): 4096 bytes/4096 bytes
Disk Identifier:0x0007fae8
Device Boot Start End Blocks Id System
/DEV/SDA1 * 1 204800 Linux
/dev/sda2 12774 102400000 Linux
disk/dev/sdb:31.3 GB, 31331450880 bytes
Heads, 9 sectors/track, 158124 cylinders
Units = Cylinders of 387 * 198144 bytes
Sector size (logical/physical): bytes/512 bytes
I/O size (minimum/optimal): bytes/512 bytes
Disk identifier:0xc082c082
Device Boot Start End Blocks Id System
/DEV/SDB1 * 3747 158125 29872256 7 hpfs/ntfs
[Email protected] data]# mount-t ntfs/dev/sdb1/mnt/
The disk contains an unclean file system (0, 0).
The file system wasn ' t safely closed on Windows. Fixing.
[Email protected] data]# df-h
Filesystem Size used Avail use% mounted on
/dev/sda2 96G 2.5G 89G 3%/
/DEV/SDA4 1.7T 488G 1.2T 31%/data
/DEV/SDB1 29G 11G 19G 37%/mnt
Mount-t ntfs-3g <ntfs partition> <mount point>
4. Automatic mount on Boot
Add the following format statement to the/etc/fstab
<ntfs partition> <mount point> ntfs-3g Silent,umask=0,locale=zh_cn.utf8 0 0
5, Mount point unloading
Umount <ntfs partition> or Umount <mount point>
CentOS 6.8 mount NTFS removable hard disk