Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Newb needs help with cache disk, mover, share setup

Featured Replies

Greetings, I'm hoping you guys can offer me some help. New to unRAID and loving it (thanks to it's community)

 

Problem: I have 4 user shares 2 physical drives and can't seem to run Mover.

 

OS:Ubuntu 16.x

4 User Shares: arrayvdisks, docker, ISOs and vdisks.

Physical Drives: 120gb SSD + 500gb HDD

 

User Share vdisks and docker are on my SSD setup to "Use cache disk: Only" As to not copy OS I assume...but...all the files I've acquired have nearly filled up the SSD and I want to copy them to the arravdisk via mover. (I believe it works this way.) I don't leave my pc on over night, so I tried to run Mover via the GUI and the lost states:

 

May 25 16:38:46 XXXXXX emhttp: shcmd (68): /usr/local/sbin/mover |& logger &

May 25 16:38:46 XXXXXX logger: mover started

May 25 16:38:46 XXXXXX logger: skipping "Docker"

May 25 16:38:46 XXXXXX logger: skipping "vdisks"

May 25 16:38:46 XXXXXX logger: mover finished

 

Anyhow. I'm stuck trying to figure out how I can move these files without disturbing the OS. Did I mess up the config?

 

Any help or guidance would be appreciated, I've tried looking through the 5->6 OS upgrade guide as it's recommended but I didn't find any help.

 

Thanks.

 

 

Hi -

 

When you setup a share as "Use cache disk: Only" you are telling unRAID that you want all the files in that share to remain permanently on the cache drive.  In other words, you are also telling unRAID to skip over any files in these shares when Mover runs... because you don't want them moved.  If you want Mover to move files to the array then they need to be in a share with Use cache disk: Yes.  Since you want your vdisk or docker image to remain on the cache drive, this means that you don't want to co-mingle vdisks/image files with things like video, photos, etc. (things you want on the array) in the same share.

 

Sorry that's probably bad news, but I hope it helps.

 

Oh, FYI - some applications like SickBeard have from/to copy processing.  If you set them up to download to the cache drive, but then rename and copy files to a user share you can get the data where you want it.

  • Author

Hi -

 

When you setup a share as "Use cache disk: Only" you are telling unRAID that you want all the files in that share to remain permanently on the cache drive.  In other words, you are also telling unRAID to skip over any files in these shares when Mover runs... because you don't want them moved.  If you want Mover to move files to the array then they need to be in a share with Use cache disk: Yes.  Since you want your vdisk or docker image to remain on the cache drive, this means that you don't want to co-mingle vdisks/image files with things like video, photos, etc. (things you want on the array) in the same share.

 

Sorry that's probably bad news, but I hope it helps.

 

Oh, FYI - some applications like SickBeard have from/to copy processing.  If you set them up to download to the cache drive, but then rename and copy files to a user share you can get the data where you want it.

 

Thanks for the reply, that's kinda what I feared.

 

I use SAB and SickRage. Whats the best way to have my media and OS separated, is it possible to have both go to the Cache, and just the media gets Moved?

 

Edit: Just to clarify. I believe I would need to create a new share called "Media" and select "yes" for "use cache disk", correct?

 

I just need to know how I get my media files off this vdisk share to a new "media" share, allowing the OS and downloads to use the cache, but only the "media" to get Moved.

 

Thanks.

  • Author

Any options or direction would be appreciated.

 

Thank you.

I'm at work so I don't recall the config options for SickRage.  Bottom line, though, the path you use for your TV Shows / Media should not be a cache-only share.  Cache yes is fine, and cache no is fine - but not cache only.  I'll look tonight.  Which SickRage docker are you using?

  • Author

I'm at work so I don't recall the config options for SickRage.  Bottom line, though, the path you use for your TV Shows / Media should not be a cache-only share.  Cache yes is fine, and cache no is fine - but not cache only.  I'll look tonight.  Which SickRage docker are you using?

 

I'm having trouble figuring out how to save to a different share. For instance, I just created a new share called "Media Storage Array" and set Use Cache Disk to Yes - how do I now start saving too it?

 

I'm an Linux/unRAID newb. I'm just not sure how it shows up and how I direct future media to it from my Ubuntu VM.

 

Thanks.

For SickRage I have the following volume mappings:

 

/config - /mnt/cache/apps/sickrage/

/downloads - /mnt/cache/apps/downloads/complete/tv/

