Fun with Linux

NETSWAG BLOG - Fun with Linux

Recently, I bought a 4TB external hard drive that I planned to use to transfer files between two CentOS 7 servers.  Thinking that I needed a disk format, other than NTFS, that would allow me to utilize all 4 TBs, I decided to go with ExFAT.  

After formatting my disk for exFAT and connecting it to my CentOS server, I received the following error message in “Disk Usage Analyzer”

Screen Shot 2018-05-16 at 6.51.49 PM.png

Looking closer at the error message, it indicates that the disk cannot be mounted since exFAT is an unknown filesystem type.

Screen Shot 2018-05-16 at 6.52.21 PM.png

So to the interwebs I go ( or Google for some).  According to various blogs, CentOS does support exFAT drives, but it does not natively.  In order for this to work, two (2) packages needed to be installed:

  1. exfat-utils-1.0.1-1.el7.nux.x86_64
  2. fuse-exfat-1.0.1-1.el7.nux.x86_64

So next, I ran the following:

# yum install exfat-utils fuse-exfat

Loaded plugins: fastestmirror, langpacks

Loading mirror speeds from cached hostfile

 * base: mirror.lug.udel.edu

 * epel: mirror.steadfast.net

 * extras: mirror.cogentco.com

 * updates: repo.us.bigstepcloud.com

No package exfat-utils available.

No package fuse-exfat available.

Error: Nothing to do  <— well this sucks

So back to the user community…

According to the forum, these packages are found in the nux desktop  repo located @ http://li.nux.ro/download/nux/dextop/el7/x86_64/.  Out of curiosity, I decided to look at my own local repos (which are below):

# ls /etc/yum.repos.d/ -l

total 40

-rw-r--r--. 1 root root 1664 Apr 28 11:35 CentOS-Base.repo

-rw-r--r--. 1 root root 1309 Apr 28 11:35 CentOS-CR.repo

-rw-r--r--. 1 root root  649 Apr 28 11:35 CentOS-Debuginfo.repo

-rw-r--r--. 1 root root  314 Apr 28 11:35 CentOS-fasttrack.repo

-rw-r--r--. 1 root root  630 Apr 28 11:35 CentOS-Media.repo

-rw-r--r--. 1 root root 1331 Apr 28 11:35 CentOS-Sources.repo

-rw-r--r--. 1 root root 4768 Apr 28 11:35 CentOS-Vault.repo

-rw-r--r--. 1 root root  951 Oct  2  2017 epel.repo

-rw-r--r--. 1 root root 1050 Oct  2  2017 epel-testing.repo

As seen from the above outputs, I’m currently using standard CentOS repos and EPEL.  So I definitely needed to add the Nux-Dextop Repo.

Looking at http://li.nux.ro/download/nux/dextop/el7/x86_64/, I was able to find the actual packages that I needed!!!

Screen Shot 2018-05-16 at 7.10.23 PM.png

Screen Shot 2018-05-16 at 7.11.18 PM.png

The next steps were to install the repo, then install the packages 🙂

# yum install -y http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm

Loaded plugins: fastestmirror, langpacks

nux-dextop-release-0-1.el7.nux.noarch.rpm                                                                                                                                 | 9.6 kB  00:00:00     

Examining /var/tmp/yum-root-rpUtSA/nux-dextop-release-0-1.el7.nux.noarch.rpm: nux-dextop-release-0-1.el7.nux.noarch

Marking /var/tmp/yum-root-rpUtSA/nux-dextop-release-0-1.el7.nux.noarch.rpm to be installed

Resolving Dependencies

--> Running transaction check

---> Package nux-dextop-release.noarch 0:0-1.el7.nux will be installed

--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================================================================================

 Package                                       Arch                              Version                                 Repository                                                         Size

=================================================================================================================================================================================================

Installing:

 nux-dextop-release                            noarch                            0-1.el7.nux                             /nux-dextop-release-0-1.el7.nux.noarch                            3.5 k

Transaction Summary

=================================================================================================================================================================================================

Install  1 Package

Total size: 3.5 k

