storage directory - remote sshfs - backups default for VMID / storage backend

mkeys

New Member
Jan 7, 2024
7
0
1
Hello,
I'm running pve 8.1.4. Last night I installed sshfs, created a user on the remote linux server, then mounted the destination locally as /sshfs/{serverfqdn}/ on all PVE servers.

In the PVE admin, I added this as a directory storage and tested a few VM template backups. This worked without issue, however the admin console does not list the backups that have completed previously.

My fstab on the mount (censored username and host):

username@remote.server.fqdn:/sshfs /sshfs/remote.server.fqdn sshfs allow_other,default_permissions,_netdev

# edit 01/26/24 you need the _netdev option in the fstab above else the mount will be attempted on boot prior to network being up and fail

Permissions are recursive:
drwxrw-rw- 7 username username 4096 Jan 24 21:41 sshfs/

Backups that have completed:

dump/:
total 2130728
drwxrw-rw- 2 username username 4096 Jan 25 07:57 .
drwxrw-rw- 7 username username 4096 Jan 24 21:41 ..
-rwxrw-rw- 1 username username 8655 Jan 24 22:04 vzdump-qemu-100-2024_01_24-21_50_45.log
-rwxrw-rw- 1 username username 1009210678 Jan 24 22:04 vzdump-qemu-100-2024_01_24-21_50_45.vma.zst
-rwxrw-rw- 1 username username 18 Jan 24 22:04 vzdump-qemu-100-2024_01_24-21_50_45.vma.zst.notes
-rwxrw-rw- 1 username username 0 Jan 24 22:04 vzdump-qemu-100-2024_01_24-21_50_45.vma.zst.protected
-rwxrw-rw- 1 username username 8658 Jan 25 07:57 vzdump-qemu-104-2024_01_25-07_41_28.log
-rwxrw-rw- 1 username username 1172600537 Jan 25 07:57 vzdump-qemu-104-2024_01_25-07_41_28.vma.zst
-rwxrw-rw- 1 username username 18 Jan 25 07:57 vzdump-qemu-104-2024_01_25-07_41_28.vma.zst.notes
-rwxrw-rw- 1 username username 0 Jan 25 07:57 vzdump-qemu-104-2024_01_25-07_41_28.vma.zst.protected

Immediately after backup, it's there:

1706193685067.png

... but once I navigate away, then back to the same page, the listing is blank. This is because the page defaults to cephfs and 'Filter VMID' is checked. Once swapping to sshfs and unchecking 'Filter VMID', it is displayed.

How do I set sshfs and uncheck vmid as the default for this area?

Thanks,
Matt
 
Last edited:

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!