/tv - /mnt/user/TVShows/

 

Note that my config and downloads directories are on the cache drive but /tv references a user share which is on the array.  This means that SickRage post-processing reads from the cache drive and writes to the storage array.  BTW, I setup "apps" a long time ago before appdata became the standard.

 

I don't use write-caching for regular user shares.  All my writes go directly to the array.  There's no requirement to use the cache drive for that purpose and I find writes to the array are fast enough for my purposes.  So, the user share TVShows has Use Cache Disk set to No.  You could also set it to Yes, and Mover will do its thing nightly.

 

Media Storage Array is a pretty complicated share name.  Nothing wrong with it, but I like short descriptive names without spaces in them.  So my share names are things like TVShows, Movies, Shared, Photos, Backup, etc.  Media is another common one, typically combining TVShows, Movies, etc. underneath it.  From Windows then you access \\tower\TVShows or \\tower\Media\TVShows.

  • Author

For SickRage I have the following volume mappings:

 

/config - /mnt/cache/apps/sickrage/

/downloads - /mnt/cache/apps/downloads/complete/tv/

/tv - /mnt/user/TVShows/

 

Note that my config and downloads directories are on the cache drive but /tv references a user share which is on the array.  This means that SickRage post-processing reads from the cache drive and writes to the storage array.  BTW, I setup "apps" a long time ago before appdata became the standard.

 

I don't use write-caching for regular user shares.  All my writes go directly to the array.  There's no requirement to use the cache drive for that purpose and I find writes to the array are fast enough for my purposes.  So, the user share TVShows has Use Cache Disk set to No.  You could also set it to Yes, and Mover will do its thing nightly.

 

Media Storage Array is a pretty complicated share name.  Nothing wrong with it, but I like short descriptive names without spaces in them.  So my share names are things like TVShows, Movies, Shared, Photos, Backup, etc.  Media is another common one, typically combining TVShows, Movies, etc. underneath it.  From Windows then you access \\tower\TVShows or \\tower\Media\TVShows.

 

Thank you for this.

 

How do I make SABnzbd recognize the path /mnt/disk1/Media. It's default base folder is /home/user/. When I try to add /mnt/disk1/Media it fails to save. I intend to write files directly to the array.

For SickRage I have the following volume mappings:

 

/config - /mnt/cache/apps/sickrage/

/downloads - /mnt/cache/apps/downloads/complete/tv/

/tv - /mnt/user/TVShows/

 

Note that my config and downloads directories are on the cache drive but /tv references a user share which is on the array.  This means that SickRage post-processing reads from the cache drive and writes to the storage array.  BTW, I setup "apps" a long time ago before appdata became the standard.

 

I don't use write-caching for regular user shares.  All my writes go directly to the array.  There's no requirement to use the cache drive for that purpose and I find writes to the array are fast enough for my purposes.  So, the user share TVShows has Use Cache Disk set to No.  You could also set it to Yes, and Mover will do its thing nightly.

 

Media Storage Array is a pretty complicated share name.  Nothing wrong with it, but I like short descriptive names without spaces in them.  So my share names are things like TVShows, Movies, Shared, Photos, Backup, etc.  Media is another common one, typically combining TVShows, Movies, etc. underneath it.  From Windows then you access \\tower\TVShows or \\tower\Media\TVShows.

 

Thank you for this.

 

How do I make SABnzbd recognize the path /mnt/disk1/Media. It's default base folder is /home/user/. When I try to add /mnt/disk1/Media it fails to save. I intend to write files directly to the array.

On what machine is SAB running?  On your Ubuntu box or as a docker on unRaid.

 

 

  • Author

For SickRage I have the following volume mappings:

 

/config - /mnt/cache/apps/sickrage/

/downloads - /mnt/cache/apps/downloads/complete/tv/

/tv - /mnt/user/TVShows/

 

Note that my config and downloads directories are on the cache drive but /tv references a user share which is on the array.  This means that SickRage post-processing reads from the cache drive and writes to the storage array.  BTW, I setup "apps" a long time ago before appdata became the standard.

 

I don't use write-caching for regular user shares.  All my writes go directly to the array.  There's no requirement to use the cache drive for that purpose and I find writes to the array are fast enough for my purposes.  So, the user share TVShows has Use Cache Disk set to No.  You could also set it to Yes, and Mover will do its thing nightly.

 