Installed size: 3.5 k

Downloading packages:

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

  Installing : nux-dextop-release-0-1.el7.nux.noarch                                                                                                                                         1/1 

  Verifying  : nux-dextop-release-0-1.el7.nux.noarch                                                                                                                                         1/1 

Installed:

  nux-dextop-release.noarch 0:0-1.el7.nux                                                                                                                                                        

Complete!

Now that’s done, we can get back to installing the necessary packages.

# yum install exfat-utils fuse-exfat

Loaded plugins: fastestmirror, langpacks

Loading mirror speeds from cached hostfile

 * base: mirror.lug.udel.edu

 * epel: mirror.steadfast.net

 * extras: mirror.cogentco.com

 * nux-dextop: li.nux.ro

 * updates: repo.us.bigstepcloud.com

nux-dextop                                                                                                                                                                | 2.9 kB  00:00:00     

nux-dextop/x86_64/primary_db                                                                                                                                              | 1.8 MB  00:00:32     

Resolving Dependencies

--> Running transaction check

---> Package exfat-utils.x86_64 0:1.2.7-1.el7.nux will be installed

---> Package fuse-exfat.x86_64 0:1.2.7-1.el7.nux will be installed

--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================================================================================

 Package                                        Arch                                      Version                                            Repository                                     Size

=================================================================================================================================================================================================

Installing:

 exfat-utils                                    x86_64                                    1.2.7-1.el7.nux                                    nux-dextop                                     58 k

 fuse-exfat                                     x86_64                                    1.2.7-1.el7.nux                                    nux-dextop                                     39 k

Transaction Summary

=================================================================================================================================================================================================

Install  2 Packages

Total download size: 97 k

Installed size: 282 k

Is this ok [y/d/N]: y

Downloading packages:

warning: /var/cache/yum/x86_64/7/nux-dextop/packages/fuse-exfat-1.2.7-1.el7.nux.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 85c6cd8a: NOKEY               ]  0.0 B/s |    0 B  --:--:-- ETA 

Public key for fuse-exfat-1.2.7-1.el7.nux.x86_64.rpm is not installed

(1/2): fuse-exfat-1.2.7-1.el7.nux.x86_64.rpm                                                                                                                              |  39 kB  00:00:01     

(2/2): exfat-utils-1.2.7-1.el7.nux.x86_64.rpm                                                                                                                             |  58 kB  00:00:01     

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Total                                                                                                                                                             75 kB/s |  97 kB  00:00:01     

Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-nux.ro

Importing GPG key 0x85C6CD8A:

 Userid     : "Nux.Ro (rpm builder) <rpm@li.nux.ro>"

 Fingerprint: 561c 96bd 2f7f dc2a db5a fd46 e98b fbe7 85c6 cd8a

 Package    : nux-dextop-release-0-1.el7.nux.noarch (installed)

 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-nux.ro

Is this ok [y/N]: y

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

  Installing : fuse-exfat-1.2.7-1.el7.nux.x86_64                                                                                                                                             1/2 

  Installing : exfat-utils-1.2.7-1.el7.nux.x86_64                                                                                                                                            2/2 

  Verifying  : exfat-utils-1.2.7-1.el7.nux.x86_64                                                                                                                                            1/2 

  Verifying  : fuse-exfat-1.2.7-1.el7.nux.x86_64                                                                                                                                             2/2 

Installed:

  exfat-utils.x86_64 0:1.2.7-1.el7.nux                                                            fuse-exfat.x86_64 0:1.2.7-1.el7.nux                                                           

Complete!

Screen Shot 2018-05-16 at 10.49.26 PM.png

Attempting to mount the new disk, is successful.  Now back to work.

 

source:

https://superuser.com/questions/960321/centos-yum-not-finding-packages

https://wiki.centos.org/AdditionalResources/Repositories?highlight=%25283rd%2529%7c%2528party%2529#line-57

https://www.howtogeek.com/235655/how-to-mount-and-use-an-exfat-drive-on-linux/

https://help.ubuntu.com/community/LinuxFilesystemsExplained

Scroll to top