Trying to move about 650GB from cache to array to upgrade cache drive. Running for over 12 hours and not even half done yet...is this normal?


Recommended Posts

As the title says I am trying to upgrade my cache disk so I am moving everything to the array. 
 

I stopped docker and VM services first, and set all shares to use cache yes. The mover is running but it’s been over 12 hours and it’s not even half done. I would have expected a transfer time closer to 6 hours. 
 

so far I have used “renice” and “ionice” to set the priorities of the processes involved in moving higher, but it doesn’t seem to have made much difference. 
 

I was hoping to do that cache upgrade this morning, but at this rate I’ll be lucky if I can do it by tonight. 

Link to comment
1 hour ago, relink said:

I just realized that midnight commander is built in to unraid. Woul I just stop the mover and then use that to move the folders from “/mnt/cache” to “/mnt/user”?

NO!

 

/mnt/user is for User Shares that include the cache drive and if you try this will end up losing your files as they will be truncated to 0 bites as they try and copy on top of themselves.

 

You need to either use a named drive such as /mnt/diskX for the target or  if you want it to be a User Share use /mnt/user0 as the target as that is the user share files that are only on the main array omitting the cache drive

Link to comment
9 hours ago, itimpi said:

NO!

Good thing I ended up not doing that at the last second. 
 

instead I decided to add my new nvme drive as a second cache, and use MC to move everything from the old one to the new one and reassign the cache for each share. 
 

however, this is still ungodly slow. Midnight commander “claims” it’s transferring at 15MB/s ...it’s not, there’s no way. It’s maybe 15Mb/s if that. 
 

I calculated out the transfer time beforehand and this should have been done hours ago, yet it’s still going.

Edited by relink
Link to comment
  • 1 year later...
On 3/21/2021 at 10:02 AM, itimpi said:

NO!

 

/mnt/user is for User Shares that include the cache drive and if you try this will end up losing your files as they will be truncated to 0 bites as they try and copy on top of themselves.

 

You need to either use a named drive such as /mnt/diskX for the target or  if you want it to be a User Share use /mnt/user0 as the target as that is the user share files that are only on the main array omitting the cache drive

So I just found this thread while remembering vaguely that there's a no-no somewhere when it comes to transferring files manually, in this case the 0-byte truncation issue you mentioned.

 

What's still not clear to me is which directories are safe to move files between. As an example, I'm hoping to move everything from my Cache pool to a new Temp Pool drive. Can I safely move for example /mnt/cache/appdata to (newly created) /mnt/temp/appdata?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.