Situation: server contains two RAID-1 arrays; one primary for OS and one secondary for data. My question is: If I delete primary array with command /opt/MegaRAID/storcli/storcli64 /c# /v# del what will be erased? Only MBR or whole disk with all data on it? Thx
Asked
Active
Viewed 1,117 times
-1
-
Why on earth should it only delete the MBR? It will delete your VirtualDrive. – Lenniey Jan 31 '19 at 15:52
-
So everything will be lost? Correct? – StealthByROOT Jan 31 '19 at 15:53
-
I don't know the complete implementation of the command, but assume that the VD will be gone _including_ the data. Maybe it will only delete the RAID metadata, you can probably look that up. – Lenniey Jan 31 '19 at 15:54
-
"If you delete a virtual drive with a valid MBR without erasing the data and then create a new virtual drive using the same set of physical drives and the same RAID level as the deleted virtual drive, the old unerased MBR still exists at block0 of the new virtual drive, which makes it a virtual drive with valid user data. Therefore, you must provide the force option to delete this newly created virtual drive." – Lenniey Jan 31 '19 at 15:56
-
So it will not boot but data will be saved. – StealthByROOT Jan 31 '19 at 16:04
-
...but you won't be able to access it if you don't recreate the RAID1. – Lenniey Jan 31 '19 at 16:10
-
A conclusion is that data will be preserved in one way. – StealthByROOT Jan 31 '19 at 16:18
1 Answers
0
Test results: primary array is deleted with command /opt/MegaRAID/storcli/storcli64 /c# /v# del, than same array is recreated in RAID BIOS....no any data loss. OS is booting again from the recreated array with no issues.

StealthByROOT
- 1
- 3