Troubleshooting
Problem
How to update storage drive firmware if FDT firmware_updater fails to read NPS state in N100x, N200x, N300x appliance.
Symptom
Updating the firmware of a storage drive after replacement fails, even when using the --ignore-nps-state flag, and NPS is online.
[root@PDA-prod-1 fdt]# ./firmware_updater StorageMedia --ignore-nps-state --spa 1 --encl 6 --disk 8
Failed to get the NPS version. Cannot continue without checking NPS version.
NPS needs to be installed and version needs to be at least <5.0.10>
Resolving The Problem
This example was taken from a Striper N2002-005.
FDT 3.0.5.1
NPS 7.0.4.4
This applies to the N100x, N200x, N300x platforms.
NPS must be online, and the drive in question must be a spare for this procedure.
First, as nz user run nzhw -detail on the hw id of the new replacement drive in question.
[nz@PDA-prod-1 ~]$ nzhw -detail -id 2212
Disk 2212 spa1.diskEncl6.disk8 Spare Ok S0M6R5FA0000K62443AJ B56C 558.91 GiB; Model ST600MM0006;
Next, issue find to locate the firmware file for the drive model:
[nz@PDA-prod-1 ~]$ find /opt/nz/fdt/ | grep -i 600mm0006
/opt/nz/fdt/common/firmware/storagemedia/storagemedia_st600mm0006_firmware_20130808_130110.tar.gz
Copy the firmware gzip to a tmp directory.
[nz@PDA-prod-1 ~]$ cp /opt/nz/fdt/common/firmware/storagemedia/storagemedia_st600mm0006_firmware_20130808_130110.tar.gz /tmp/
Change directory to the temp directory the firmware was copied to, and extract.
[nz@PDA-prod-1 ~]$ cd /tmp
[nz@PDA-prod-1 tmp]$ tar zxvf storagemedia_st600mm0006_firmware_20130808_130110.tar.gz
This is easiest if copied to a directory with no contents. List the directory, and the file to look for will have a .lod extension, in this example B56x.lod.
Copy the .lod firmware file to the /nz/export/tools/ directory.
[nz@PDA-prod-1 tmp]$ cp B56x.lod /nz/export/tools/
Run disk smart against the spa and disk location.
[nz@PDA-prod-1 tmp]$ nzpush -s 1/* disk smart --encl 6 --slot 8
Based on the output of the above command, the spu's should report the disk smart for the new drive.
Use the spa / spu location to issue the manual firmware update of the drive:
nzpush -s 1/1 disk fw --file /var/opt/nz/host/tools/<filename> --encl 6 --slot 8
Replace the <filename> with the name of the firmware file copied to /nz/export/tools/
[nz@PDA-prod-1 tmp] nzpush -s 1/1 disk fw --file /var/opt/nz/host/tools/B56x.lod --encl 6 --slot 8
spu0101: Opening file ... Completed
spu0101: start the microcode download ... Completed
spu0101: Now resetting host device
spu0101: completed device reset
The firmware has not been updated on the disk, however, NPS will not see the firmware update until the database has been restarted, but disk smart does see the new firmware.
[nz@PDA-prod-1 tmp]$ nzhw -detail | grep 2212
Disk 2212 spa1.diskEncl6.disk8 Spare Ok S0M6R5FA0000K62443AJ B56C 558.91 GiB; Model ST600MM0006;
[nz@PDA-prod-1 tmp]$ nzpush -s 1/1 disk smart --encl 6 --slot 8
spu0101: DSK: Make : ST600MM0006
spu0101: DSK: Model : IBM-ESXS
spu0101: DSK: F/W Rev. : B56G
spu0101: DSK: S/N : S0M6R5FA0000K62443AJ
spu0101: DSK: Size : 600 GB, (1172123567 sectors)
spu0101: DSK: Transport Protocol: SAS
spu0101: DSK: Disk Location : encl6Slot08
After restarting NPS, nzhw -detail shows the new firmware on the drive in question.
[nz@PDA-prod-1 tmp]$ nzhw -detail | grep 2212
Disk 2212 spa1.diskEncl6.disk8 Spare Ok S0M6R5FA0000K62443AJ B56G 558.91 GiB; Model ST600MM0006;
Was this topic helpful?
Document Information
Modified date:
17 October 2019
UID
swg21982843