Unable to mount NTFS filesystem onto CentOS 7 server
Purpose – To mount NTFS filesystem onto CentOS 7 server
Pre-requisities –
OS – CentOS 7 (Server with GUI install)
Resolution –
Step1: Install the EPEL repository package
By default CentOS 7 server does not support the NTFS filesystem. In order to make the NTFS filesystem mount working you need to enable and install the below packages
[root@localhost Desktop]# yum install epel-release
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: ftp.iitm.ac.in
* extras: ftp.iitm.ac.in
* updates: ftp.iitm.ac.in
Resolving Dependencies
–> Running transaction check
—> Package epel-release.noarch 0:7-6 will be installed
–> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================================
Installing:
epel-release noarch 7-6 extras 14 k
Transaction Summary
======================================================================================================================================================
Install 1 Package
Total download size: 14 k
Installed size: 24 k
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/extras/packages/epel-release-7-6.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY0 B –:–:– ETA
Public key for epel-release-7-6.noarch.rpm is not installed
…
…
..
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : epel-release-7-6.noarch 1/1
Verifying : epel-release-7-6.noarch 1/1
Installed:
epel-release.noarch 0:7-6
Complete!
Step2: Enable EPEL repository and install the NTFS package
[root@localhost Desktop]# yum –enablerepo epel install ntfs-3g
Loaded plugins: fastestmirror, langpacks
epel/x86_64/metalink | 4.1 kB 00:00:00
epel | 4.3 kB 00:00:00
(1/3): epel/x86_64/group_gz | 170 kB 00:00:02
epel/x86_64/primary_db FAILED ] 78 kB/s | 593 kB 00:00:57 ETA
http://ftp.kddilabs.jp/Linux/packages/fedora/epel/7/x86_64/repodata/8beabe4ad4a74f8b0ee25f97793e95569f2d976d74d0d13475efac717c3f97b8-primary.sqlite.xz: [Errno 14] HTTP Error 404 – Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article
https://access.redhat.com/articles/1320623
If above article doesn’t help to resolve this issue please create a bug on https://bugs.centos.org/
(2/3): epel/x86_64/updateinfo | 585 kB 00:00:13
(3/3): epel/x86_64/primary_db | 4.2 MB 00:00:36
Loading mirror speeds from cached hostfile
* base: ftp.iitm.ac.in
* epel: epel.mirror.net.in
* extras: ftp.iitm.ac.in
* updates: ftp.iitm.ac.in
Resolving Dependencies
–> Running transaction check
—> Package ntfs-3g.x86_64 2:2016.2.22-1.el7 will be installed
–> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================================
Installing:
ntfs-3g x86_64 2:2016.2.22-1.el7 epel 280 k
Transaction Summary
======================================================================================================================================================
Install 1 Package
Total download size: 280 k
Installed size: 659 k
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/epel/packages/ntfs-3g-2016.2.22-1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY00:00:00 ETA
Public key for ntfs-3g-2016.2.22-1.el7.x86_64.rpm is not installed
ntfs-3g-2016.2.22-1.el7.x86_64.rpm | 280 kB 00:00:03
…
…
…
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 2:ntfs-3g-2016.2.22-1.el7.x86_64 1/1
Verifying : 2:ntfs-3g-2016.2.22-1.el7.x86_64 1/1
Installed:
ntfs-3g.x86_64 2:2016.2.22-1.el7
Complete!
Now you should be able to mount your NTFS filesystem format devices.
Hope you enjoyed reading this article. Thank you.
Leave a Reply
You must be logged in to post a comment.