Jump to content

Somehow my cache drive became part of my videos share - and I have no idea why.


whauk

Recommended Posts

Posted

Here's the setup:

Each night Sickbeard and SABnzbd download my TV shows and move them to a directory on the chache drive (\\NAS\cache\Downloads\complete). Sickbeard renames them and should move them to the array (\\NAS\Videos\Serien\TV-Show-Name-goes here).

Lately I've noticed that some of the episodes, using the naming structure above (\\NAS\Videos\Serien\TV-Show-Name-goes here) remain on the cache drive - so it seems that Unraid somehow considers the cahce drive to be part of the array.

Has anyone experienced such a strange behaviour before and knows how this came about?

I am on 6.1.3 and the cache drive is two pooled SSDs. "Use cache disk" is set to "No" for the Videos share.

Posted

I didn't have one. It was created by no idea whom or what without my interference.

I just moved a batch of episodes from the "wrong" cache directory (Videos) to the "complete" directory, deleted the "Videos" directory on the cache drive - and, bang, back they were where they don't belong.

Another strange thing is: When I look at the array size (from my Windows machine) all shares show the right size - only the "Videos" share shows the array size + the size of the cache disk.

It seems the real cause lies somewhere else.

Posted

You have used Windows style UNC paths in your original post. Does this mean that these applications are running on Windows and just using unRAID for storage, or are you running them on your unRAID server as a plugin or docker?

Posted

I use PhAzE's plugins on the Unraid box.

Apologies for the UNC backslashs - I always mix up the two.

So are these the actual paths you are using in the plugins?

/mnt/cache/Downloads/complete

/mnt/Videos/Serien/TV-Show-Name-goes here

 

Are you sure you don't have anything on the server configured to write to /mnt/cache/Videos?

Or anything on Windows configured to write to \\NAS\cache\Videos?

 

When you say "remain on the cache drive" do you mean that even mover will not move them to the array?

 

From console or telnet, what do you get with this?

ls -lah /mnt/cache

and this?

ls -lah /mnt/user0

 

Posted

Sorry, I was not precise:

In Sickbeard the TV Download Dir (where Sickbeard picks up the freshly downloaded shows) is set as: /mnt/user/Downloads/complete.

The directory where the renamed episodes are to be moved is /mnt/user/Videos/Serien/TV-Show-Name-goes here/

 

Are you sure you don't have anything on the server configured to write to /mnt/cache/Videos

Yes, I am.

 

When you say "remain on the cache drive" do you mean that even mover will not move them to the array?
No, it won't - I assume because on both of the shares that would be concerned here "Use cache disk:" is set to "No" - in my understanding this means that the mover would simply have nothing to move as there should be nothing on the cache disk.

 

root@NAS:/# ls -lah /mnt/cache

total 11G

drwxrwxrwx  1 nobody users 248 Sep 30 21:22 ./

drwxr-xr-x 12 root  root  240 Sep 30 18:01 ../

drwxr-xr-x  1 root  root  126 Sep 10 17:46 .PhAzE-Common/

drwxrwxrwx  1 whauk  users  12 Feb 16  2015 Couchpotato/

drwxr-xr-x  1 whauk  users 136 Sep 23 02:50 Downloads/

drwxrwxrwx  1 nobody users  12 Sep 10 17:46 Headphones/

drwxrwxrwx  1 whauk  users 156 Jul 11 18:47 ISO\ Files\ for\ VMs/

drwxrwxrwx  1 whauk  users  12 Sep 27 22:52 NZBs/

drwxrwxrwx  1 whauk  users  12 Feb 15  2015 Sabnzbd/

drwxrwxrwx  1 whauk  users  12 Aug  5 22:42 Sickbeard/

drwxrwxrwx  1 whauk  users  24 Jul 11 17:59 Virtual\ Machines\ (all)/

-rw-rw-rw-  1 whauk  users 10G Sep 30 18:03 docker.img

drwxrwxrwx  1 whauk  users  12 Nov 12  2014 transmission/

 

root@NAS:~# ls -lah /mnt/user0

total 0

