Mount Point Problem

dan_squall

New Member
Jan 29, 2019
3
0
1
37
Every now a then I'm facing the following issue.

I have in the host machine some remote filesystems over ssh (SSHFS), but now comes the real issue. Sometimes those mount points went down, afterwards the host machine is able to remount those SSHFS, but on the other side the containers are not able to remount the mount points that I have configured, forcing me to reboot those containers.

Is there any other way to do it? How are you facing this issue?

Thanks in advance!
 
Hi,
do you use the 'sshfs -o reconnect server' option in the containers?
 
Hi,

I use that option on the host server but on the cointeiner I use the option resources/mount point.
 
So in the container you use a directory based mount of the path or do you mount via sshfs?
 
I mount the storage on the machine that I've install proxmox but on the conteiner side I used the resources option attaching mounting points (see atached image).

But if I'm trying to mount those storages at auto.misc file appamor does not allow me to mount those storages.
 

Attachments

  • test.png
    test.png
    66.7 KB · Views: 8
Oh I see, so you have your resources on the sshfs mount and mount them inside the container via mount point. This is problematic as the dir based mount in the container is probably not responding well to the connection loss of sshfs.
If you can you should switch to cifs or nfs based storage instead of sshfs.
 

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!