Sshfs mounts fine but bootlog error.

ozgurerdogan

Renowned Member
May 2, 2010
612
5
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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!