Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with exFAT filesystem #14

Open
gurvancodying opened this issue Jul 5, 2018 · 8 comments
Open

Problem with exFAT filesystem #14

gurvancodying opened this issue Jul 5, 2018 · 8 comments

Comments

@gurvancodying
Copy link

Dears,
I use your script for an automated display with possibility to update content from usb key.
With normal usb key it work fine but if i use exFAT usb key it doesn't work.
I try may possibilities with installation of packages ntfs-3g, fuseblk, etc... add options on usbmount.conf but it doesn't work.
Without additional packages i have error on mountpoint. It doesn't know exfat filesystem.
After installation of additional packages, nodify usbmount.conf file, it know that it's exFAT filesystem and mount it but he doesn't start personal scripts in mount.d folder. It doesn't unmount correctly usb key and cratch my raspberry.

Could you help me about it?

Thanks a lot for your work

@mathieulj
Copy link
Contributor

Sounds like it may be related to #11. Unfortunately I was unable to reproduce/understand fully the cause of that issue and the reporter found their own workaround.

@andyk75
Copy link

andyk75 commented May 3, 2019

I have experienced a similar issue.
I tried to use usbmount to mount an SD-card with exfat filesystem on a raspberry pi. I installed the exfat-fuse and exfat-utils and now the SD-card is mounted, but not with exfat but with fuseblk!
And this creates the situation, that the mounted volume is not accessible and creates an
"ls: cannot access '/media/usb0': Transport endpoint is not connected" error when I try to access it.
And fuseblk is not even on the list of filesystems:
FILESYSTEMS="vfat ext2 ext3 ext4 hfsplus exfat"
I then tried to mount the card manually with "sudo mount -t exfat /dev/sdb1 /media/usb0" and it also shows up as fuseblk in the mount-list. This is the line from calling "mount" after manually mounting the device:
/dev/sdb1 on /media/usb0 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
This is the line when usbmount mounted the card:
/dev/sdb1 on /media/usb0 type fuseblk (rw,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,allow_other,blksize=4096)

@UberEclectic
Copy link

FWIW, exfat will need fuseblk, similar to ntfs-3g, since both rely on FUSE.
But for unknown reasons, the following still is not sufficient:

FILESYSTEMS="vfat ext2 ext3 ext4 hfsplus fuseblk exfat"

I still get:

cannot access '/media/usb0': Transport endpoint is not connected

I am trying to adapt the following article about NTFS for use with exFAT, but still am not having any luck. :-(

https://raspberrypi.stackexchange.com/questions/41959/automount-various-usb-stick-file-systems-on-jessie-lite

@thelazyanalyst
Copy link

As @UberEclectic mentions, I have the same issues on my rpi3 B+ running Raspbian buster.

@spuiuk
Copy link

spuiuk commented Oct 9, 2019

I was debugging the same problem. This is caused because the fuse background process which implements the filesystem will get killed and attempts to access the mount point will fail with the "Transport endpoint is not connected" error. This problem should affect all fuse based filesystems mounted with usbmount.

I am not trying to figure out how to workaround this problem.

Ref:
https://yakking.branchable.com/posts/systemd-2-udevd/

@mathieulj
Copy link
Contributor

@spuiuk Are you using the latest build? As I understood the issue you describe, #6 should have fixed it.

@spuiuk
Copy link

spuiuk commented Oct 9, 2019

@mathieulj , I used usbmount available in the ubuntu 18.04.3 LTS release. This unfortunately is version 0.0.22 which according to the changelog was last updated in Aug 2011.
https://packages.ubuntu.com/bionic/admin/usbmount

Sorry about that, it is entirely my mistake. It works fine with version 0.0.24 which I built from the git repo.
I have uploaded the new package to http://spui.uk/usbmount/usbmount_0.0.24_all.deb
if someone else wants to test it.

@martinjr85
Copy link

@spuiuk The 0.0.24 package worked like a charm for me for exfat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants