[SOLVED] Running a VM on a sshfs fills disk locally instead

Mar 22, 2021
17
0
6
34
Hello,
I tried setting up a sshfs storage, mounted locally and setup as Storage ->directory ->Disk image.
Problem is that it seems the VM is spawned on local storage and fills up the root partition.
/dev/mapper/pve-root 94G 94G 0 100% /

What am I doing wrong ?
 
Last edited:
Hey,

make sure when creating the VM you select the correct storage.
1639486840842.png
 
Ok, so the problem was that we have 2 nodes. Sshfs was mounted only on the 1st and the Vm was created on the second where the Storage was showing up but same size as the root partition. Which is kinda confusing.
 
I mean, you probably did not limit the directory storage to the node where sshfs was mounted so PVE assumed its for all nodes and just created the directory storage on both, on one in the SSHFS mount and on one at the same place, but as no SSHFS mount was there it landed on the root FS...

If you add a storage that's only available on a subset of nodes you need to configure it that way. Also, I'd really recommend using something more efficient as the FUSE based sshfs as backing storage for VM disks if anyhow possible.
 

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!