Transport endpoint is not connected
Asked Answered
C

8

170

FUSE is constantly(every 2 - 3 days) giving me this Transport endpoint is not connected error on my mount point and the only thing that seems to fix it is rebooting.

I currently have my mount points setup like this, I'm not sure what other details I should add here so let me know if I missed anything..

/dev/sdc1 /mnt/hdd2 ext4 defaults 0 0
/dev/sdb1 /mnt/hdd1 ext4 defaults 0 0
mhddfs#/mnt/hdd1,/mnt/hdd2 /data fuse defaults,allow_other 0 0
Colucci answered 26/7, 2014 at 1:37 Comment(0)
D
9

There is a segmentation fault problem which was introduced in 0.1.39. You may check my repository that fixed this one meanwhile: https://github.com/vdudouyt/mhddfs-nosegfault

Dental answered 5/5, 2015 at 6:49 Comment(0)
D
339

I have exactly the same problem. I haven't found a solution anywhere, but I have been able to fix it without rebooting by simply unmounting and remounting the mountpoint.

For your system the commands would be:

fusermount -uz /data
mount /data

The -z forces the unmount, which solved the need to reboot for me. You may need to do this as sudo depending on your setup. You may encounter the below error if the command does not have the required elevated permissions:

fusermount: entry for /data not found in /etc/mtab

I'm using Ubuntu 14.04 LTS, with the current version of mhddfs.

Duodecimal answered 23/9, 2014 at 2:57 Comment(9)
This doesn't exactly fix it but I guess it's the best answer for now.Colucci
I was getting the same error message with SSHFS, and this fixed it too. Thanks.Housekeeping
Not work for me - fusermount -uz /media/srv2/tickets/ fusermount: entry for /media/srv2/tickets not found in /etc/mtabBricker
This worked for me after my mount.ntfs (NTFS-3G) got OOM-killed.Quiver
This worked for me, even when "umount -f <>" failed.Infanticide
mine was caused by xrdp and i just unmount xrdp-chansrv. did not bother re-mounting as i was not using drives over the linkTucson
This worked for me, after I got the 'transport endpoint' problem when I unmounted an rclone local directory during a file transfer. The man page for fusermount is misleading; -z lazy unmount does not sound like it will force anything...Vondavonni
This should be the answer for the most of us coming here. :-)Ecstatic
This was a fantastic fix when encfs suddenly failed to access the decrypted mount point. Much appreciated, saved me from rebooting.Mattheus
I
121

This typically is caused by the mount directory being left mounted due to a crash of your filesystem. Go to the parent directory of the mount point and enter fusermount -u YOUR_MNT_DIR.

If this doesn't do the trick, do sudo umount -l YOUR_MNT_DIR.

Intracellular answered 1/4, 2015 at 20:59 Comment(2)
in my case it was not a crash but a previously failed sshfs mount command and not a fs crash. Still it had been mounted and neeed unmounting. This answer worked perfectlyLucianaluciano
sudo umount -l DIR works for me as @Lucianaluciano said, mine was due to stopping sshfs while executing.Derbent
C
17

I get this error from the sshfs command from Fedora 17 linux to debian linux on the Mindstorms EV3 brick over the LAN and through a wireless connection.

Bash command:

el@defiant /mnt $ sshfs [email protected]:/root -p 22 /mnt/ev3
fuse: bad mount point `/mnt/ev3': Transport endpoint is not connected

This is remedied with the following command and trying again:

fusermount -u /mnt/ev3

These additional sshfs options prevent the above error from concurring:

sudo sshfs -d -o allow_other -o reconnect -o ServerAliveInterval=15 [email protected]:/var/lib/redmine/plugins /mnt -p 12345 -C

In order to use allow_other above, you need to uncomment the last line in /etc/fuse.conf:

# Set the maximum number of FUSE mounts allowed to non-root users.
# The default is 1000.
#
#mount_max = 1000

# Allow non-root users to specify the 'allow_other' or 'allow_root'
# mount options.
#
user_allow_other

Source: http://slopjong.de/2013/04/26/sshfs-transport-endpoint-is-not-connected/

Complaisance answered 18/7, 2015 at 17:39 Comment(0)
B
10

Now this answer is for those lost souls that got here with this problem because they force-unmounted the drive but their hard drive is NTFS Formatted. Assuming you have ntfs-3g installed (sudo apt-get install ntfs-3g).

sudo ntfs-3g /dev/hdd /mnt/mount_point -o force

Where hdd is the hard drive in question and the "/mnt/mount_point" directory exists.

NOTES: This fixed the issue on an Ubuntu 18.04 machine using NTFS drives that had their journal files reset through sudo ntfsfix /dev/hdd and unmounted by force using sudo umount -l /mnt/mount_point

Leaving my answer here in case this fix can aid anyone!

Bedside answered 29/3, 2019 at 0:10 Comment(0)
D
9

There is a segmentation fault problem which was introduced in 0.1.39. You may check my repository that fixed this one meanwhile: https://github.com/vdudouyt/mhddfs-nosegfault

Dental answered 5/5, 2015 at 6:49 Comment(0)
E
2

If you're trying to mount a usb drive with /etc/fstab and you get this error. The first thing to do is to uninstall usbmount package. sudo apt remove usbmount. Then if your fstab config is correct, after reboot it should be mounted correctly on boot. Source: https://forums.raspberrypi.com/viewtopic.php?t=131484

Eucalyptus answered 18/10, 2021 at 20:32 Comment(0)
S
0

I had the same problem when I dropped my 64GB camera memory card on the floor. Carefully dusting the card's contacts did not help. Rebooting did not help. Then I put the card back in the camera, reformatted it, and all was well again.

Sop answered 31/12, 2021 at 14:51 Comment(0)
V
-6

I had this problem when using X2Go. The problem happened in a folder that was shared between the remote computer and my local PC.

Solution: cd out of that folder and in again. That fixed it.

Vinita answered 22/3, 2019 at 11:15 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.