March 2Mar 2 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
March 2Mar 2 Community Expert https://docs.unraid.net/unraid-os/release-notes/7.0.0/#using-mover-to-empty-an-array-disk
March 2Mar 2 Author So for this diskI would literally just usemover 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?
March 2Mar 2 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
March 2Mar 2 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........so it's finished, the logs don't say anything about things it couldn't move, but Main still shows thisbrowsing the disk though showsIs the disk actually empty?it moved almost everything onto the same disk which is now above its warning thresholdCan I move a few folders to another disk?There seems to be an option if you go Main -> browse disk -> pick a folder -> MoveIf 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?
March 2Mar 2 Community Expert 25 minutes ago, Stannis33 said:it moved almost everything onto the same disk which is now above its warning thresholdSounds 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 workyes
March 2Mar 2 Community Expert 26 minutes ago, Stannis33 said:Main still shows thisbrowsing the disk though showsIs 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
March 2Mar 2 Community Expert 4 minutes ago, trurl said:Minimum Free on each of your user shareshttps://docs.unraid.net/unraid-os/using-unraid-to/manage-storage/shares/#minimum-free-space
March 2Mar 2 Author 3 hours ago, JorgeB said:Once the disk is empty, you will need to do a new config and resync paritySo I stopped the arrayDid new config, preserve allSet "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 boxThis is what I seeWhat have I don't wrong?
March 2Mar 2 Community Expert 2 minutes ago, Stannis33 said:Did new config, preserve allYou probably didn't do Apply at that step, so New Config didn't actually get done. It still thinks you have a missing disk.
March 2Mar 2 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
March 2Mar 2 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 etcIs 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 March 2Mar 2 by Stannis33 missed words
March 2Mar 2 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.
March 2Mar 2 Author I think Docker is all OK. The appdata is not on the array disks - I do know that is wrongMy 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.
March 3Mar 3 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.