Jump to content

Sharing a cache drive folder


Dephcon

Recommended Posts

I'm afraid that's not possible, user shares are created on the array and the cache drive is a drive that is not part of the array. What you could do is to map a network drive to that folder (assuming you're using Windows- I don't know how it's calle don other OS's).

Link to comment

I'm afraid that's not possible, user shares are created on the array and the cache drive is a drive that is not part of the array. What you could do is to map a network drive to that folder (assuming you're using Windows- I don't know how it's calle don other OS's).

Actually, it is very possible, and very easy.

You need to create a file on the flash drive, in the "config" folder,  named

config/smb-extra.conf

(if it is not already there, create the file yourself.  If it does exist, add the following lines at the end.)

 

In it put these three lines:

[Downloads]

 path = /mnt/cache/.downloads

 read only = no

 

Create/edit  the file using an editor that does NOT put carriage returns on the ends of lines.  (In other words, do not use Windows notepad)  If you must use a windows editor, then you can process the resulting file to remove the carriage returns by typing:

fromdos </boot/config/smb-extra.conf >/tmp/smb-extra.conf

mv /tmp/smb-extra.conf /boot/config/smb-extra.conf

 

Once the file is in place, you can "Stop" and "Re-Start" the unRAID server and the new share will be accessible on the LAN.

 

Joe L.

 

edit: fixed typo.   Reminder  to self... finish morning coffee before attempting to type accurately.

Link to comment

Thanks a lot Joe!

 

Using this for everything I download except for what sickbeard downloads, that gets moved to the array automagically.  Gives me a chance to do metadata/renaming and all that jazz before writing to the array.  Plus a lot of the movies I DL aren't worth keeping so I assume it keeps array fragmentation down. 

Link to comment

Archived

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

×
×
  • Create New...