I sshfs'd into a remote server with standard syntax:
sshfs ubuntu@server.somewhere.com:/home/ubuntu/ ./myfolder -o IdentityFile=~/.ssh/my-private-key.pem -o allow_other
Everything worked fine. The file structure there was
/all/data/workdata
Then, the remote server changed the file structure and reset the machine. The new structure is now
/all/new/data/workdata
I unmounted with
sudo umount -l myfolder
then remounted. Now I can't access anything. The "old" folder structure is retained for me, and when I am in /all/, dir still shows "data". If I try to cd there, I get "no such directory" (also if I try to cd into the invisible "new"). I've tried -o cache_timeout=0 -o workaround=rename. I can sshfs into other remote servers normally. What is going on? How can I get into the server?
/home/ubuntu(the folder you mount) on the server related to/all/...? You might want to add the output ofls -alh /allon the server side and the output ofls -alh ./myfolderon your local machine. – Thomas May 11 '19 at 07:55/home/ubuntuis where/all/is located after the file system of the server was changed. Thels -alh /alloutput from the local machine showsallin red text, with an arrow pointing to white, blinking/data/workdata.ls -alhfrom the sever shows/all/in blue text. – Zwentibold May 12 '19 at 16:14/home/ubuntuand/allfolder are connected as these are completely different locations in the filesystem and you are trying to mount/home/ubuntufrom the server. I think best would be you talk to the admin of the server to tackle your problems. – Thomas May 12 '19 at 16:52allfolder indicates a dead symbolic link which needs to be updated. From the information you provided it still does not relate to the paths you mentioned in your question. – Thomas May 12 '19 at 17:03-o follow_symlinks. Now everything is working as expected. Thanks for your help! – Zwentibold May 12 '19 at 17:15