You are not logged in.

#1 2015-01-19 21:09:34

lxkraken
Member
Registered: 2014-07-13
Posts: 3

[SOVED] Bizarre Output When Using ls -al

So I've been mounting a remote filesystem using SSHFS to a directory called "remote" in my home folder.

Today, I tried mounting that same folder and I got this error message:

fuse: bad mount point `/home/user/remote': Transport endpoint is not connected

Hmm .... let's do an 'ls -al'.....

 $ ls -al

-rw-------   1 user  user        8908 Dec  2 14:01 awesomefile.txt
d?????????   ? ?    ?            ?            ? remote
-rw-r--r--   1 user   user      817920 Jan 15 11:08 dwarfporn.avi

Odd. Trying to delete or chmod the 'remote' folder as root gives the following error:

# rm -r remote
rm: cannot remove ‘remote’: Is a directory

# chmod 777 remote
chmod: cannot access ‘remote’: Permission denied

What's going on?

Last edited by lxkraken (2015-01-19 21:59:27)

Offline

#2 2015-01-19 21:33:00

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,933
Website

Re: [SOVED] Bizarre Output When Using ls -al

The initial error is pretty self explanatory. The other end of your ssh mount isn't connected, i.e. you've lost connection to it (or it was never fully connected in the first place).

The question marks in ls' output signify that ls can't get information about that folder (in this case for the same reason -- it's not connected).

Tell fuse to disconnect/unmount the filesystem (see 'man fusermount'), then try connecting to the filesystem again.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2015-01-19 21:43:47

lxkraken
Member
Registered: 2014-07-13
Posts: 3

Re: [SOVED] Bizarre Output When Using ls -al

WorMzy wrote:

The question marks in ls' output signify that ls can't get information about that folder (in this case for the same reason -- it's not connected).

Thanks!

Doing an 'fusermount -u ~/remote' brought everything back to normal. I remember doing an 'fusermount -uz ~/remote' the last time I dismounted the remote filesystem, which is likely the cause of the strangeness (lazy unmounting).

Offline

#4 2015-01-19 21:48:49

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOVED] Bizarre Output When Using ls -al

Not a Sysadmin issue, moving to NC.


Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB