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.

Transferring files directly to cache drive issue

Featured Replies

Edit: Restarting the server fixed this.

 

I rip movies directly to my cache drive onto a "cache only" share. Then I move those movies off the cache only share, so the cache drive sends them over next time the mover script runs. This avoids having to transfer them twice. However, doing this, the array will not show the data until the mover script command is sent. So there's about a week of data I can't see on my server. I am forced to transfer the data into the array, even though it's already in the correct directories on my cache, then have it "transfer" them back to the cache. This seems totally unnecessary, as they are already on the cache drive, and I should be able move them into the correct directories and have unraid automatically pick them up.

 

It seems unraid does not check for new files on the cache drive, if you directly transfer them there. If I start the mover script it immediately sees all the files in the array, but that requires me to run the mover script, which spins up all the drives. Is there any way to fix this?

Then I move those movies off the cache only share, so the cache drive sends them over next time the mover script runs.

 

So, you're moving files from

 

/mnt/cache/*Cache Only Share*/Folder/File

 

to

 

/mnt/cache/*Other User Share*/Folder/File

 

Is that correct?

 

How are you doing the move? Through Telnet? Midnight Commander? Externally (ie, from a Windows Machine using explorer)?

 

The mover script runs at a predetermined time. It doesn't detect new files added to the cache disk.

The default is 24 hours, I believe this can be changed. If it is set to 1 week then the data will sit on the disk for up to a week (depending where in the cycle you copy it onto the disk).

 

That being said, when you look through the user share, it should still show. I extract files to the cache drive all the time and it instantly shows up in the user share view.

  • Author

Then I move those movies off the cache only share, so the cache drive sends them over next time the mover script runs.

 

So, you're moving files from

 

/mnt/cache/*Cache Only Share*/Folder/File

 

to

 

/mnt/cache/*Other User Share*/Folder/File

 

Is that correct?

 

How are you doing the move? Through Telnet? Midnight Commander? Externally (ie, from a Windows Machine using explorer)?

 

The mover script runs at a predetermined time. It doesn't detect new files added to the cache disk.

The default is 24 hours, I believe this can be changed. If it is set to 1 week then the data will sit on the disk for up to a week (depending where in the cycle you copy it onto the disk).

 

That being said, when you look through the user share, it should still show. I extract files to the cache drive all the time and it instantly shows up in the user share view.

 

I rip to /mnt/cache/Stationary/DVDFab and then I cut/paste the files to mnt/cache/Media/Movies. Stationary is my Cache Only share, Media is my User Share. It's an instant transfer, because it's on the same drive. I'm using windows to do it. It does not show the new files in the user share when I do this. I have to start the mover script, then it shows them and moves them over.

 

To test, I made test.txt and transferred it directly from my computer into mnt/cache/Media/Movies, bypassing the user share. It does not show up in the user share, I waited 30 minutes. As soon as I click "run mover script" it does. If I copy that same test.txt into my user share, then it sends it to the cache drive correctly and it shows up in my user share.

 

EDIT: I decided to try restarting the server completely, and it seems to have fixed it. Strange. I will report back if it happens again.

Then I move those movies off the cache only share, so the cache drive sends them over next time the mover script runs.

 

So, you're moving files from

 

/mnt/cache/*Cache Only Share*/Folder/File

 

to

 

/mnt/cache/*Other User Share*/Folder/File

 

Is that correct?

 

How are you doing the move? Through Telnet? Midnight Commander? Externally (ie, from a Windows Machine using explorer)?

 

The mover script runs at a predetermined time. It doesn't detect new files added to the cache disk.

The default is 24 hours, I believe this can be changed. If it is set to 1 week then the data will sit on the disk for up to a week (depending where in the cycle you copy it onto the disk).

 

That being said, when you look through the user share, it should still show. I extract files to the cache drive all the time and it instantly shows up in the user share view.

 

I rip to /mnt/cache/Stationary/DVDFab and then I cut/paste the files to mnt/cache/Media/Movies. Stationary is my Cache Only share, Media is my User Share. It's an instant transfer, because it's on the same drive. I'm using windows to do it. It does not show the new files in the user share when I do this. I have to start the mover script, then it shows them and moves them over.

 

To test, I made test.txt and transferred it directly from my computer into mnt/cache/Media/Movies, bypassing the user share. It does not show up in the user share, I waited 30 minutes. As soon as I click "run mover script" it does. If I copy that same test.txt into my user share, then it sends it to the cache drive correctly and it shows up in my user share.

 

EDIT: I decided to try restarting the server completely, and it seems to have fixed it. Strange. I will report back if it happens again.

Sounds like a bug to me, that a move from a cache only share to one on the cache drive that is affiliated with a user-share does not instantly show in the user-share. 

Sorry for the silly question, but want to make sure. You do have the movie share setup as 'Use cache disk' = Yes (in the share settings, besides the disk(s) you have inputting to be included in the share), right?

  • Author

Sorry for the silly question, but want to make sure. You do have the movie share setup as 'Use cache disk' = Yes (in the share settings, besides the disk(s) you have inputting to be included in the share), right?

 

Yes I did, it's working now after a server restart with the same settings. It still seems to be working fine, I will be sure to report if it happens again. Hopefully it was a fluke.

Sorry for the silly question, but want to make sure. You do have the movie share setup as 'Use cache disk' = Yes (in the share settings, besides the disk(s) you have inputting to be included in the share), right?

 

Yes I did, it's working now after a server restart with the same settings. It still seems to be working fine, I will be sure to report if it happens again. Hopefully it was a fluke.

 

Not flaming but this is why level 1 tech support always ask the "have you tried rebooting it?" question ;D

Not flaming but this is why level 1 tech support always ask the "have you tried rebooting it?" question ;D

 

Ah, the Microsoft/Windows mentality!  It shouldn't be necessary to reboot.  If the system got itself into an unusable state, it's usually due to a software bug (or, just possibly, a hardware glitch - but this is much less likely).

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.