I have attempted to install Garage on a couple of VMs running on Proxmox and it failed with the error:
[1838376.776711] block nbd0: Attempted send on invalid socket
[1838376.785482] blk_update_request: I/O error, dev nbd0, sector 2 op 0x0:(READ) flags 0x1000 phys_seg 1 prio class 0
[1838376.800015] EXT4-fs (nbd0): unable to read superblock
Tracking that error down came up with this post so I thought I would investigate further.
A manual installation of Garage on a Proxmox VM works correctly (or at least starts up properly) with the default config.
The issue appears to be that Proxmox doesn’t use /dev/nbd0
in VMs, but that the Yunohost install script, specifically mount_disk.sh
, loops through /dev/nbdx
devices and chooses the first available one, which in Proxmox appears to be nbd0, so it tries to mount the block device on it but fails.
I’ll put an issue on the script’s repo.