I have a raid 5 built on an opensuse box that I just reinstalled Centos 6.3 on. Is it possible to rebuild the raid 5 array non-destructively?
I have googled on this and have found using mdadm --scan --assemble <list of fd devices>. Will this do it? I sure wouldn't want to lose my data on the array if possible.
thank you,
Phil
on 11/16/2012 9:02 AM Phil Savoie spake the following:
I have a raid 5 built on an opensuse box that I just reinstalled Centos 6.3 on. Is it possible to rebuild the raid 5 array non-destructively?
I have googled on this and have found using mdadm --scan --assemble <list of fd devices>. Will this do it? I sure wouldn't want to lose my data on the array if possible.
thank you,
Phil
It could be possible, but I think I would rather try to back it up with some sort of recovery system first... If the data is VERY critical, I would clone the drives with DD first just to make sure...
On 11/16/2012 12:23 PM, Scott Silva wrote:
on 11/16/2012 9:02 AM Phil Savoie spake the following:
I have a raid 5 built on an opensuse box that I just reinstalled Centos 6.3 on. Is it possible to rebuild the raid 5 array non-destructively?
I have googled on this and have found using mdadm --scan --assemble <list of fd devices>. Will this do it? I sure wouldn't want to lose my data on the array if possible.
thank you,
Phil
It could be possible, but I think I would rather try to back it up with some sort of recovery system first... If the data is VERY critical, I would clone the drives with DD first just to make sure...
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Thank you for your reply. What I did ewas the following:
mdadm --detail --scan > /etc/mdadm.conf
and thhis thankfully recreated /dev/md0 and was able to add the entry into the fstab mount the device and see all my data as I left it.
Big whew!!
Phil