Sshfs mounts fine but bootlog error.

ozgurerdogan

Renowned Member
May 2, 2010
622
6
83
Bursa, Turkey, Turkey
To automount sshfs I added this to fstab;
sshfs#root@123.123.123.3:/BACKUPS/backup-on-vztl4 /BACKUPS/backup-on-vztl4 fuse defaults,nonempty,auto,_netdev 0 0

And to /etc/fuse.conf;
user_allow_other
allow_other
allow_root

and to /etc/odules.conf
ipmi_devintf
ipmi_si
fuse

I also created a private/public key pair and transfer the public key to server2 so that not be asked for a password on every mount.

And after a reboot, sshfs is mounted fine. But in bootlog I noted;
Code:
Sat Sep 21 02:18:35 2013: Mounting local filesystems...done.
Sat Sep 21 02:18:35 2013: Activating swapfile swap...done.
Sat Sep 21 02:18:35 2013: Cleaning up temporary files....
Sat Sep 21 02:18:35 2013: Setting kernel variables ...done.
Sat Sep 21 02:18:35 2013: Configuring network interfaces...
Sat Sep 21 02:18:35 2013: Waiting for vmbr0 to get ready (MAXWAIT is 2 seconds).
Sat Sep 21 02:18:40 2013: [B]read: Connection reset by peer[/B]
Sat Sep 21 02:18:41 2013: done.

Why is that read: Connection reset by peer ? It seems harmless but wondering why it is being logged so.
 
For those having same issue just add port number to sshfs mount in fstab;
sshfs#root@123.123.123.1:/STORAGE/backup-on-vztl4 /STORAGE/backup-on-vztl4 fuse defaults,delay_connect,nonempty,auto,_netdev,port=22 0 0