this post was submitted on 19 Apr 2024
29 points (93.9% liked)

Selfhosted

40152 readers
538 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I've got 3 HDDs connected to my Proxmox machine via usb3. They worked fine until this week. I have them mounted and passed through to OMV.

One failed on Sunday. It was fine one minute, I rebooted and Proxmox wouldn't boot...

Couldn't work out why it wouldn't boot and reflashed Proxmox, losing all my machines (I have since learned the importance of backups since I had none).

I've spent 4 days rewriting it all. Rebooted last night and it happened again, but this time I noticed that it was struggling to find one of my drives and edited them out of Fstab and got it booting again.

I've since added 2/3 drives back in by adding "nofail" to my Fstab entries but my main storage drive is now showing as 100gb instead of 1tb and won't pass through to OMV.

I've come to the conclusion that they were mounted by label and "forgot" their label, hence wouldn't boot, they're now mounted by UUID.

So has anyone got any tips on the best way to mount these things without killing my whole setup?

Also if anyone knows why my storage is showing as 100gb in Proxmox and won't pass through to OMV now I would be eternally grateful. Kinda want to get the files off that drive...

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 6 months ago (5 children)

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?
[–] [email protected] 2 points 6 months ago* (last edited 6 months ago) (4 children)

Yeah I was considering passing usb though, or even nofail mounting usb instead of UUID.

They're sata 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.

[–] [email protected] 2 points 6 months ago (2 children)

I hope you are doing 3-2-1 backups now

[–] [email protected] 1 points 6 months ago* (last edited 6 months ago) (1 children)

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

Edit: worked out CIFS to Proxmox now, got a backup solution. Just have to work out how to get them off-site but I could maybe have my PC pull the files for now and maybe sync to Drive as off-site.

Edit2: Gdrive add-on added and set up in Home Assistant now.

I'm giving you these updates because you held me to account on the backup side, and I appreciate that. I had my head in setting my server back up, not back-ups. So thanks!

[–] [email protected] 2 points 6 months ago

I also use Proxmox Backup Server to backup my VMs. These and the files of my NAS get copied on one of two 22TB HDDs, which I swap out weekly from my fireproof safe. My PC files get synced on my NAS through GoodSync and my Smartphone NeoBackups via Syncthing. My PC also does a Disk2VHD image every month and TrueNAS keeps daily snapshots for two months.

I lost 2TB of data about 15 years ago, I vowed to never let this happen again

load more comments (1 replies)
load more comments (1 replies)