August 21, 20205 yr I think this is a fairly straightforward question but my Google-Fu isn't good enough to find an answer apparently. Can you map a subdirectory of an already mapped location to somewhere different like the following? /config -> /mnt/user/appdata/PlexMediaServer /config/other -> /mnt/user/other I have tried mapping the above to see if it works like I'd hoped but I've either done it wrong or it doesn't work. Edited August 21, 20205 yr by Dipskcit
August 21, 20205 yr 6 hours ago, Dipskcit said: I think this is a fairly straightforward question but my Google-Fu isn't good enough to find an answer apparently. Can you map a subdirectory of an already mapped location to somewhere different like the following? /config -> /mnt/user/appdata/PlexMediaServer /config/other -> /mnt/user/other I have tried mapping the above to see if it works like I'd hoped but I've either done it wrong or it doesn't work. I don't think it would work with a parent + a sub. Why don't you just map /other instead of /config/other? Usually simpler is better. Otherwise an alternative is to create symlinks in the host which I try to avoid doing in /mnt/user because of potential issues with Unraid own shfs process.
August 21, 20205 yr Author 7 hours ago, testdasi said: Why don't you just map /other instead of /config/other? Usually simpler is better. I'd like to but I don't think I can move it. The real 'other' is Plex's cache folder for Sync jobs is filling up my relatively small cache drive.
August 21, 20205 yr Author 7 hours ago, testdasi said: Otherwise an alternative is to create symlinks in the host which I try to avoid doing in /mnt/user because of potential issues with Unraid own shfs process. If I were do go this route what precautions should I take to not mess up anything? Could I symlink within the docker image to /other and then map that?
August 21, 20205 yr 1 hour ago, Dipskcit said: If I were do go this route what precautions should I take to not mess up anything? Could I symlink within the docker image to /other and then map that? What I do is to map disk and not user share just to be 100% sure there can be no wrong. So let's say I have /mnt/user/other that is on the array and /mnt/user/appdata/PlexMediaServer on cache. Then cd /mnt/cache/appdata/PlexMediaServer ln -s /mnt/disk1/other other You get the picture. Obviously appdata is set to Cache = Only so that there won't be any mover action. The map /config to /mnt/cache/appdata/PlexMediaServer Then anything written to /config/other => /mnt/cache/appdata/PlexMediaServer/other => /mnt/disk1/other It's overly cautious but I rather err on the safe side.
Archived
This topic is now archived and is closed to further replies.