Not from experience....

but I would expect it to keep track of the drive by UUID and not let you
just swap them around willy nilly.

If your two drives are mirrored, I would add the spare as a mirror also.
After the system copies everything over to the new mirror, then fail out drive B.

That would maintain the mirroring through the whole process so you don't have a period
with just one drive.



On 5/1/19 10:28 AM, Gregory Avedissian wrote:
Current server setup is raid1 with three drives. (pair and a spare) with lvm. /var is on its own logical partition, and the library has outgrown the disk.

The motherboard has four sata inputs. I want to reduce the existing raid to two drives so I can put in two large drives and make a second raid to hold /var. The three existing drives are sda, sdb and sdc. I want to remove sdb and put sdc (the spare) in its place.

The question is, what order do I do things? Which drive(s) do I fail, and when? Can I just shut the machine down, remove sdb and plug sdc into the second sata input? Then reboot and remove the missing sdc from the array? Does mdadm identify the drive by its device name or by the uuid? Will it get mad at me if I change the order of the drives?

Thanks,
Greg
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to