Jump to content

Moving file from /mnt/cache/folder to /mnt/user/destination VERY slow


gcleaves

Recommended Posts

Posted

I have a single cache drive which is used by all my shares. Why is it so slow to mv a file (/mnt/cache/non-share-folder/bigfile.mov) from a random folder on the cache drive into /mnt/user/Movies? Since the destination of bigfile.mov is on the same drive, it should be near instantaneous. Yet it takes a very long time, as if unRaid were moving the file to a different disk. I can confirm that the file is NOT moved into the array but into the cache drive.

 

Doing a mv /mnt/cache/non-share-folder/bigfile.mov /mnt/cache/non-share-anotherfolder is instantaenous, as expected.

 

Thanks,

 

Geoff

unRAID Server Plus 6.1.3

Model: N/A

M/B: -

CPU: AMD Turion II Neo N54L Dual-Core @ 2200

HVM: Enabled

IOMMU: Disabled

Cache: 256 kB, 2048 kB

Memory: 8192 MB (max. installable capacity 8 GB)

Network: eth0: 1000Mb/s - Full Duplex

Kernel: Linux 4.1.7-unRAID x86_64

OpenSSL: 1.0.1p

Uptime:

Posted

Its because the file is moving from one mount point (cache) to another (user).  This is as expected, and for comparison windows and os/x will do the exact same thing in a similar situation

Posted

The move you specified will trigger a copy/delete action because the copying client does not realize they are actually on the same drive.

 

If you want the move to be fast then do the move from (/mnt/cache/non-share-folder/ to (/mnt/cache/Movies.  As long as the 'Movies' share is set to use the cache then it will immediately appear as available under the Movies user share, and later mover will move it to the main data array.

Archived

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

×
×
  • Create New...