Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
11
rated 0 times [  11] [ 0]  / answers: 1 / hits: 8587  / 1 Year ago, fri, february 24, 2023, 8:00:19

mounted raspberry pi device via sshfs:



sshfs osmc@rpi.: /home/user/pi


mounting information:



user@azimuth:~$ mount | grep osmc

osmc@rpi.: on /home/user/pi type fuse.sshfs (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)


Why am I unable to umount?



user@azimuth:~$ sudo umount /home/user/pi
[sudo] password for user:
umount: /home/user/pi: target is busy
(In some cases useful info about processes that
use the device is found by lsof(8) or fuser(1).)


How to unmount the sshfs share?



UPDATES:



user@azimuth:~$ sudo lsof | grep /home/user/pi
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
Output information may be incomplete.
lsof: WARNING: can't stat() fuse.sshfs file system /home/user/nas
Output information may be incomplete.

More From » sshfs

 Answers
7

Since sshfs uses fuse, you need to use fusermount -u to unmount it:



fusermount -u /home/user/pi

[#5656] Saturday, February 25, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
dersol

Total Points: 78
Total Questions: 100
Total Answers: 124

Location: Christmas Island
Member since Mon, Oct 19, 2020
4 Years ago
;