Unsolved
This post is more than 5 years old
1 Rookie
•
50 Posts
0
29712
September 29th, 2013 19:00
DELL PERC 6i Raid 10 import raid config
I have a DELL PE720 server with a PERC 6i Raid card. There is 2 Virtual Disks in the server. VD0 is raid 1 (HDD x 2), VD1 is raid 10 (HDD x 4). OS is installed on the VD0 and Data is preserved on VD1.
I would like to upgrade the OS on the server. In order to avoid any impact to the data, I am thinking to remove the VD1 (HDD x 4) HDD from the servers during OS upgrade. Then, insert the HDD and import the raid 10 config (in foreign view) to recover the data on VD1.
Steps:
1. shutdown the server. Then remove the VD1 HDD (HDD x 4)
2. Do OS upgrade.
3. shutdown the server. Insert the VD1 HDD (HDD x 4)
4. Import the VD1 raid config from foreign config.
Does the above step cause any damage to the data on VD1?


theflash1932
11 Legend
•
16.3K Posts
0
September 29th, 2013 20:00
No, it simply tells the controller to use the config stored on the drives.
macushk
1 Rookie
•
50 Posts
0
September 29th, 2013 21:00
Just to clarify.
After I import the raid config from the VD1 HDD to the server, can I read the preserved data inside the VD1 data partition?
theflash1932
11 Legend
•
16.3K Posts
0
September 29th, 2013 22:00
Yes. It will be exactly like plugging in a single disk on a desktop/laptop.
macushk
1 Rookie
•
50 Posts
0
September 29th, 2013 23:00
thanks theflash1932. Did you try on raid 10? I also have tried on raid 1 and confirm it works.
theflash1932
11 Legend
•
16.3K Posts
0
September 29th, 2013 23:00
I've done this many times with many different controllers, although not on Linux machines ... I don't known what might cause this in the OS - it has never not worked for me, although I've heard others say they have had problems (I don't remember any details).
macushk
1 Rookie
•
50 Posts
0
September 29th, 2013 23:00
Thanks theflash1932.
I also think like that. Did you try that before?
I upgraded one server from Centos 5.4 to Centos 6.2 last week and did the same procedure. Some how the partition was gone on the VD1 HDD after I import the raid config, and all data on the VD1 HDD was gone. The partition is ext3 format.
Would it possible the Raid card issue ?
theflash1932
11 Legend
•
16.3K Posts
0
September 30th, 2013 09:00
I'm not sure if I've done it on a RAID 10 or not, but probably. However, the RAID level should make no difference in the process or success rate.
pcmeiners
6 Operator
•
1.8K Posts
0
October 2nd, 2013 10:00
Macushk...
Separate arrays on LSI based controllers are fiercely independent of each other. Should the first failed, the other is not going to be affected unless one makes a mistake and reconfigures the arrays, and your method has it's possibilities... you should concentrate on protecting the OS array, not the data array. The biggest danger during an upgrade is the OS array gets scrambled, needs to be reinstalled and file/directory permissions need to be reinstituted on the data array, personally I have had this happen a number of times but I have never had data loss on a second array caused by the loss of another array (excluding a controller failure); again with little experience, a user can do damage to a second array by messing around with configuration of a raid adapter.
You need to concentrate your effort in protecting the OS array in case an upgrade goes bad. On an upgrade of the OS, the safest procedure is to have a cold spare on hand or better still a hot spare, pull one of the raid 1 members, which becomes an emergency restore disk. Either let the hot spare rebuilds automatically or you add the cold spare, let that rebuild, then do the OS upgrade. Should the OS upgrade fail, you could always reinstate the "emergency restore disk", and your back to your original state before the upgrade. Obviously a full backup should be taken before any proceed such as this, but in 21 years of using this method I never had a situation where it failed to get me back to the original state if an issue occurred.
The procedure to restore to the original state is relative simple/safe. If the upgrade goes south, you pull both OS raid member disks, insert the "emergency restore disk", boot to verify in goes into the OS, then you replace one of the pulled disks back into the OS array slots, which with the newer controllers, will rebuild automatically. During an upgrade, which might cause an issue. 95% of the time I do a simpler procedure during off hours. I just unlatch (1) of the drives, let the OS array become degraded, do the upgrade, reboot, check that everything is OK, then push the drive back into the slot once I am sure the upgrade has caused no issues. If you use the longer method, you could restore to the original state days/weeks later.
macushk
1 Rookie
•
50 Posts
0
October 2nd, 2013 21:00
pcmeiners,
Thanks for you reply.
I have already set of HDDs to protect the raid 1 OS disk, so I can roll-back immediately if anything goes wrong after the upgrade.
However, this time the data partition is lost unfortunately, so I would like to figure out any possibility the raid 10 disk array import doesn't work as I expected.
