Unsolved
1 Rookie
•
3 Posts
0
20
September 5th, 2025 17:36
Recover from "offlining" a disk in RAID5/RAID6
Hello, community! I misused the "offline" command in perccli, and got myself in trouble:
I've done this to the RAID5 (11x3TB) *and* the new RAID6 (11x12TB) we copied it into (no backup existed before).
I copied the data from the RAID5 to the new array, then set the RAID5 offline one-by-one, then removed the disks.
(command: perccli /c0/e32/s0 set offline)
I tried to insert the new array, but the version of xfs on there was too new, and it would not mount.
So.... I offlined the RAID6 one-by-one, re-inserted the RAID5, and was told the foreign configuration is missing a disk.
Same deal when I tried to put the RAID6 back into the system that built it.
Unsure if I want to "force" the foreign config import?
I finally understand, by offlining them I removed the first (and maybe all) disks from that array, and so it's not seen as complete. But, when i tried re-tagging it, that resulted in loads of xfs filesystem errors.
Are there any next steps I can try, before reaching out to professional data recovery?
(And, what should I do to safely remove disks from a powered-on system? I unmounted all filesystem connections, but the disks wouldn't accept a spindown command)
System: CentOS 7 or RHEL 9
Hardware: Perc H710P mini or H800
connected to MD1200
3TB or 12TB SAS drives
DELL-Joey C
Moderator
•
3.9K Posts
0
September 7th, 2025 23:52
Hello,
Just to confirm, so you would want to restore the array on RAID5, correct?
From the situation that I understood from your statement, what I can think of is to import foreign from H710P VD Management. I am assuming that you used PERCCLi because you do not have downtime? The VD Management, you will need to reboot the server and access the H710P BIOS configuration. Just make sure that all the disk are installed in their right order. Remember to import foreign, and not to clear foreign.
Ref: https://dl.dell.com/manuals/all-products/esuprt_ser_stor_net/esuprtl_adapters/poweredge-rc-h310_user%27s%20guide_en-us.pdf
JHPHY-IT
1 Rookie
•
3 Posts
0
September 8th, 2025 03:04
Correct, I want to restore the RAID5. 10 of the disks are detected as foreign; 1 is detected as "unconfigured good". When I choose to Import Foreign , I get the error "incomplete configuration, and it fails to do anything.
I think my action of "set offline" each disk broke the configuration of the first disk so it's not seen as part of the array anymore; I wonder if there is some way to manually repair the config info on that disk? It hasn't been initialized so the data itself should still be in place...
DELL-Joey C
Moderator
•
3.9K Posts
0
September 8th, 2025 07:13
Hi,
I've not heard of Unconfigured Good before. Is that from PERCCLi or H710P controller BIOS? After you have informed me of the situation, I can see a bigger picture. Yes, it could be the offline command that resulted the RAID array configuration unable to detect one of the drive. You mentioned have tried retagging, was it on the RAID5 array? How did you retag? Did you retag with the foreign config intacted?
What is shown with the command perccli /c0/dall show
JHPHY-IT
1 Rookie
•
3 Posts
0
September 8th, 2025 14:53
Hi -- yes, that is reported in PERCCLI.
I did a retag on the RAID6. Below you can see how it appeared before the retag.
I did clear the foreign config before retagging. Is it possible to retag without doing that? Oh no, maybe that's another step I messed up.
slot#0 (disk 1) SHOULD have been recognized as part of the foreign raid6, so that's the manifestation of my problem.
slot#11 (disk 12) was originally a hotspare, so that isn't expected to be part of the foreign drive group.
I had that one on-hand from last week. I'll have to physically reconnect the disks to get a c1/dall show, I can post that when I get back into that room tomorrow.
DELL-Joey C
Moderator
•
3.9K Posts
0
September 9th, 2025 03:35
Hi,
To my opinion, the foreign config should be cleared before retagging is correct. You did not do anything wrong.
After you cleared foreign, what was the status of disk before retagging, does it still show 'F'?
Yes you are right, Disk1 (::0) should be online as part of the array, hence the import is showing the error of incomplete configuration. But now, Disk1 (::0) is showing as you said, Unconfigured Good (UGood), it is not offline nor belong to DG (Disk Group 0, by default). Is the array still in Foreign Config state? I'd wonder if by removing Disk1 (::0) before import foreign could help the issue.