When mounting the NTFS format hard disk CentOS will report the error unknownfilesystemtype & #39; ntfs & #39;, then you need to use a third-party plug-in NTFS-3G to load NTFS format hard disk. The NTFS-3G is an open source software that supports reading and writing NTFS format partitions in Linux, FreeBSD, MacOSX, NetBSD, and Haiku operating systems. The main steps are as follows: 1. install gcc, etc.
When mounting NTFS format hard disk CentOS will report the error unknown filesystem type 'ntfs ', then you need to use a third-party plug-in NTFS-3G to load ntfs format hard disk. The NTFS-3G is an open source software that supports reading and writing NTFS format partitions in Linux, FreeBSD, Mac OS X, NetBSD, and Haiku operating systems. The main steps are as follows:
1. install gcc and other compiling environments
Yum-y install gcc automake autoconf libtool make
2. download installation NTFS-3G
NTFS-3G official site is
wget http://tuxera.com/opensource/ntfs-3g_ntfsprogs-2013.1.13.tgztar –xvzf ntfs-3g_ntfsprogs-2013.1.13.tgzcd ntfs-3g_ntfsprogs-2013.1.13./configuremakemake install
3. check the NTFS hard disk partition information. The red lines shown in the figure show my NTFS hard disk information.
Fdisk-l4. mount the partition
mkdir /mnt/ntfsmount -t ntfs-3g /dev/sdb1 /mnt/ntfs
After the partition is mounted, enter the/mnt/ntfs directory, which is the partition of the mobile hard disk.
5. detach a partition
umount /dev/sdb1
6. mount the mobile hard disk automatically at startup and edit the/etc/fstab file.
Cp/etc/fstab/etc/fstabbak # back up vi/etc/fstab # edit before changing, and add the following information at the end, mount disk/dev/sdb1/mnt/ntfs NTFS-3G defaults 0 0: wq! # Save and exit
After the device is restarted, the mobile hard disk is automatically mounted.
7. when unmounting umount, the following message is displayed:
Umount:/mnt/upan: device is busy.
(In some cases useful info about processes that use
The device is found by lsof (8) or fuser (1 ))
Solution:
lsof -w /mnt/upan
Command pid user fd type device size/OFF NODE NAME
Bash 31761 root cwd DIR 8192 2316326 120526/mnt/upan/rekfan.com _
Using lsof-w/mnt/upan, we can see that there is a command window in the/mnt/upan/rekfan.com _ 120526 Directory, close this window, or exit this Mount directory, use umount to unmount the disk.