How to bind mount Proxmox NAS ( SMB / NFS / CIFS shares on OpenMediaVault, TrueNAS, Unraid VM etc) running on Virtual Machine and Unprivileged LXC container so that LXC container can WRITE back to the NAS? We will see today how it can be done. In one of the previous videos we already went through the process of adding media library kept in OpenMediaVault Shared Folder and bind mount it on Jellyfin LXC unprivileged container ( were both OMV and Jellyfin were running on Proxmox ): kzbin.info/www/bejne/l3bdoJKra7h9qc0 In that video - as you noticed - the LXC container had only READ permissions on that remote Shared Folder, we could not write from LXC container to OMV running on Virtual Machine. This is default behaviour and today we will see why is that and what we need to change to be able to also WRITE from any LXC container to any Virtual Machine. Please also see another video where I created a bash script that does all of that automatically every time when you restart Proxmox: kzbin.info/www/bejne/fqaUl4xmYqupjKc ===TIMESTAMPS=== 0:00 read AND WRITE from unprivileged LXC container to Proxmox VM 1:15 OpenMediaVault VM shared folder configuration 2:10 mount OMV shared folder to Proxmox 7:20 create LXC container 11:10 the reason why you cant write from unprivileged container to Proxmox VM 13:30 how to read AND WRITE from unprivileged container for root user 18:15 read and WRITE from unprivileged container as other user 19:10 create a user on LXC container 22:15 not only Proxmox, it works for all linux distributions Hope that helps. Please let me know if you have any questions Marek
@heliodoro582 күн бұрын
Find your channel recently. Thanks for the useful, easy explanations.
@Automation-Avenue2 күн бұрын
Glad I can help! Thank you for watching :) Marek
@Koko-baduАй бұрын
It is really great explainer. Nothing more, nothing less. Thanks a lot for sharing your experience.
@Automation-AvenueАй бұрын
I am really happy I could help. Thank you for watching and for your comment :) Marek
@tez593712 күн бұрын
Much appreciate this!! Thank you
@Automation-Avenue12 күн бұрын
I am glad it was helpful! Thank you for your comment. Marek
@lakshaygoyal4145Ай бұрын
This is exactly what I was missing. Thank you so much.
@Automation-AvenueАй бұрын
You're very welcome! Thank you for watching. Marek
@a3-8214 күн бұрын
this is greats tutorial thanks sir
@Automation-Avenue14 күн бұрын
You are most welcome :) Marek
@philipolinga9674Ай бұрын
This has been absolutely spot, i able able to download file using qbittorrent in an lxc and passing the files straight to my Samba Shared folder😄😄😄😄
@Automation-AvenueАй бұрын
Glad I could help :) Thank you for watching and commenting Marek
@NGXG1825 күн бұрын
Interesting, I was able to configure this but shares doesnt see completed files from lxc. And the lxc is the only one that sees the new files.
@AndyRayАй бұрын
What if however I wanted to pass PVE /mnt/minipc to the LXC at /shared and provide multiple users access? marek = RW, autoavenue = R, User1 = RW - if each user gets a U.id and a G.id and we use those to set the mount configuration - doesn’t that limit you to the specific U.id and G.id? Or, what if /mnt/minipc already exists and we want to broker its connection to multiple LXCs? Absolutely fabulous guide - very clear and elegant. I ran across it when trying to figure out how to pass /dev/dri to an unprivileged LXC and give the user in the container the rights to use the device (iGPU pass through for HW transcode) but the solution in the LXC also mounted multiple items in docker in the LXC. I was able to make it work by changing it to a privileged container (validating that it was a permissions issue not a technological one), but I would like to know how to pass an existing device or share to an unprivileged LXC and give it the rights it needs. Thanks!
@Automation-Avenue27 күн бұрын
Hi! To achieve that you might be looking into changing the mappings between host and LXC id's , I mean something like here in this article: itsembedded.com/sysadmin/proxmox_bind_unprivileged_lxc/ That will allow you manage more than one user. Thank you for watching and commenting! Marek
@NGXG1819 күн бұрын
Thank you for guide. Have you been able to setup nested share in OMV? Parentfolder, childfolder.. Nas/doc, Nas/media. And doing that setting permission/acl to where certain users or app can read or write to the child folder only. And not whole share mount.
@Automation-Avenue19 күн бұрын
No I haven't tried that yet, if I do - I will let you know. Thank you for watching :) Marek
@monish05m15 күн бұрын
Fstab mount your nfs or cifs to the host, then bind mount the mount point to the lxc
@Automation-Avenue15 күн бұрын
You can"t use fstab unless you use start delay for OMV. The problem with mounting after reboot was discussed and I created srparate video about it: kzbin.info/www/bejne/fqaUl4xmYqupjKc Thank you for watching :) Marek
@LunoluxАй бұрын
great video, thx you don't have enough subscriber )= great explaination like every time
@Automation-AvenueАй бұрын
I appreciate your kind words :) Thank you for watching and commenting. Marek
@Najmun14Ай бұрын
Hello Automation Avenue, I hope you are well. I visited your KZbin Channel. Your content is Excellent. But your Channel is not growing, Because your Content title and Description are not SEO-friendly and do not have Enough Rank tags. This is why there is no Content Coming to the top of KZbin. As a result, your video SEO Score is very low, according to VidiQ, (your channel's video's SEO score is 0 / out of 100, which should be 90+). If you want, I can make it 90+, which will help your channel grow faster. If you SEO your videos Properly then the Channel Progress will be very Fast & Subscribers and Views will Increase. If you want I can solve problems and help you rank your videos Better. If you are Interested Please Let me know. Regards, Nazmun (KZbin Video SEO Expert).
@Automation-AvenueАй бұрын
The channel is growing fine mate :), Thank you for watching !