Learn Devops tools online from the blog. Devops Institute Ahmedabad.

The primary step for enabling NTFS Support for the CentOS Linux / RHEL edition 5.x and 6.x is to install the EPEL repository onto the server.
Use the below command to install EPEL repository in CentOS or RHEL versions

$ cd Download
$ wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm
# rpm -ivh epel-release-6-5.noarch.rpm

You must be logged in as Root for the below command to work :

# yum install ntfs-3g
Checking the Name of an NTFS Partition

Entering the below commands would help you determine the name of an NTFS partition :
# fdisk -l /dev/sda
# fdisk -l /dev/sdb
Steps to Mount /dev/sda1 NTFS Partition at /mnt/ntfs

It is essential to load the fuse driver. The below command should help you do that :
# modprobe fuse

Now using the below command you must build a mount point:
# mkdir /mnt/ntfs

The following command would help you with mounting the ntfs partition :
# mount -t ntfs-3g /dev/sda1 /mnt/ntfs

Command for Unmounting the NTFS Partition

# umount /mnt/ntfs

1 comment: