Jump to content
Division-M Community
spaceboy

Network Drive as Part of Pool Issue

Recommended Posts

Hi, let me start by saying that i understand this is probably very much an edge case but i'm hoping there is a solution. i will try and describe what i think is happening:

  1. i have three machines in play here, we have a PC with DB on it, a NAS that that forms part of that pool and a pc on which i have a number of web services including radarr.
  2. the pool works fine from the 
  3. radarr has downloaded a file, which once complete it moves to the DB pc, initially the landing zone
  4. when the landing zone is cleared DB moves the file to another pool drive, in this case the nas
  5. later radarr rescans the directory it thinks the file is in, looking at the pool and using the permissions it has for the DB machine
  6. however the file is now on the nas, and although the radarr machine has separate permissions for the nas it doesnt know that it needs to use them, as far as its concerned it can just see a network share
  7. so radarr can't see the file and re-obtains it. but it can't replace it because the the db pool sees the file.
  8. i think i proved this by, from the radarr machine, navigating to the same file, both through the pool and directly on the nas. it plays fine when going direct but not through the pool.
  9. i see precisely the same when accessing from any other third pc, eg my laptop on which i'm typing now, i can play from the nas directly but not from the pool.

i hope this makes sense!

is there likely any solution here? am i even right in my thoughts? thanks!

Share this post


Link to post
Share on other sites

Ok, I need a diagram. 

A) You have PC1 that has some local disk, a landing zone disk/ssd, you have also used the "Add Network Drive" feature to include the NAS in the pool.

B) you have a NAS that is part of the pool.

C) you have a Radarr box that stores it's content on the pool using the Pools drive letter.

I don't understand why the Radarr box is even looking at the NAS. The raddar box shouldn't know that it's writing to the landing zone as that is DB's job to manage.

 

This is what I'd do.

On PC1 lets assume the DB pool is assigned drive letter P: and the raddar content is to be dropped into P:\downloads\raddar\

If you haven't already I'd create a user ID on PC1 for the raddar process e.g. raddar_user.

I'd then create create a share called PC1\Raddar by going to the P:\downloads\ directory, right click on the raddar folder and select "give access to" or Share (depending on the OS), lets call this share "raddar_drop". I'd give the PC1 user raddar_user full acesss.  (I'm limiting it to the p:\downloads\raddar folder so malware is limited to the raddar folder on PC1.

Back on the Raddar box, I'd configure radar to access the \\PC1\raddar_drop share and use the user/pw for pc1\raddar_user for authentication.

 

So during the writing of files to the PC1 box the network traffic will be  Raddar-box > PC1 but later after the landing zone clears (hours latter) the traffic will be  Radar-box <-> PC1 <->NAS.

 

Share this post


Link to post
Share on other sites

WRT your comment in the post above about "when the landing zone is cleared DB moves the file to another pool drive, in this case the nas", there's no way of knowing which "physical" disc the file is moved to, unless you directly access each disk to find the file, so I'm not sure how you can make that statement about the LZ clearing and moving to the NAS. I believe, it moves files to the "physical" disc with the most free space on.

 

I've never used network drives in my pools, so not 100% sure of any permissions that might be needed, if at all.

 

Does the NAS share that you added to DB have read/write permissions to all users?

 

Share this post


Link to post
Share on other sites

:) perhaps i've been too complicated in my explanation. Looking further i can see radarr isnt the issue, i get the same in windows explorer from any third PC. i can answer Cbers Q:

i agree normally but because i can access the nas from a 3rd PC as a UNC or mapped drive independently of the DB pool i can see what is on there. i can see it has the complete pool folder structure but only files in some folders. i can see all my problem files are on the NAS. there are no issues accessing anything on the NAS through the pool from the DB PC, its only when i bring a 3rd PC into play i have the issue

then ruralcricket:

so lets forget radarr, lets just use my laptop as the 3rd pc, from which i am writing this. AFAIK the laptop knows nothing of the NAS, it just sees the DB pool at z:\. but some of those files physically reside on the NAS as explained above. if i navigate to the file through z:\ i can't do anything with it, play it, delete it rename it etc. if i go through the unc or mapped drive direct to the nas at say W:\ then i can do all these things. I can't see anything else that explains this other than permissions.

