Hi. I need to set the Hot Spare to a different disk in a NetBackup 5200. The below article refers to a KB article 000013307 that has an instruction of how to do so. I can't seem to find the article anywhere? Does anybody know how I might get access to the article or have an instruction on how to change the hot spare?
Thanks in advance.
Well, Veritas must have pulled the tech note / instructions for a good reason - so you are out of luck there...
...at your own risk... and I take no responsibility whatsoever...
...AFAIK - the RAID cards in those old applianceswere OEM from LSI, and so they use the MegaCLI command set... BUT... I could well be wrong...
...the version of MegaCLI in that appliance may be very old... and so it may be very different to the documentation for modern versions of MegaCLI...
...anywhere - here's a taster :
IMO - my advice to you is this... leave the hot-spare where it is. It doesn't make any actual difference which disk is the hot-spare. If you take the risk of messing with MegaCLI then you are taking a risk with the backup data. Has your customer / manager / director approved you taking such risks with their data ?
Well... as ever... it turns out I was wrong... and that "unconfigured good" does not mean "hot spare".
Here's some useful reading about disks in appliances :
...and here's an example of setting a disk as "hot spare" :
Sorry about that. :\
No need to apologies. You have been most helpful.
I was going to ask you for clarification as I did see those articles also as per this article
“The normal status of the Hotspare disks belonging to Storage Shelves will be displayed as 'Hotspare, Spun Down'.”
I may have to run the commands on disk 3(don’t really want to do this ) to set it as a hot spare now but it is also showing as “Spun up” which it shouldn’t be so hopefully this will also change the status to Spun down.
This issue all started when we changed the RAID controller because it was faulty.
I can only assume the reason that the status of these disks changed was that we replaced the Raid controller.
Before the change, the status of the first 15 disks was showing as “online, Spun up” with disk 16 showing as” Hot Spare, spun down” (see attached screenshot)
Now it shows disk 10 an unconfigured good, spun up and disk 16 as “online, spun up” but both have a yellow exclamation mark. Any ideas best why this is happening and how the best way to fix it?
Yes, it would seem that you will have to run at least one or two commands to make at least one of the disks a hot spare. Those two screen shots you have posted, one is from the CLIsh and the other from Appliance web management GUI by the looks of it. Right now does the CLIsh view show drives 10 and 16 as being in a warning state of some sort ? I wonder if the web management GUI is only showing the drives as yellow because the web management GUI is hard-coded to expect to see a hot-spare in slot 16 - maybe ?
The crucial thing right now is to determine whether the parity group is good, and whether RAID-6 is fully protected. Does it look healthy to the CLIsh ?
As for getting the spindles to show green in the GUI, then the only thing that I can suggest is to spend some time researching MegaCLI commands to somehow bring drive 10 back in to the parity group - but to do this you will likely have to manually (logically) mark drive 16 as bad, and then bring drive 10 in to the parity group - and then after several hours when the parity group rebuild is finished to then mark drive 16 as good, and then mark drive 16 as hot-spare. Several vendors, such as HP, Dell, Hitachi, etc all use rebadged LSI cards - and so there will be plenty of good examples of MegaCLI commands online.
Just to update the thread we managed to Set disk 10 as a hot spare.
We did the following
First scanned for disks in ‘foreign’ state ./MegaCli64 CfgForeign – Scan -a0
1 detected (10). That explains the ‘unconfigured’ state.
Cleared foreign state ./MegaCli64 ./MegaCli64 CfgForeign – Clear -a0
Set disk 10 as hot spare ./MegaCli64 -pdhsp -set physdrv[59:10] -a0
GUI updated to show disk 10 as a hot spare. Shows state as spun up.
The warnings, however, are still present on disk 10 & 16. I am not sure if this will just take time for the GUI to update?
All shows well in the CLIsh but not the GUI. Which is annoying as it showing alerts on the dashboard of the device.