From: Angel T. <ang...@ab...> - 2012-02-06 18:44:47
|
>-------- Оригинално писмо -------- >От: Miklos Szeredi mi...@sz... >Относно: Re: [sshfs] Input/output error upon (successful) reconnect >До: Angel Tsankov >Изпратено на: Понеделник, 2012, Февруари 6 17:05:46 EET > Angel Tsankov writes: > > > Hello, > > > > I recently came across the following behavior of SSH: > > > > First, I mounted a remote directory via sshfs: > > $sshfs angel@192.168.8.1:/home/angel/storage/ "$HOME"/storage -o reconnect > > > > Then, I rebooted the remote machine and tried to access the mounted directory: > > > > $ls storage/ > > ls: cannot access storage/: Input/output error > > > > Meanwhile, sshfs establishes a new connection to the remote machine: > > > > $netstat -atn > > Active Internet connections (servers and established) > > Proto Recv-Q Send-Q Local Address Foreign Address State > > [...] > > tcp 0 0 192.168.8.13:54282 192.168.8.1:22 TIME_WAIT > > [...] > > > > Each retry to access the mounted directory results in a new SSH connection to the remote machine and fails with the same error. > > > > Is this the expected behavior? If so, what is the purpose of "-o > > reconnect"? > > No, this is not the expected behavior. > > You may get I/O errors on open files, etc. but generally after > reconnection things should work normally. I'm willing to assist in investigating this issue. To start with, this is the output from "sshfs -V": SSHFS version 2.3 FUSE library version: 2.8.4 fusermount version: 2.8.4 using FUSE kernel interface version 7.12 What else can I do? Regards, Angel Tsankov > Thanks, > Miklos > > > > > > > Regards, > > Angel Tsankov > > |