[Linux] Mounting an NTFS External Hard Drive on CentOS

The server runs CentOS and needs to mount two 2TB external hard drives.

The command is as follows:

1
2
mount -t ntfs /dev/sdn1 /test1
mount: unknown filesystem type 'ntfs'

An error occurred, meaning the system does not recognize “NTFS.” The solution is as follows:

1
2
3
4
5
6
7
8
wget http://tuxera.com/opensource/ntfs-3g_ntfsprogs-2013.1.13.tgz
tar zxvf ntfs-3g_ntfsprogs-2013.1.13.tgz 
cd ntfs-3g_ntfsprogs-2013.1.13
./configure
make
make install
mkdir /mnt/window
mount -t ntfs-3g /dev/sdn1 /mnt/window

To unmount:

1
umount /dev/sdn1
Licensed under CC BY-NC-SA 4.0