so excluding radarr and just thinking about windows, do you think the scenario i have described above should work? i'm absolutely no expert at any of this but it seemed to make sense to me and i can't see anywhere i could change anything to fix this. there are authentication fields in DB for remote drives but DB had and has full access anyway because i previously mapped the nas drives from the DB PC, but i also filled these in, it didn't seem to change anything.

for now i removed the network drive from the pool as i understand there are other drawbacks to this, variable speeds for one. but if it is possible to fix i'd be interested in re-testing this.

cheers

Share this post


Link to post
Share on other sites
12 hours ago, CBers said:

What permissions does your pool mountpoint (Z:) have?

Does everyone have FULL access to it?

Is the Z: drive a share under Windows?

Yes, everyone has full control of the Z Drive at the root level. The Z Drive is also shared with other PC's on the network

Share this post


Link to post
Share on other sites
On 11/10/2018 at 8:47 PM, spaceboy said:

:) perhaps i've been too complicated in my explanation. Looking further i can see radarr isnt the issue, i get the same in windows explorer from any third PC. i can answer Cbers Q:

i agree normally but because i can access the nas from a 3rd PC as a UNC or mapped drive independently of the DB pool i can see what is on there. i can see it has the complete pool folder structure but only files in some folders. i can see all my problem files are on the NAS. there are no issues accessing anything on the NAS through the pool from the DB PC, its only when i bring a 3rd PC into play i have the issue

then ruralcricket:

so lets forget radarr, lets just use my laptop as the 3rd pc, from which i am writing this. AFAIK the laptop knows nothing of the NAS, it just sees the DB pool at z:\. but some of those files physically reside on the NAS as explained above. if i navigate to the file through z:\ i can't do anything with it, play it, delete it rename it etc. if i go through the unc or mapped drive direct to the nas at say W:\ then i can do all these things. I can't see anything else that explains this other than permissions.

so excluding radarr and just thinking about windows, do you think the scenario i have described above should work? i'm absolutely no expert at any of this but it seemed to make sense to me and i can't see anywhere i could change anything to fix this. there are authentication fields in DB for remote drives but DB had and has full access anyway because i previously mapped the nas drives from the DB PC, but i also filled these in, it didn't seem to change anything.

for now i removed the network drive from the pool as i understand there are other drawbacks to this, variable speeds for one. but if it is possible to fix i'd be interested in re-testing this.

cheers

Thanks for the info... just want to confirm you are running v2.8?

I can say we are chasing a network permissions issue for network shares ATM (we are trying to get it sorted before the v3.1 release), I suspect this is related.

Share this post


Link to post
Share on other sites
1 hour ago, Anthony said:

Thanks for the info... just want to confirm you are running v2.8?

I can say we are chasing a network permissions issue for network shares ATM (we are trying to get it sorted before the v3.1 release), I suspect this is related.

hi anthony, i am running v3.0.0.0.

no problem, as i say i have removed the nas network drive from the pool for now. let me know if there is anything i can test if that would be helpful

Share this post


Link to post
Share on other sites

hi, i just wanted to confirm that this still appears to be an issue in 3.0.0.9 beta. same symptoms, when i try and access from a 3rd pc a file in the pool but physically located on a network drive then i get told i have the wrong username / password. fine on the db PC that has the pool

Share this post


Link to post
Share on other sites

Any update on this issue? I'm using 3.1 and I think I am running into the same issue. I'd like to create a DB VM with attached network drives and share the pooled network drives with other servers/services.  I keep getting prompted that I don't have permission on any other computer making changes to the shared pool/db drive

Share this post


Link to post
Share on other sites

so i havent taken this any further, it wasnt working the last time i tested it. I think Anthony did ask me for an update and i didn't reply mostly because i came to realise that adding a networked drive as part of the pool might have performance effects that i hadnt anticipated. i was really trying it to see if it did work.

if progress can be made then i am able to help test any changes but i'm not going to drive this

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...