February 9, 20215 yr This is probably a dumb question with a simple answer, but is it possible to share /tmp to clients? I would like to use it for Tdarr transcoding to save writes on my cache SSD, but I need my windows nodes to be able to access it as well
February 9, 20215 yr Community Expert Why does anything need to access transcoding except the application using it?
February 9, 20215 yr Author Because of how Tdarr works. There's a centralized "transcode" directory that all of the nodes/server are connected to. The node does the conversion to that directory, then copies it out of the directory at the end of the transcode. In my case the server is in a docker container, but all of my nodes are standalone Windows boxes. I honestly don't know why the individual nodes don't write to local storage for transcode, possibly for use in other docker containers or something.
February 9, 20215 yr Community Expert So are you talking about the path /tmp in the Unraid host, or about the path /tmp within the container?
February 9, 20215 yr Author On the host. I want to map Docker: "/temp" to Unraid: "/tmp" and point transcodes at the Docker: "/temp" so that operations happen in RAM rather than on the SSD. However the Windows clients need to be able to map the Unraid: "/tmp" to something like X:\ for it to work correctly. Edited February 9, 20215 yr by weslocke
February 9, 20215 yr Community Expert How much RAM do you have? Do the windows clients need to be able to modify the contents of /tmp?
February 9, 20215 yr Author 128gig, and yes. I was essentially wanting windows systems to connect to the Unraid box something like: x:\ -> /mnt/users/Videos y:\ -> /mnt/users/Pictures z:\ -> /tmp However now it's academic. I just tossed the Tdarr server onto one of the Windows boxes so that I didn't have to worry about path translations at all. I hate not having it in a Docker container, but it was too much of a pain to get set up. Took about a minute with the Windows install. Though I am still curious if it would be possible to expose system level directories in Unraid to client systems. /etc or tmp for example. I'm not saying it's a good idea, mind you, just more curious
February 9, 20215 yr Community Expert I would say it's a bad idea, but you can probably do it if you know how to speak SMB. Settings - SMB - SMB Extras
February 9, 20215 yr Author Ahh... didn't even think about directly working on the samba setup. Thanks!
May 8, 20215 yr For future folks coming across this thread (as I just did on a google search for the exact same reason) 1) Edit your shares in /etc/samba/smb-shares.conf (you can just copy another share's section and change the path and name) [tdarr] path = /tmp/tdarr comment = browseable = yes # Private writeable = no read list = write list = YOURUSERNAME valid users = YOURUSERNAME case sensitive = auto preserve case = yes short preserve case = yes 2) Restart /etc/rc.d/rc.samba restart This will only work until restart, so you'd have to put this into SMB extras to make this work through a restart, but if you're like me, you only need the windows machine temporarily to work through a big backlog. Edited May 8, 20215 yr by ionred
Archived
This topic is now archived and is closed to further replies.