Install ntfs-3g on Centos 6 and mount NTFS disk in Easy Steps

By default, Centos 6 doesn't have support for NTFS disk, that's why you get unknown filesystem type error when you try to mount -t ntfs /dev/sdb1 /mnt/datadisk. To make NTFS filesystem available on Centos, you need to install ntfs-3g. Here is how to do it.

If your OS has no gcc, install it first with command yum install gcc.

And then run this command under your home directory

wget && tar -zxvf ntfs-3g_ntfsprogs-2014.2.15.tgz && cd ntfs-3g_ntfsprogs-2014.2.15 && ./configure && make && make install

We are compiling the source code and install it because many yum repos don't provide this package, if you want to install it with yum, you need to adjust your yum repo source which actually makes things more complicated.

Now you can mount -t ntfs /dev/sdb1 /mnt/datadisk successfully.