Troubleshooting
Problem
How to troubleshoot Enclosure Disk failure with an error [DiskValidation] /usr/bin/nzhwinfo -o registry command failed?
Symptom
Enclosure Disk failure with an error [DiskValidation] /usr/bin/nzhwinfo -o registry command failed
Cause
Reason behind of this is the validation command couldn't find the machine's MTM in NPS list.
Resolving The Problem
Fix for Enclosure Disk failure with an error [DiskValidation] /usr/bin/nzhwinfo -o registry command failed?
1. Make backup of /opt/nz/nzhwinfo/defines.yml in /nzscratch,
cp /opt/nz/nzhwinfo/defines.yml /nzscratch
vi /opt/nz/nzhwinfo/defines.yml
2. Add machine's MTM at following Section (search for serverType & P100)
----------------------------------------------------------------
$serverType:
x3650M1: ["mtm(X563-CB0, X563-CC0, X563-DD0, X563-ED0,3563-EC0)",
"mtm(/X563-\w00/)", ]
----------------------------------------------------------------
P100:
X563-ED0: []
X563-ED1: []
X563-ED2: [A]
X563-ED3: [A]
X563-E00: [X]
3563-EC0: [A]
3563-ED0: [X, A]
3563-ED2: [X, A, E]
----------------------------------------------------------------
Note: Add machine’s MTM in serverType and P100 as above.
Example: Added "3563-EC0" in serverType and "3563-EC0: [A]" in P100 section.
3. run '/usr/bin/nzhwinfo -o registry' and confirm success.
4. Try to activate failed disk.. Should fail.
nzhw activate -id #####
5. Disable the disk PHY (replace # with disk encl and phy #, and spa)
nzpush -s spa/1 sasphy --dis --esm --epos=R --encl=# --phy=#
nzpush -s spa/1 sasphy --dis --esm --epos=L --encl=# --phy=#
Example: spa2.diskEncl2.disk2
nzpush -s 2/1 sasphy --dis --esm --epos=R --encl=2 --phy=1
nzpush -s 2/1 sasphy --dis --esm --epos=L --encl=2 --phy=1
6. Watch sysmgr until it notices the disk absence… once it is marked missing, remove from catalog,
nzhw delete -id ####
7. Enable the disk PHY (replace # with disk encl and phy #, and spa),
nzpush -s spa/1 sasphy --ena --esm --epos=R --encl=# --phy=#
nzpush -s spa/1 sasphy --ena --esm --epos=L --encl=# --phy=#
Example: spa2.diskEncl2.disk2
nzpush -s 2/1 sasphy --ena --esm --epos=R --encl=2 --phy=1
nzpush -s 2/1 sasphy --ena --esm --epos=L --encl=2 --phy=1
8. Disk state will be Inactive, activate Disk then it will be SPARE state,
nzhw activate -id ####
9. Perform sys_rev_check and update disk firmware if it is BELOW.
Was this topic helpful?
Document Information
Modified date:
17 October 2019
UID
swg21994888