drwxrwxrwx  1 nobody users 128 Sep 27 23:39 ./

drwxr-xr-x 12 root  root  240 Sep 30 18:01 ../

drwxrwxrwx  1 nobody users 144 Sep 30 21:20 Musik/

drwxrwxrwx  1 whauk  users 160 Sep 30 17:02 Videos/

root@NAS:~#

 

Posted

This is showing no Videos folder on your cache drive. Did you delete it again, or have you misdiagnosed your issue?

root@NAS:/# ls -lah /mnt/cache

total 11G

drwxrwxrwx  1 nobody users 248 Sep 30 21:22 ./

drwxr-xr-x 12 root  root  240 Sep 30 18:01 ../

drwxr-xr-x  1 root  root  126 Sep 10 17:46 .PhAzE-Common/

drwxrwxrwx  1 whauk  users  12 Feb 16  2015 Couchpotato/

drwxr-xr-x  1 whauk  users 136 Sep 23 02:50 Downloads/

drwxrwxrwx  1 nobody users  12 Sep 10 17:46 Headphones/

drwxrwxrwx  1 whauk  users 156 Jul 11 18:47 ISO\ Files\ for\ VMs/

drwxrwxrwx  1 whauk  users  12 Sep 27 22:52 NZBs/

drwxrwxrwx  1 whauk  users  12 Feb 15  2015 Sabnzbd/

drwxrwxrwx  1 whauk  users  12 Aug  5 22:42 Sickbeard/

drwxrwxrwx  1 whauk  users  24 Jul 11 17:59 Virtual\ Machines\ (all)/

-rw-rw-rw-  1 whauk  users 10G Sep 30 18:03 docker.img

drwxrwxrwx  1 whauk  users  12 Nov 12  2014 transmission/

 

root@NAS:~# ls -lah /mnt/user0

total 0

drwxrwxrwx  1 nobody users 128 Sep 27 23:39 ./

drwxr-xr-x 12 root  root  240 Sep 30 18:01 ../

drwxrwxrwx  1 nobody users 144 Sep 30 21:20 Musik/

drwxrwxrwx  1 whauk  users 160 Sep 30 17:02 Videos/

root@NAS:~#

Posted

I deleted the folder - see my 2nd post, please.

I did see your 2nd post.

...I just moved a batch of episodes from the "wrong" cache directory (Videos) to the "complete" directory, deleted the "Videos" directory on the cache drive - and, bang, back they were where they don't belong...

That's why I said

... Did you delete it again

I still have to think that you have something writing to /mnt/cache/Videos.
Posted

Was the Videos share set to Use cache: Yes and then you changed it to Use cache: No? If so, then you may have to stop and restart the array to get the change to take affect.

Posted

Sorry, I overlooked the "again". Yes, I deleted the folder again.

And no, though the videos share was not always set to "No" for "Use cache", there have been so many reboots since I last changed it to "No" that this should not be the reason either.

I think that it is really impossible to have something writing to /mnt/cache/Videos, since I seriously never intended to have such a folder on the cache disk. In my setup the folder which all apps acess is /mnt/cache/Downloads/complete - I just verified this again for Sickbeard, SAB and Couchpotato - no need for headphones and I definitely did not set up anything relevant from my Windows box; I always copy related stuff manually directly to the respectivedirectories on the array.

Posted

Sorry, I was not precise:

In Sickbeard the TV Download Dir (where Sickbeard picks up the freshly downloaded shows) is set as: /mnt/user/Downloads/complete.

The directory where the renamed episodes are to be moved is /mnt/user/Videos/Serien/TV-Show-Name-goes here/

Change the watched folder to /mnt/cache/Downloads/complete and see if that changes the behaviour.
Posted

This is strange: I was able to do that knowing the path - SB accepted the path when I manually input it, but SB did not show the cache drive when I used the "Browse" button, just as though I set the visibility (Export) of the cache drive to "Yes (hidden)" - which I did not - Export for the cache drive is set to "Yes" and has always been.

I can let you know about the outcome in 3 days (am away for the weekend).

Thanks for all the help!

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...