Re: best way to replace all disks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23/04/2019 08:53, Gandalf Corvotempesta wrote:
[1] As wrote multiple times, i have to be 100% that nobody is changing
the underlaying array during the whole operation, or the removed disk
would be out-of-sync and useless in case of disaster
Booting from a live image (which image do you suggest), without
mounting the filesystem stored on the RAID, would be enough, right ?
Is a brand-new mdadm able to handle properly a raid created on 2007?
The newly synced array, would be usable by the 2007 mdadm when server
boot up again?

Which is why I would simply clone the disks. It's a mirror so ...

Go out and buy a disk cloner. I've got one, it's about £30. Or use another computer and ddrescue. Just MAKE SURE you get the copy right!!! Take disks 1 and 2 out, clone disk 1 and put your two replacement disks back. You've now got your (untouched) original disks, and a degraded array on drive 1. You can partition your new big disks 2 how you want it, add them into your arrays and let it recover. You can then mess about with disk 1 to grow your arrays and partitions.

Repeat for disks 3 and 4.

Job done. Or you could clone all four disks, and then grow things later. Linux - running on top of the disks - won't notice anything if you do a straight offline dd(rescue) from one disk to another.

Cheers,
Wol



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux