Today, as the customer needs it, we need to change the previous raid 5 to RAID0. In a simple environment, this is one of the storage devices of a vendor. the OS is of the linux version, with 12 2 tsata disks and LSI hard RAID. I made two of them RAID 1, ubuntu11.04, and 9 + 1 for the other 10 disks...
Today, as the customer needs it, we need to change the previous raid 5 to RAID0. In a simple environment, this is one of the storage devices of a vendor. the OS is of the linux version, with 12 2 tsata disks and LSI hard RAID. I used two of them as RAID 1, ubuntu 11.04, and 9 + 1 as RAID 5. For example, you can see the configuration already done
I accidentally entered -- megacli-character lddel-L1-aALL ...... As a result, the system cannot get up. Delete the RAID information of the hard disk where the ubuntu system is located.
At this time, you cannot restart the system because the boot information cannot be found and the operating system cannot start.
Since the above data is not very important, we did not copy two new disks as dd, and directly try the new method, use megacli to re-create a raid identical to raid1 (note that the slot number must be the same, because a total of 12 disks and 10 disks are used as raid 5, therefore, the remaining two disks must be RAID 1)
After carefully viewing the slot number information step by step, use megacli to re-create a raid 1 and restart the system.
Conclusion: when we execute a command, we must be cautious. otherwise, some unexpected errors may occur. Second, when an error occurs, do not be confused. Otherwise, it is easy to do something worse. if I find that the raid information is deleted and restarted immediately, the system may not be able to access it, let alone re-build raid1. But I guess, can I manually create raid1 in webbios? Yes .....
Author: "star & storage"