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.

(7.0.1) How best to move data off a disk so it can removed?

Featured Replies

I find myself needing to move all the data off one of my data disks and onto the others so that I can remove the disk from the array (and the system)

But I cannot work out what is the best / correct way to do this.

I've found various instructions for various methods but it is not clear to me how / if the data will actually be preserved with some of them.

How do I safely achieve this without losing data?

I don't care which of the other disks the data ends up on, I just need it off the disk in question.

Thanks

Solved by JorgeB

  • Author

So for this disk

image.png

I would literally just use

mover start -e disk5 |& logger &

Is that correct?

Does the array need to be in maintenance mode or anything, should I avoid writing anything new to the sever in case it ends up on that disk?

  • Community Expert
  • Solution

It cannot be in maintenance mode, or the disks won't be mounted.

49 minutes ago, Stannis33 said:

should I avoid writing anything new to the sever in case it ends up on that disk?

Yes, or excluded it from the user shares.

Once the disk is empty, you will need to do a new config and resync parity

  • Author
1 hour ago, JorgeB said:

It cannot be in maintenance mode, or the disks won't be mounted.

yes, that was a stupid question now I think about it........

2 more questions........

  1. so it's finished, the logs don't say anything about things it couldn't move, but Main still shows this
    image.png
    browsing the disk though shows
    image.png

    Is the disk actually empty?

  2. it moved almost everything onto the same disk which is now above its warning threshold

    Can I move a few folders to another disk?

    There seems to be an option if you go Main -> browse disk -> pick a folder -> Move

    If I pick eg a folder from disk1/Videos and move it to disk3/Videos will that actually work, or will that make a big mess?

    If the latter, how do I actaully move some stuff to other disks?

  • Community Expert
25 minutes ago, Stannis33 said:

it moved almost everything onto the same disk which is now above its warning threshold

Sounds like you need to set Minimum Free on each of your user shares so it will choose a different disk automatically.

26 minutes ago, Stannis33 said:

pick eg a folder from disk1/Videos and move it to disk3/Videos will that actually work

yes

  • Community Expert
26 minutes ago, Stannis33 said:

Main still shows this
image.png
browsing the disk though shows
image.png

Is the disk actually empty?

That is exactly what empty looks like. Parent Directory is a way to go up a level, in this case, to other things in /mnt

  • Author
3 hours ago, JorgeB said:

Once the disk is empty, you will need to do a new config and resync parity

So I stopped the array
Did new config, preserve all
Set "disk 5" to "no device" in Main.....but.......

The instructions say "'Start the array, but do not check the "Parity is valid" box.'

But I see no such box

This is what I see

image.png

What have I don't wrong?

  • Community Expert
2 minutes ago, Stannis33 said:

Did new config, preserve all

You probably didn't do Apply at that step, so New Config didn't actually get done. It still thinks you have a missing disk.

  • Author
1 minute ago, trurl said:

You probably didn't do Apply at that step, so New Config didn't actually get done. It still thinks you have a missing disk.

Ah, yes, that is exactly what I had done........thanks

  • Author

Ummm.........so it seems that most of my Docker containers aren't working properly. I don't believe I touched any part of their data when moving things around - it was all videos, backups etc

Is this likely just a coincidence and I need to reboot my server (this does happen from time to time - I think it's network-y) or could I have actually have broken the containers with this process?

Edited by Stannis33
missed words

  • Author

Panic over...........they have woken up again.......odd.........

  • Community Expert

If any of your docker related stuff was on an array disk, you were doing it wrong anyway.

Attach Diagnostics ZIP to your NEXT post in this thread.

  • Author

I think Docker is all OK. The appdata is not on the array disks - I do know that is wrong

My Docker backup app ran overnight and I don't think it started the containers properly (sometimes they seem to get a bit confused and need restarting again) - but I hadn't realised that had happened and just assumed I'd done something wrong messing with the disks, which with my track record was quite likely.

  • Author

Thanks for your help everyone - my disk is out (of the array if not yet the machine) and parity successfully rebuilt.

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.