Comment on Best practice for mounting usb storage in Proxmox
conorab@lemmy.conorab.com 6 months ago
This is why people say not to use USB for permanent storage. But, to answer the question:
- From memory, “nofail” means the machine continues to boot if the drive does not show up which explains why it’s showing up as 100GB: you’re seeing the size of the disk mounted to / .
- If the only purpose of these drives is to be passed through to Open Media Vault, why not pass through the drives as USB devices? At least that way only OMV will fail and not the whole host.
- Why USB? Can the drives ve shucked and connected directly to the host or do they use a propriety connector to the drive itself that prevents that?
Lifebandit666@feddit.uk 6 months ago
Yeah I was considering passing usb though, or even nofail mounting usb instead of UUID.
They’re SSD connection but my host is a tiny pc with minimal internals. I just had the drives lying around so decided to try a USB to Sata cable which worked until it didn’t. That’s why usb.
I did not realise that Proxmox would fail if the devices did, and I’m a little annoyed I didn’t notice it on Sunday when it died for the first time, because I started fresh and ended up losing YEARS worth of Home Assistant automations.
Live and learn.
Smash@lemmy.self-hosted.site 6 months ago
I hope you are doing 3-2-1 backups now
Lifebandit666@feddit.uk 6 months ago
Not quite there yet. I need to add the CIFS connection to Proxmox now to save to the drives (I’ll have to do a little research). I still have to set up the Google Drive add-on in Home Assistant again, and set it up properly this time so it actually schedules backups.
Also need to figure out how to off site backup my Proxmox backups. More research
LinusSexTips@lemmy.world 6 months ago
If you’ve got a m.2 slot in the mini PC you could add a cheap 5 sata port m.2 and connect them that way. If you don’t want to solder power you could really make it a butcher job and hack up the power from the sata to usb connectors.
Sucks to hear about your loss, I’ve recently lost my proxmox setup and migrated everything to Nixos. My install threw a wobbly, terminal was cooked, could only ssh into some containers so I wiped the install and migrated.
In my proxmox setup I found it easier to mount the drives as lvm to the host proxmox machine and pass them through to lxc via bind-mounts rather than adding another layer of shares / overheads.