Hallo liebe Community!
WD hat aktuell ein gutes Angebot, daher war ich so frei und habe mir gleich 2x WD RED NAS 16TB Festplatten bestellt.
Jetzt möchte ich meinen Unraid-Server gerne erweitern bzw. neu konfigurieren. Für die aktuelle IST-Konfiguration siehe Abbild 01.
Abbild 01
Das Array soll mit den neuen zwei 16TB Festplatten erweitert und neu konfiguriert werden, ohne dabei die Daten zu verlieren. Die meisten Daten liegen aktuell auf Disk 1 (sdb) und Disk 3 (sdd). Die neue Ausrichtung bzw. Konfiguration ist wie folgt gewünscht:
Abbild 02
Selbstverständlich würde ich vorerst einmal ein PreClear auf beiden Festplatten durchführen lassen.
FRAGE:
Kann man 2 PreClear parallel laufen lassen?
Ich habe hierzu etwas recherchiert und etwas gefunden, dass die neue Konfiguration ermöglicht. Leider bin ich Anfänger im Thema Unraid und daher unsicher, ob die unten angegebenen Lösungen die Richtigen für mich sind.
FRAGE:
Hat jemand ähnliche Erfahrung gemacht bzw. kennt eine Methode, die mein Vorhaben umsetzen lässt?
Freue mich auf Eure Unterstützung.
Lösungsansätze:
1. https://wiki.unraid.net/Replacing_Multiple_Data_Drives_with_a_Single_Larger_Drive
Faster Method
This method disables the parity drive while transferring data from the smaller drives to the larger drive, and then rebuilds parity at the end. Not having parity allows faster writing to the larger drive.
Stop array and power down.
Add new larger drive and power up.
Stop array and use Tools - New Config.
Assign new larger drive to new slot, unassign parity drive, and start array.
Copy all files from the smaller drives to the larger drive. For example, if the smaller drives are Disk 1 and Disk 2, and the larger drive is Disk 3, then you could use these commands in console or telnet:
rsync -avX /mnt/disk1/ /mnt/disk3
rsync -avX /mnt/disk2/ /mnt/disk3
Stop array and power down.
Remove smaller drives and power up.
Use New Config to unassign removed drives and assign parity. You can also change the slot assignment of the new drive or any other drives at this point.
Start array and let parity rebuild.
Safer Method
This method rebuilds one of the smaller drives onto the new larger drive then copies the data from the other smaller drives. This will maintain parity during the data transfer then rebuild parity after the last of the smaller drives have been removed.
Stop array and power down.
Replace one of the smaller drives with the new larger drive and power up.
Assign new larger drive to replace missing smaller drive, and start the array, to let unRAID rebuild onto it.
Copy all files from the other smaller drive(s) to the larger drive. For example, if a smaller drive is Disk 2 and the larger drive is Disk 3, then you could use this command in console or telnet:
rsync -avX /mnt/disk2/ /mnt/disk3
Stop array and power down.
Remove the remaining smaller drive(s) and power up.
Use New Config to unassign removed drive(s). You can also change the slot assignments of the new drive or any other drives at this point.
Start array and let parity rebuild.
2. https://wiki.unraid.net/Manual/Storage_Management#Reset_the_array_configuration
Reset the array configuration
If you wish to remove a disk from the array or you simply wish to start from scratch to build your array configuration, there is a tool in Unraid that will do this for you. To reset the array configuration, perform the following steps:
Navigate to the Tools page and click New Config
You can (optionally) select to have the system preserve some of the current assignments while resetting the array. This can be very useful if you only intend to make a small change as it avoids you having to re-enter the details of the disks you want to leave unchanged.
Click the checkbox confirming that you want to do this and then click apply to perform the operation
Return to the Main tab and your configuration will have been reset
Make any adjustments to the configuration that you want.
Start the array to commit the configuration. You can start in Normal or Maintenance mode.
Notes:
Unraid will recognize if any drives have been previously used by Unraid, and when you start the array as part of this procedure the contents of such disks will be left intact.
There is a checkbox next to the Start button that you can use to say 'Parity is Valid'. Do not check this unless you are sure it is the correct thing to do, or unless advised to do so by an experienced Unraid user as part of a data recovery procedure.
Removing a data drive from the array will always invalidate parity unless special action has been taken to ensure the disk being removed only contains zeroes
Reordering disks after doing the New Config without removing drives does not invalidate parity1, but it DOES invalidate parity2.
Undoing a reset
If for any reason after performing a reset, you wish to undo it, perform the following steps:
Browse to your flash device over the network (SMB)
Open the Config folder
Rename the file super.old to super.dat
Refresh the browser on the Main page and your array configuration will be restored