Why does WebPam report erroneous information for my spare drives?

 

This condition occurs when you delete existing DEDICATED spares and re-assign them as GLOBAL spares.  Multiple issues can arise from this problem such as:

-          Erroneous information displayed in WebPam for the spares

-          The inability to delete spares via WebPam

-          Segmentation Fault errors when querying the “array –v” command from CLI

-          The inability to save subsystem reports

In order to fix this issue, you will have to either telnet into the Vtrak or access the CLI via a serial console.  Once at the CLI prompt, do the following:

1.        Delete ALL your spares using this command:

 

spare –a del -iX

 

where X=the spareID number.  Spares are enumerated starting at 0.  For example, if you have 4 spares in your Vtrak, you will enter the following commands:

 

spare –a del –i0

spare –a del –i1

spare –a del –i2

spare –a del –i3

 

2.        Change one of the array settings for each and every array in the system.  One such setting is the Media Patrol setting.  You must toggle the setting on and then off.  You can make the changes in WebPam under Disk Array X>Settings:


undefined

 

Be sure to click the “Submit” button following each time you check and uncheck the box.

 

Alternatively, you can work from CLI:

 

array –a mod –s “mediapatrol=disable” –dX

 

where X=the Disk Array number.  Disk arrays are enumerated starting at 0.  For example, if you have 4 arrays in your Vtrak, you will enter the following commands:

 

array –a mod –s “mediapatrol=disable” –d0

array –a mod –s “mediapatrol=disable” –d1

array –a mod –s “mediapatrol=disable” –d2

array –a mod –s “mediapatrol=disable” –d3

 

You will then change the setting back to its normal value:

 

array –a mod –s “mediapatrol=enable” –d0

array –a mod –s “mediapatrol=enable” –d1

array –a mod –s “mediapatrol=enable” –d2

array –a mod –s “mediapatrol=enable” –d3

3.        You can now re-create your spares in WebPam (or CLI) and they will show up properly.