Replacing a Raid disk
Hi All
Been playing with software raid 1 using this document https://help.ubuntu.com/11.04/server...tallation.html I have built it and all works fine. I have removed a disk and installed another 1 but what I need to know is how do I partition the new disk using the command line ready to add back in to the array Thanks Glenn |
Just clone the partitioning of the first drive to the second drive, you can use sfdisk for that:
Code:
sfdisk -d /dev/sda | sfdisk /dev/sdb Warning: Double check the drive names, or you may destroy the partition table of the old disk |
All times are GMT -5. The time now is 08:19 PM. |