Ok, Just done a RAID1 migration and it almost succeeded.
To be honnest I first gave it a try in a Vbox with a freshly installed Ubuntu and all went right so I decided to migrate one machine here and step 1 was done properly.
What i did :
raider -e /dev/sdg
raider -s -R1 sdf sdg
but after swaping drivers and reboot it throws an error message saying 4 drives were found and only 2 were expected when I run the raider --run.
I guess disconnecting the SATA drive and the i-scsi one it would have run properly, but I did not wanted to go through additional shutdown/restart with the bios complaining about missing drive, etc etc...
To be honnest I was expecting the --run option to "remember" the raid drive setup I passed with the -R1 option.
So what I did is I "manually" finished re-constructing the raid arrays by adding the sdg1 and sdg2 partition. (sdf1/sdg1 is swap and sdf2/sdg2 is main partition). hopeflly webmin was installed and with few clicks could add the sdg partitions and after disk sync all runs fine.
my setup is :
sda : sata disk (data)
sdf & sdg : SAS disk attached to dell raid controller (system)
sdh : i-scsi drive
Yeah, I'm using Linux raid instead of the Dell raid controller, cause at the time the system was setup there was only 1 SAS drive and the raid controller did not offer the option to "migrate" to raid1...
I'll have to migrate another machine with ubuntu 16.04LTS soon, in which there is a single disk yet (and no i-scsi connection), so I do not expect anything to go wrong.
Anyway great thanks for this tool, as I did not have to care of the first pass wich is pretty awfull to do manually.
rgds,
Manu
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, Just done a RAID1 migration and it almost succeeded.
To be honnest I first gave it a try in a Vbox with a freshly installed Ubuntu and all went right so I decided to migrate one machine here and step 1 was done properly.
What i did :
raider -e /dev/sdg
raider -s -R1 sdf sdg
but after swaping drivers and reboot it throws an error message saying 4 drives were found and only 2 were expected when I run the raider --run.
I guess disconnecting the SATA drive and the i-scsi one it would have run properly, but I did not wanted to go through additional shutdown/restart with the bios complaining about missing drive, etc etc...
To be honnest I was expecting the --run option to "remember" the raid drive setup I passed with the -R1 option.
So what I did is I "manually" finished re-constructing the raid arrays by adding the sdg1 and sdg2 partition. (sdf1/sdg1 is swap and sdf2/sdg2 is main partition). hopeflly webmin was installed and with few clicks could add the sdg partitions and after disk sync all runs fine.
my setup is :
sda : sata disk (data)
sdf & sdg : SAS disk attached to dell raid controller (system)
sdh : i-scsi drive
Yeah, I'm using Linux raid instead of the Dell raid controller, cause at the time the system was setup there was only 1 SAS drive and the raid controller did not offer the option to "migrate" to raid1...
I'll have to migrate another machine with ubuntu 16.04LTS soon, in which there is a single disk yet (and no i-scsi connection), so I do not expect anything to go wrong.
Anyway great thanks for this tool, as I did not have to care of the first pass wich is pretty awfull to do manually.
rgds,
Manu