I have vnx 5400.25*600GB*10KB.an storage pool with RAID5 and 20 disks.
about a week ago disk22 on DPE showed me an alert.when I checked it my hots pare(disk24) disk was replaced automatically and disk22 shows removed status.I didn't have disk in my stock.so I ejecedt faulty disk .yesterday I purchased a new hard and seated it in bay 22.disk 22 showed unbound.everything is ok.but I want disk 22 replace in my pool and disk24 be my hot spare,so I click on disk 24 and click "copy to hot spare".
disk22 and disk24 went to rebiuld process,now I checked my pool but disk 22 isn't in it and when I see hardware---->disk---->disk22---->properties it showed me it is in RAID group 58 !!!! all my hard is in storage pool ..I don't have any RAID group.what should I do ?please help me
- Disk 0.0.22 failed, and 0.0.24 took its place in the pool. - You replaced 0.0.22, and it showed as unbound, ready to act as a spare.
- You Copied 0.0.24 to a spare.
- Now you see 0.0.22 in RG 58 and 0.0.24 as an unbound spare.
Correct?
- Are you sure you have no RAID Group 58 created under Storage > RAID Groups?
- Can you put more screenshots of the RAID Groups tab, refresh Unisphere, and show the pool's used drives again?
As mentioned before, it'd be easier to check SP Collects, which you should open an SR for. Also for your reference, you could have either used the copytodisk CLI command, or used the drive mobility feature, both options are explained in KB https://support.emc.com/kb/305286 ("How does next-generation VNX (MCx/05.33) choose hot spares?").
The way the VNX2 (VNX 54xx) works for hot spares is different from VNX1. When the hot spare (0-0-24) replaced 0-0-22, disks 0-0-24 became part of the Pool. When you inserted the new 0-0-22, that disk then became a new, possible hot spare. All unused disks are potential hot spares.
From KB 306286
What if the customer wants to keep the disk configuration the same and doesn't want the drives to move due to the permanent sparing?
If the customer wants to keep RAID Groups within the same Bus, Enclosure, Disk ( B.E.D.) location there are two options:
Use the MCx Drive Mobility feature after the rebuild has completed to the spare.
Use the copytodisk CLI command to copy the data back to the original disk slot.
This means that you should use the Naviseccli command to move the data from 0-0-24 to the new 0-0-22.
As for the rsaid group that the new 0-0-22 now shows, select the Properties for disk 0-0-21 and see what you get? In Pools, the disks are configured into Private raid groups.
I'm not completely sure, but maybe using the GUI to do the second copy to hot spare (disks 24 -> 22), although that seems to have worked.
When a disk fails and copies to the hot spare, once it's completed, you can remove the failed disk, then take the hot spare and move it to the empty slot where you removed the failed disk (Drive mobility). Once it's powered up, take the new disk and put that in slot 24 for the new hot spare.
The KB implies that you must use the CLI command to copy the data from the hot spare back to the new disk. I'm not certain what happened with 0-0-22 after you ran the copy to disk command - in the Disk Properties the "Storage Pool Name" should be the name of the Pool. Why it's showing as raid group 58 is not clear to me.
Is disk 0-0-22 still showing RG 58 when you look at the properties of the disk 0-0-22? What is the Pool Properties/Disks showing?
I tried coping to a Hot Spare from one of the disks in a Pool (1-0-1 is the original, 1-0-0 is the hot spare) - I can see it copying on the Pool Properties
In the Disk Properties I can also see the disk (1-0-1) copying to the hot spare (1-0-0).
For each of the disks it looks the same 1-0-0 is the Hot Spare) - they both show up in Pool 0
If I want to use Drive mobility it requires down time and it seems it is not a good way for replacing hard disk.
for Tshoot I tested another thing.I right clicked to disk 22 and select copy to hot spare option.Both of my disk went to rebuild status(22 and 24) and after it finished I saw disk 24 is my in pool and disk 22 is unbound status.
I repeated this process again.R click on disk 24 and select copy to host spare (disk 24 and 22 went to rebuild status) but after it finished disk 22 didn't go to pool and it shows it is a member of RAID group58.realy crazing issue !!!
any idea ?
It is worthwhile to mention that all my disks in pool is hitachi and my new disk on bay 22 is seagate.does it cause this problem or not?
brettesinclair
2 Intern
•
715 Posts
1498
0
Posted March 13th, 2016 04:00
the RAID Group being shown may be the internal/private one for the Pool it is a member of. Where are you seeing this ?
I would check from naviseccli also to get more verbose info;
naviseccli -h ipspa -getdisk 0_0_22
Check your Pool properties to verify the disk is a member.
Also, with Permanent sparing, there's no real reason to 'failback' the hot spare drive, it's not necessary.