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.

Moving Files Within the Cache Drive

Featured Replies

I have a folder that is set to Cache only. When I attempt to move the files out of the cache only folder to my personal folders on unRAID it transfers at 12 Mb/s. Is this normal? If I copy something from the desktop to unRAID it goes at 50 Mb/s

 

Edit: Also it appears that when I move files within the cache drive it wakes up all my other drives... I am sure something is wrong.

  • Author

More testing (hopefully someone knows what's going on)

 

Used transmission to download Ubuntu to my apps "downloads" (cache only) directory.

 

RESULTS: (copy Ubuntu to the following locations)

Downloads to Array: 16 MB/s

Array to Downloads: ~50 MB/s

Downloads to Desktop PC: ~50 MB/s

Desktop PC to Array: ~50 MB/s

Desktop PC to Downloads: ~50 MB/s

 

I would think that coping Ubuntu from the downloads folder on the cache drive to the array (which still is the cache drive) would be going that fastest due to the fact that it is staying on the same drive... Anyone have any thoughts?

If you start the copy from your PC it will behave as a middleman. Meaning the file will have to be transferred from your cache to your PC then re-transferred back to your array most likely resulting in the slowdown.

 

Open a Telnet session to unRaid and use Midnight Commander (command is: mc) to move the file, you should see the speed you expect since the file is moved internally within the unRaid server.

 

More testing (hopefully someone knows what's going on)

 

Used transmission to download Ubuntu to my apps "downloads" (cache only) directory.

 

RESULTS: (copy Ubuntu to the following locations)

Downloads to Array: 16 MB/s

Array to Downloads: ~50 MB/s

Downloads to Desktop PC: ~50 MB/s

Desktop PC to Array: ~50 MB/s

Desktop PC to Downloads: ~50 MB/s

 

I would think that coping Ubuntu from the downloads folder on the cache drive to the array (which still is the cache drive) would be going that fastest due to the fact that it is staying on the same drive... Anyone have any thoughts?

 

Copying on the same drive is slowest due to thrashing. Moving the files on the same drive should be almost instantanious.

  • Author

You are correct, moving "Ubuntu" from /mnt/cache/apps/transmission/downloads/ to /mnt/cache/apps/transmission/ is instantaneous however it will not let me move the file to the array (it only seems to copy). Is there a faster way to move my downloads to the array? (ie. should I create the folders that get moved each day by the mover)

You are correct, moving "Ubuntu" from /mnt/cache/apps/transmission/downloads/ to /mnt/cache/apps/transmission/ is instantaneous however it will not let me move the file to the array (it only seems to copy). Is there a faster way to move my downloads to the array? (ie. should I create the folders that get moved each day by the mover)

 

This is the simplest solution. Move the completed files to the cache directory of a normal share and allow the mover to handle copying to the array.

Is the destination share where you are moving the file to on your array set to use the cache drive?

 

If yes, what's probably happening is this:

 

The file is sent from the unRaid cache folder over the network to your PC. The PC turns around and sends it right back to unRaid.  Since the array destination share is using the cache drive the file is stored back on the cache drive into a folder that mimics where it will eventually end up on your array the next time the mover runs.

 

Your PC sees the source and destination shares as two different drives and will copy the file even though it's copying back to the same cache drive. That would result in a lot of thrashing and very slow access.

 

The solution would be to turn off the destination share cache usage. Anything written to that share will then be immediately written to the array.

 

  • Author

@PCRx you are correct, however I do not want to remove those folders from the cache drive because I want the increased speed if I move files from the PC to the array

 

@dgaschk In general when I want to copy a file to the array (lets say the backup/PC folder) before I copy the file, the cache drive does not show the backup/PC folder directory. Once I copy the files backup/PC folder directory will be visible but once the mover starts the folders go away once it is done. So if I want to move the file instead of copy, should I create a folder directory (backup/pc) on the cache drive then move the files into that? If I manually add that directory will it disappear once the mover starts?

@PCRx you are correct, however I do not want to remove those folders from the cache drive because I want the increased speed if I move files from the PC to the array

 

@dgaschk In general when I want to copy a file to the array (lets say the backup/PC folder) before I copy the file, the cache drive does not show the backup/PC folder directory. Once I copy the files backup/PC folder directory will be visible but once the mover starts the folders go away once it is done. So if I want to move the file instead of copy, should I create a folder directory (backup/pc) on the cache drive then move the files into that? If I manually add that directory will it disappear once the mover starts?

 

 

Yes, this should work. Although, you may need to do the move using the command line or shell script rather than Windows Explorer.

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.