Media Storage Array is a pretty complicated share name.  Nothing wrong with it, but I like short descriptive names without spaces in them.  So my share names are things like TVShows, Movies, Shared, Photos, Backup, etc.  Media is another common one, typically combining TVShows, Movies, etc. underneath it.  From Windows then you access \\tower\TVShows or \\tower\Media\TVShows.

 

Thank you for this.

 

How do I make SABnzbd recognize the path /mnt/disk1/Media. It's default base folder is /home/user/. When I try to add /mnt/disk1/Media it fails to save. I intend to write files directly to the array.

On what machine is SAB running?  On your Ubuntu box or as a docker on unRaid.

 

It's on the Ubuntu VM.

Not a real Linux guy, but don't you still have to mount the smb (or nfs) share within ubuntu?  Last time I played around I searched their store for smb and found a program to handle it nice and easy without modifying the various settings etc.

 

Sent from my LG-D852 using Tapatalk

 

 

  • Author

Not a real Linux guy, but don't you still have to mount the smb (or nfs) share within ubuntu?  Last time I played around I searched their store for smb and found a program to handle it nice and easy without modifying the various settings etc.

 

Sent from my LG-D852 using Tapatalk

 

I've come across this in my research but I'm not sure it's required to do what I want to do. I just want to change the default path in SAB to my newly created "media" share created in unRAID. The paths I keep entering fail to save. When I click on the "media" share I created, the path is /mnt/user/Media - Ubuntu doesn't recognize this, I need to figure out how I can write directly to this path (the array).

You have to mount that share within ubuntu so that anything running on it can see that path

 

Sent from my LG-D852 using Tapatalk

 

 

Alternatively you might be able to refer to the path as something like smb://tower/sharename

 

Sent from my LG-D852 using Tapatalk

 

 

Or if you are running the Ubuntu vm purely for SAB consider using a SAB docker.

That would remove the whole need for a Linux vm and makes your life a lot easier.

 

Look for the community application plugin and the search for the dockers you need.

 

Happy to help out with the docker mappings if you decide to go down that path.

Or if you are running the Ubuntu vm purely for SAB consider using a SAB docker.

That would remove the whole need for a Linux vm and makes your life a lot easier.

 

Look for the community application plugin and the search for the dockers you need.

 

Happy to help out with the docker mappings if you decide to go down that path.

+1

  • Author

Or if you are running the Ubuntu vm purely for SAB consider using a SAB docker.

That would remove the whole need for a Linux vm and makes your life a lot easier.

 

Look for the community application plugin and the search for the dockers you need.

 

Happy to help out with the docker mappings if you decide to go down that path.

 

