this post was submitted on 17 Jun 2023
23 points (100.0% liked)

Selfhosted

40018 readers
714 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
 

Okay I saw this posted a lot and apparently it is pretty common but why do people virtualize your nas in for example a proxmox server/cluster. If that goes down it gets super hard to get your data back than if you do it bare Metal, doesn't it? Are people only doing it so save on seperate devices or are my concerns unreasonable?

you are viewing a single comment's thread
view the rest of the comments
[–] cybersandwich@lemmy.world 15 points 1 year ago (1 children)

Usually if you are doing something like that you are passing a SATA controller card/HBA directly to the VM and the drives are connected through that.

So all of the data would still be on those drives even if you blew up that VM entirely or proxmox corrupted itself.

On some levels it would be easier to recover from a system failure because you could have VM backups or snapshots to rely on.

It's a more advanced setup but it's not inherently "bad" or more risky. And yes, usually people are doing that type of thing because they don't need an entire separate physical server if they already have one with some spare cores and ram.

For example I have truenas running on a server that has a 6700k and 16GB of ram. That's overkill CPU for a Nas and I already have a 32 core 128GB ram server running. I'm migrating truenas to that server and giving it 4 cores and 32GB (still overkill for my needs). That will let me shut that other server down and save on my electric bill.

[–] imperator@sh.itjust.works 1 points 1 year ago

Yeah this is what I do. Pass the hda card through to OMV and have a union fs with snapraid. I then periodically back up to an external HDD.