2024-10-15, 10:18 AM
(This post was last modified: 2024-10-15, 10:21 AM by wbravin. Edited 1 time in total.)
@GrumpyNick
Thank you very much for this suggestion.
I was following this recommendation on youtube from jim's garage.
As i am by no means an IT guy, i get vastly confused by the different ways one could achieve this integration.
I need to keep thing simple for example
I have in my truenas the following structure /mnt/poolname/datasets ....simple brilliant
In this thread there is a line groupadd -g 10000 lxc_shares and then mkdir -p /mnt/lxc_shares/nas_rwx can i replace lxc_shares with /mnt/media?
Can i replace lxc_shares/nas_rws and have mkdir -p /mnt/media/Movies? then replicate this for music and shows.
From what i understand, from jim's garage is when i bind mount, the mount code will automatically add all directories to /mnt/media, for movies, music and shows.
Which is different from what was said in this thread which was to first create the directories for each dataset in /mnt then bind mount each truenas dataset individually
I then would have /mnt/media/Movies, /mnt/media/Music etc
therefore
//192.168.1.124/Music/ /mnt/media/Music cifs _netdev,x-systemd.automount,x-systemd.idle-timeout=3min,noatime,uid=100000,gid=110000,dir_mode=0770,file_mode=0770,user=USER,pass=PASSWORD 0 0
in this case i would have to have such a line for each dataset (movies music shows).
This makes sense to me and i would understand that it should solve my permission denied issue... Correct?
Once again thank you all for this help
Thank you very much for this suggestion.
I was following this recommendation on youtube from jim's garage.
As i am by no means an IT guy, i get vastly confused by the different ways one could achieve this integration.
I need to keep thing simple for example
I have in my truenas the following structure /mnt/poolname/datasets ....simple brilliant
In this thread there is a line groupadd -g 10000 lxc_shares and then mkdir -p /mnt/lxc_shares/nas_rwx can i replace lxc_shares with /mnt/media?
Can i replace lxc_shares/nas_rws and have mkdir -p /mnt/media/Movies? then replicate this for music and shows.
From what i understand, from jim's garage is when i bind mount, the mount code will automatically add all directories to /mnt/media, for movies, music and shows.
Which is different from what was said in this thread which was to first create the directories for each dataset in /mnt then bind mount each truenas dataset individually
I then would have /mnt/media/Movies, /mnt/media/Music etc
therefore
//192.168.1.124/Music/ /mnt/media/Music cifs _netdev,x-systemd.automount,x-systemd.idle-timeout=3min,noatime,uid=100000,gid=110000,dir_mode=0770,file_mode=0770,user=USER,pass=PASSWORD 0 0
in this case i would have to have such a line for each dataset (movies music shows).
This makes sense to me and i would understand that it should solve my permission denied issue... Correct?
Once again thank you all for this help
Servers: Dell r720 128gb ram 2x 5690 24tb HGST
Supermicro x10 32 gb ram 1 X 5675 20TB HGST
Proxmox on all machines hosting OPNsense Home Assistant OS Truenas scale with Jellyfin in a jail in truenas
I still say to use less internet and use more cabernet (responsibly (only if driving))
be well now
Supermicro x10 32 gb ram 1 X 5675 20TB HGST
Proxmox on all machines hosting OPNsense Home Assistant OS Truenas scale with Jellyfin in a jail in truenas
I still say to use less internet and use more cabernet (responsibly (only if driving))
be well now