Unfortunately, the VM hosts multiple services in conjunction with SAB (SickRage, CP, few others... I appreciate the tip and advice though.

 

I still need help accessing the path to my nearly created "Media" user share as explained in the earlier post. Another user said I have to "mount" this new share to Ubuntu? I know I'm sooo close but can't make this link.

 

OK, I would still try to avoid the linux VM if you just want to rund download services.

 

But if you want the VM, then yes, you need to mount the Media share in ubuntu.

It is much like mapping a network drive in Windows.

In Windows you should be able to see \\tower\Media now and you could map it to M: for example.

 

In linux you can mount \\tower\Media to /mnt/Media and then you can access it like any local directory.

 

I just tried this in my VM.

Go to files -> Connect Server

type smb://tower

connect

chose your share, right click and mount it

after confirming the password it shows up in the list on the left.

 

hope this helps

ubuntu1.PNG.1f263906b1910f579a34749b75a647fb.PNG

Unfortunately, the VM hosts multiple services in conjunction with SAB (SickRage, CP, few others... I appreciate the tip and advice though.

There is a high likelyhood that there are docker containers for ALL the services that you want to use. If you like learning new techniques and getting things optimized, I recommend installing Community Applications plugin, and browsing the list of available containers. Chances are you could accomplish everything you wanted without keeping a VM maintained and tying up resources.

 

If you don't like change, and want to keep working the same way, that's fine too.

  • Author

Guys thank you so much for your time and expertise. I'm currently at work and will try this later.

 

Since I'm also an unRAID newb, dockers are somewhat foreign to me but I can see the value in having them off a VM, freeing up resources for perhaps a dedicated windows box.

 

Thanks again, I'll check back later.

If you haven't installed the Community Applications plugin you should.  There are dozens (hundreds?) of Dockers available that will do everything you need to run a media server.  Dockers are the default way you should should think of to extend the functionality of unRAID 6. 

 

If you want to learn more about VMs then go for it - they're fun, allow you to run Windows, and are helpful for Linux edge cases.  But for everyday functionality you're best off with Dockers (and plugins when they are needed).

  • Author

If you haven't installed the Community Applications plugin you should.  There are dozens (hundreds?) of Dockers available that will do everything you need to run a media server.  Dockers are the default way you should should think of to extend the functionality of unRAID 6. 

 

If you want to learn more about VMs then go for it - they're fun, allow you to run Windows, and are helpful for Linux edge cases.  But for everyday functionality you're best off with Dockers (and plugins when they are needed).

 

Well I'm sold on using Containers for handling my media needs, thanks for this suggestion - now I could use a hand on best practices.

 

I have 1 SSD and 2 HDDs. Should the /config always go on the cache? Right now I have everything (all paths) going to Disk1 - and something tells me that's wrong. I believe it will defeat the High Water Allocation Method which the Mover follows? (Correct me if I'm wrong) Should all paths point to cache and let Mover push them over each night?

 

We're reaching the final stretch, thanks for sticking with me! lol

 

 

I think this is a good decision.

 

so here is how my setup works.

 

use the SSD as a cache disk

create a share called appdatathat is cache-only, this is where you store all the docker configuration.

then you mentioned before that you have a share called Media, this could include the cache or not. I leave it off, as my cache disk is rather small.

but I keep all my media that is being downloaded on the ssd to prevent the array/parity from spinning constantly.

 

so this is my structure:

 

/mnt/cache/appdata/<dockers>
/mnt/cache/download/Completed
/mnt/cache/download/Incomplete
/mnt/cache/download/torrents

/mnt/user/Media/Movies
/mnt/user/Media/TVSeries
...

 

now when you install the dockers, make sure to map the internal directories to these correct shares

sonarr:

/config <-> /mnt/cache/appdata/sonarr
/tv <-> /mnt/user/Media/TVSeries
/Completed <-> /mnt/cache/download/Completed

in this way sonarr will look in /Completed (on the cache) for episodes that are downloaded and move them to /tv (the array)

 

be careful with capitalisation as linux is case sensitive!

 

Hope this gets you started.

Let us know if you have specific questions....

 

 

 

 

  • Author

I think this is a good decision.

 

so here is how my setup works.

 

use the SSD as a cache disk

create a share called appdatathat is cache-only, this is where you store all the docker configuration.

then you mentioned before that you have a share called Media, this could include the cache or not. I leave it off, as my cache disk is rather small.

but I keep all my media that is being downloaded on the ssd to prevent the array/parity from spinning constantly.

 

so this is my structure:

 

/mnt/cache/appdata/<dockers>
/mnt/cache/download/Completed
/mnt/cache/download/Incomplete
/mnt/cache/download/torrents

/mnt/user/Media/Movies
/mnt/user/Media/TVSeries
...

 

now when you install the dockers, make sure to map the internal directories to these correct shares

sonarr:

/config <-> /mnt/cache/appdata/sonarr
/tv <-> /mnt/user/Media/TVSeries
/Completed <-> /mnt/cache/download/Completed

in this way sonarr will look in /Completed (on the cache) for episodes that are downloaded and move them to /tv (the array)

 

be careful with capitalisation as linux is case sensitive!

 

Hope this gets you started.

Let us know if you have specific questions....

 

Thanks for this. Everything was working but now SickRage took a nosedive - I've removed the container and image, installed other containers from other authors and it just wont load the webgui - "This site can't be reached" ERR_CONNECTION_REFUSED. I didn't touch any network settings, all I was doing was optimizing paths on other containers. Reboot my PC/Router, no dice. Can't figure out what happened but that's about the only thing stopping me from glory.

 

Per Log:

 

2016-05-28 07:27:45,821 DEBG 'sickrage' stderr output:

raise error

configobj

2016-05-28 07:27:45,821 DEBG 'sickrage' stderr output:

.ConfigObjError: Parsing failed with several errors.

First error at line 1424.

 

 

 

2016-05-28 07:34:48,737 INFO exited: sickrage (exit status 1; not expected)

2016-05-28 07:34:48,737 DEBG received SIGCLD indicating a child quit

2016-05-28 07:34:49,739 INFO gave up: sickrage entered FATAL state, too many start retries too quickly

 

^too many start retries? Any help would be appreciated.

Archived

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.