proxmox
NAS Shares On LXC – Unprivileged – Jellyfin Example
NAS Shares On LXC – Unprivileged – Jellyfin Example
#NAS #Shares #LXC #Unprivileged #Jellyfin
“Jim’s Garage”
This video shows how to mount a NAS share in an unprivileged LXC. This is useful for many applications, particularly things like Jellyfin and Plex that often require larger NAS storage connectivty.
LXC NAS:
Recommended Hardware:…
source
To see the full content, share this page by clicking one of the buttons below |
Do you echo in those configs to the conf files out of preference (maybe you have a sheet of many commands that you just dump into the CLI to sequencially work through), or do you have some other reason? I thought it was a bit odd to use the echo command, and then go into the file to check anyway. Just a query, not a criticism.
Also, if you're only just looking for read-only access — do you really need to need to do the whole user UID/GID mapping thing?
Couldn't you just set up the mount point via the Proxmox GUI, and if your host already has the NAS share source mounted, can you just edit the <<CTID>>.conf such that it points to that mount point location that's on the host?
If you write in the SMB user and password into /etc/fstab — wouldn't you be storing the SMB password in plain text?
Wouldn't that kind of (at least in part), kind of defeat the whole point of using an unprivileged LXC container (from the security aspect of it)???
Is this possible with an intergaited cpu/gpu?
Thanks! Was just going to ask about this (for Immich photos) – perfect timing 🙂
autofs is the preferred way of mounting CIFS filesystems vs fstab.
Exactly what I needed – you are a star – not sure if this came from by request but I am extremely grateful
Interesting Video!!! I am thinking to apply this concept to deploy an LXC container, mount my NAS Drive and install on top Proxmox Backup Server and point the DataStore to the path in the LXC that is mapped to my NAS. Do you think is going to work? Also can you do a tutorial for doing similar but with NFS shares as well? Thanks!
Nice video Jim. In my home datacenter I have 4 nodes. One of them has a controller with 4 2TB drives mounted on a RAID5. I added the storage on the proxmox host and created a turnkey Linux LXC container. I mapped the volume on the container and created SMB shares for all 4 nodes. They all can save the backup files on the RAID5. It’s not the best performance but it fits perfectly for my needs today. I think I can do the same thing with a better application in docker.
Thanks again for your videos. A must for me.
I don't understand why gid is 11000 and not 10000 in proxmox fstab ? It don't match with the gid of the lxc group created before ?
Thanks for the video. But I'm understanding it correctly that you set up LXC with docker and than on top of it set up Jellyfin? Isn't easier to set up LXC with Jellyfin? And is it safe to expose such install to external world, even if I gave it read only permissions? I thik that in another video you said that it is better to install such services on VMs because they do not share the kernel with the host
Awesome Jim, was looking for this info for a while, your videos are the best, direct to the point no useless information. Just perfect. Thanks for your time.
Really cool. But I am curious if the NAS is not available at the time of pve host bootup, would the share be mounted later automatically ? Imagine a case where the NAS itself is a VM in the same pve host.
It's great that it's possible, but it's far from elegant and would be a mess on a cluster if you planned to make the container migratable. Does mounting cifs with privileged containers negate all of this?
Since this is all linux to linux. If I may ask why did you go with CIFS and not NFS?
These are the bang on tutorial videos we need.Not Everybody has a 5bay rack system server. We are home labers with a budget and minimal resources so these sorts of tutorials are just awesome.
Please 🙏 keep on doing these types of videos thanks
I usually preffer to add the storage on proxmox itself instead of fstab because If you have an issue with your share proxmox won’t boot. I never understood why to be honest