this post was submitted on 29 Apr 2024
32 points (97.1% liked)

Selfhosted

39171 readers
535 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
32
submitted 4 months ago* (last edited 4 months ago) by erev to c/selfhosted
 

Hello! I have Proxmox VE running on a Dell R730 with an H730. Proxmox manages the disks in a ZFS RAID which is exactly how I want it. Because I intend for this server to have a NAS/file server, I want to set up a container or VM in proxmox that will provide network storage shares to domain-joined systems. Pretty much everything in my lab is joined to FreeIPA, so I'd like to use the IdM features with my file server. I have given TKL FileServer a shot but it really didn't seem up to snuff with what I wanted. I am not looking for a NAS solution that will require me to pass through the RAID controller and disks to Proxmox, as I want Proxmox managing the ZFS pool. I can set up an NFS/Samba server in a container, however in trying to do so I was running into issues (due to it being an unprivileged container) that I can probably figure out but I want to see if anyone has any recommendations first.

you are viewing a single comment's thread
view the rest of the comments
[–] NeoNachtwaechter 16 points 4 months ago* (last edited 4 months ago) (1 children)

I do it the other way round: proxmox leaves it's hands away from the zpool. The 5 disks are passed through to a vm, everything ZFS starts there, and it offers the samba shares.

My directive is that the bare metal proxmox shall not offer any services to the world outside, only VM's may do that.

[–] [email protected] 8 points 4 months ago (1 children)

That's what I've done as well, hard drives passed through, RAIDZ created on the NAS itself. It's worked great so far.

[–] [email protected] 2 points 4 months ago* (last edited 4 months ago)

Same! Two zpools on one Debian VM, shares NFS etc for everything else. I pass through PCIe sata cards to the VM, too.