PowerRC's Blog

Posted by:
PowerRC

该同志还没添加个人介绍

875

recovery software raid in centos7

1.replace the bad hd

2.sync partition table from the last available drive in the raid

#sfdisk -d /dev/sda | sed 's/sda/sdb/g' | sfdisk /dev/sdb

3.add new partition to the raid
#mdadm --manage /dev/md126 --add /dev/sdb1

4.install grub bootloader to the new drive
#grub2-install /dev/sdb

版权申明

若文中未注明,则本文由 PowerRC 原创,转载请注明出处。

分享

Leave a Reply

*

code

back up ↑