Bug 20500 - exfat-utils not mounting 64GB flash drive
Summary: exfat-utils not mounting 64GB flash drive
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2017-03-16 13:28 CET by Alan Secker
Modified: 2017-03-22 19:37 CET (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Alan Secker 2017-03-16 13:28:32 CET

    
Comment 1 Alan Secker 2017-03-16 13:34:21 CET
This was a brand new Sunworld USB 2.0 and 3.0 compatible.
It had been formatted on a Linux-driven Samsung smart TV.
Mageia 5.1 could not mount it. Installing exfat-utils made no difference, even following a reboot

However, under a virtual Windows 10 hosted via VMware Workstation 12.5.4 on the same Mageia 5.1 machine it has since been extensively written to.
Comment 2 Dave Hodgins 2017-03-16 19:51:43 CET
With the VMware session stopped, or the partition not mounted there (so the
host system will see the drive), please post the output of (as root)
blkid /dev/sdx*

Replace the x with the appropriate device letter.

CC: (none) => davidwhodgins

Marja Van Waes 2017-03-16 23:28:23 CET

Keywords: (none) => NEEDINFO
CC: (none) => marja11

Comment 3 Alan Secker 2017-03-16 23:36:51 CET
[root@albury ~]# blkid /dev/sdb

/dev/sdb: UUID="86A0-2E70" TYPE="exfat"

as requested.
Comment 4 Dave Hodgins 2017-03-17 01:42:52 CET
Missed the asterisk.
blkid /dev/sdb*

If there is no sdb1, that's the cause. The device does not have a partition
table of any kind, gpt or mbr, just a partition that occupies the entire device.

While that's valid, most gui or automated tools won't work without a partition
table.

Try manually mounting it.

# mkdir /run/media/sdb
# mount /dev/sdb /run/media/sdb

Then see if the files in it are visible.
Comment 5 Alan Secker 2017-03-17 12:40:21 CET
# mkdir /run/media/sdb
mkdir: cannot create directory â/run/media/sdbâ: No such file or directory

# blkid /dev/sdb1

# mkdir /run/media/sdb
mkdir: cannot create directory â/run/media/sdbâ: No such file or directory

# mkdir /run/media/sdb1
mkdir: cannot create directory â/run/media/sdb1â: No such file or direct

#
Comment 6 Marja Van Waes 2017-03-19 17:30:17 CET
(In reply to Alan Secker from comment #5)
> # mkdir /run/media/sdb
> mkdir: cannot create directory â/run/media/sdbâ: No such file or directory

Please try again with

# mkdir -p /run/media/sdb
Comment 7 Alan Secker 2017-03-20 11:17:02 CET
This is the result:

# mkdir -p /run/media/sdb

# mount /dev/sdb /run/media/sdb

mount: unknown filesystem type 'exfat'

#
Comment 8 Dave Hodgins 2017-03-20 17:08:37 CET
Install the package fuse-exfat too.

If that doesn't get the mount command working, try adding a line with vfat to
/etc/filesystems.

Auto mounting an exfat formatted usb stick is working on my Mageia 5 kde system,
even with the entire device formatted, rather than using a partition table.

It's just a matter of figuring out what needs to be added and/or changed on
your system to get it mounting there.
Comment 9 Alan Secker 2017-03-20 17:22:35 CET
If you meant:

# mount -t vfat /dev/sdb /etc/filesystems

It returns: 

mount: special device /dev/sdb does not exist
Comment 10 Dave Hodgins 2017-03-21 20:48:16 CET
/etc/filesystems is a text file. I've since confirmed that on Mageia 5 the
default does include vfat, so just confirm that fuse-exfat is installed.

On my system,
# rpm -qa|grep fat
exfat-utils-1.1.0-3.1.mga5
fuse-exfat-1.1.0-3.mga5
Comment 11 Alan Secker 2017-03-22 14:25:04 CET
fuse-exfat was not installed, so I installed it.
Problem solved! 
Well done David.
Comment 12 Dave Hodgins 2017-03-22 19:37:09 CET
Closing the report as invalid. It'll still show up in search results
for people looking for the solution.

Status: NEW => RESOLVED
Resolution: (none) => INVALID


Note You need to log in before you can comment on or make changes to this bug.