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.

Move all data from 2 drives onto the rest of the array while preserving hardlinks

Featured Replies

Hello,

 

I have an array of 8 drives, 6 of which I just finished upgrading from 8/10TB to 20TB drives. I plan on removing the remaining two 8TB drives and need to move all the data off them to the rest of the new drives.

 

Normally I would just use unbalanced without much thought, but I have hardlinks and need to make sure those are preserved.

 

What would be the best way to do this?

Solved by JorgeB

  • Community Expert
  • Solution

If you upgrade to 7.0.0-beta you can use the mover, it can now empty a disk.

I think you can use the unbalanced app and add -H to the rsync arguments in settings.

  • Author
On 7/12/2024 at 1:11 PM, JorgeB said:

If you upgrade to 7.0.0-beta you can use the mover, it can now empty a disk.

Apologies for the late reply, and thank you for yours. Just for a sanity check, would I just need to exclude the two drives from all shares and then start mover?

 

Ignore that last part, I found how to here https://docs.unraid.net/unraid-os/release-notes/7.0.0/#can-use-mover-to-empty-an-array-disk

Edited by MyNameHand

  • 1 month later...

Is there a way to do this with specific files rather than a whole disk? I am trying to consolidate commonly accessed files onto one disk to limit spin up of several disks at once. 

  • Community Expert
16 hours ago, jdiacobbo said:

Is there a way to do this with specific files rather than a whole disk?

Only manually.

  • 1 month later...
On 7/14/2024 at 5:54 PM, MyNameHand said:

Apologies for the late reply, and thank you for yours. Just for a sanity check, would I just need to exclude the two drives from all shares and then start mover?

 

Ignore that last part, I found how to here https://docs.unraid.net/unraid-os/release-notes/7.0.0/#can-use-mover-to-empty-an-array-disk

Hey, were you successful in transferring the data with hard links using mover, or what was your experience?  I need to do the same.

  • Author
1 hour ago, Darryl said:

Hey, were you successful in transferring the data with hard links using mover, or what was your experience?  I need to do the same.

Yep, everything transfered no problem, all hardlinks intact. One thing I will say is make sure you adjust your free space settings according to your needs before starting the transfer.

Edited by MyNameHand

5 hours ago, MyNameHand said:

Yep, everything transfered no problem, all hardlinks intact. One thing I will say is make sure you adjust your free space settings according to your needs before starting the transfer.

I thought mover was a terminal tool. Is it obvious where to change the free space settings?


One last question, were you on 7.0.0.beta.1 or beta.2?

  • Community Expert
12 hours ago, Darryl said:

Is it obvious where to change the free space settings?

You set it for a pool by clicking on the pool name on the Main tab, or for a share by clicking on the share name on the Shares tab.

  • 4 months later...

Do you have to keep the terminal open while you run the mover command? 

 

I tried:

mover start -e diskN |1 logger &

But it seems that the mover stops after the webterminal tab I executed the command in terminates when my computer goes to sleep. In this case there aren't any logs indicating that the mover process stopped. 

 

Is there any way around this? I'm trying to empty a drive that is 14tb which I'd prefer to do overnight without keeping my computer on. 

 

Edited by jickle

  • Community Expert
1 hour ago, jickle said:

Do you have to keep the terminal open while you run the mover command?

I believe so, but you can use, for example, the Tmux plugin.

On 1/23/2025 at 2:09 AM, JorgeB said:

I believe so, but you can use, for example, the Tmux plugin.

Tmux worked perfectly. I had never used it before, but it was easy enough to figure out. Thanks for the suggestion. 

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...

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.