mount: unknown filesystem type 'exfat'

Issues related to hardware problems
Post Reply
goudeuk
Posts: 32
Joined: 2013/09/02 11:46:50
Location: London

mount: unknown filesystem type 'exfat'

Post by goudeuk » 2017/08/14 14:19:36

Hello everyone

I've got a Centos6 machine with fuse-exfat and exfat-utils installed:

Code: Select all

rpm -qa | grep exfat
fuse-exfat-debuginfo-1.0.1-1.el7.nux.x86_64
fuse-exfat-1.2.7-1.el6.x86_64
exfat-utils-debuginfo-1.0.1-1.el7.nux.x86_64
exfat-utils-1.2.7-1.el6.x86_64
I formatted a external disk on an Apple PC using exfat with no problems copied a file for testing and then connected the external disk to the Centos 6 machine.
fdisk shows that the device partition name is /dev/sdb1

Code: Select all

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sdb: 4000.8 GB, 4000787030016 bytes
255 heads, 63 sectors/track, 486401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      267350  2147483647   ee  GPT
If I

Code: Select all

mount /dev/sdb1 /mnt/data
, it seems to work but when I cd into /mnt/data the dir is empty.
If I umount and then try to mount the disk back again using:

Code: Select all

mount -t exfat /dev/sdb1 /mnt/data
I get :

Code: Select all

mount: unknown filesystem type 'exfat'
However I don't get this problem with a Centos7 machine. Has anyone experienced the same problem and found a solution?
Any suggestions please?

Thank you

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: mount: unknown filesystem type 'exfat'

Post by gerald_clark » 2017/08/14 14:26:03

You cannot use an el7 repo with el6.
Remove the el7 nux repo and anything installed from it. Then install the correct one.

goudeuk
Posts: 32
Joined: 2013/09/02 11:46:50
Location: London

Re: mount: unknown filesystem type 'exfat'

Post by goudeuk » 2017/08/14 15:07:02

I'm not using el7 repo on the centos 6 machine.

Here is the yum repolist from the centos6 PC.

Code: Select all

Loaded plugins: fastestmirror, refresh-packagekit, security
Repository atrpms is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * base: centos.serverspace.co.uk
 * extras: mirrors.vooservers.com
 * fc6-base: ftp-stud.hs-esslingen.de
 * nux-dextop: mirror.li.nux.ro
 * rpmfusion-free-updates: mirrors.coreix.net
 * rpmfusion-nonfree-updates: mirrors.coreix.net
 * updates: centos.mirroring.pulsant.co.uk
repo id                               repo name                                            status
Dropbox                               Dropbox Repository                                       4
adobe-linux-x86_64                    Adobe Systems Incorporated                               3
atrpms                                Fedora Core 6 - x86_64 - ATrpms                      2,755
base                                  CentOS-6 - Base                                      6,706
chromium-el6                          CentOS-6 - Chromium EL6                                  8
chromium-el6-debug                    CentOS-6 - Chromium EL6 Debug                            3
chromium-el6i-Source                  CentOS-6 - Chromium EL6 Source                           1
extras                                CentOS-6 - Extras                                       45
fc6-base                              Fedora Core 6                                        2,931
google-chrome                         google-chrome - 64-bit                                   3
nux-dextop                            Nux.Ro RPMs for general desktop use                  2,476
rpmfusion-free-updates                RPM Fusion for EL 6 - Free - Updates                   228
rpmfusion-nonfree-updates             RPM Fusion for EL 6 - Nonfree - Updates                 36
updates  
CentOS-6 - Updates 447

goudeuk
Posts: 32
Joined: 2013/09/02 11:46:50
Location: London

Re: mount: unknown filesystem type 'exfat'

Post by goudeuk » 2017/08/14 15:10:37

On centos7 the directory /run/media shows all the mount points of the removable devices.

can not see a /run/media directory on centos6.

I have uninstalled
fuse-exfat-debuginfo-1.0.1-1.el7.nux.x86_64
exfat-utils-debuginfo-1.0.1-1.el7.nux.x86_64


At the moment I have:

Code: Select all

rpm -qa | grep exfat
fuse-exfat-1.2.7-1.el6.x86_64
exfat-utils-1.2.7-1.el6.x86_64
I'm not sure if it helps but parted /dev/sdb print shows:

Code: Select all

Model: WDC WD40 EFRX-68WT0N0 (scsi)
Disk /dev/sdd: 4001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name                  Flags
 1      20.5kB  210MB   210MB                EFI System Partition  boot
 2      211MB   4001GB  4001GB

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: mount: unknown filesystem type 'exfat'

Post by TrevorH » 2017/08/14 15:30:51

I'm not using el7 repo on the centos 6 machine.
You do appear to be using the wrong nux-dextop release package or you wouldn't have packages installed like fuse-exfat-debuginfo-1.0.1-1.el7.nux.x86_64

CentOS 6 is quite different from 7 and will not have a /run directory at all. If I remember right, automounting will use /media on el6. It's also very likely that it may not be /dev/sdb1 at all since you have a GPT label on there and as fdisk says, it doesn't support GPT so it lists only a dummy partition. You need to use gdisk or parted with a GPT labeled device.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

owl102
Posts: 413
Joined: 2014/06/10 19:13:41

Re: mount: unknown filesystem type 'exfat'

Post by owl102 » 2017/08/14 17:02:53

goudeuk wrote: If I

Code: Select all

mount /dev/sdb1 /mnt/data
, it seems to work but when I cd into /mnt/data the dir is empty.
It's empty since you have mounted the (empty) EFI System Partition on the external disk.

Use

Code: Select all

mount /dev/sdb2 /mnt/data
instead.
German speaking forum for Fedora and CentOS: https://www.fedoraforum.de/

Whoever
Posts: 1357
Joined: 2013/09/06 03:12:10

Re: mount: unknown filesystem type 'exfat'

Post by Whoever » 2017/08/15 02:51:19

goudeuk wrote:
I'm not sure if it helps but parted /dev/sdb print shows:

Code: Select all

Model: WDC WD40 EFRX-68WT0N0 (scsi)
Disk /dev/sdd: 4001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name                  Flags
 1      20.5kB  210MB   210MB                EFI System Partition  boot
 2      211MB   4001GB  4001GB

Why does parted /dev/sdb show /dev/sdd?

goudeuk
Posts: 32
Joined: 2013/09/02 11:46:50
Location: London

SOLVED mount: unknown filesystem type 'exfat'

Post by goudeuk » 2017/08/16 11:09:21

Thank you owl102

fdisk -l was not showing the second partition because it doesn't support GPT.

I mounted /dev/sdb2 using

Code: Select all

mount.exfat /dev/sdb2 /mnt/data
and it worked.

Thank you all for your help and time.
All the best

Post Reply