NetBSD-Users archive

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

Re: cloning RAIDframe config



netbsd%precedence.co.uk@localhost (Stephen Borrill) writes:

>On Wed, 2 May 2018, Steve Blinkhorn wrote:
>> I have two identical servers, each with two identical disks, front-panel 
>> swappable. One now has a working RAID-1 setup, fully populated.  Can I 
>> clone it on the other machine by disk-swapping and reconstructing (with 
>> the first machine cleanly shutdown, obvously)?  The only difference I 
>> need on the two are quick changes in /etc.

>Yes, but if you want them to be bootable, you probably want to ensure the 
>MBR, etc. is correct.

>My usual method is to simply use dd to copy the first sector or so (means 
>you don't need to create the disklabel, etc.) from the master disk 
>to the new one before doing a raidctl -a and a raidctl -F componentX


It's also a good idea to change the serial number with raidctl -I on the
new machine so that raidframe isn't confused if you happen to swap the
disks back...


-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index