cpqScsiPhyDrvUsedReallocs
CPQSCSI-MIB ·
.1.3.6.1.4.1.232.5.2.4.1.1.22
Object
SCSI Physical Drive Used Reallocation Sectors.
This shows the number of sectors of the reallocation area that
have been used by the physical drive over the life of the drive.
Because of the nature of magnetic disks, certain sectors on a
drive may have media defects. The reallocation area is part of
the disk drive that the drive manufacturer sets aside to
compensate for these defects. The drive writes information
addressed from these unusable sectors to available sectors in
the reallocation area.
If all of the reserved sectors have been used, then there is
no way for the drive to remap bad sectors and the drive will
start failing. Unfortunately, the number of reallocation
sectors originally reserved for this purpose is drive specific
and you must contact the drive vendor for these values.
If the current value starts to approach the maximum reserved you
may wish to replace the drive before it fails.
Context
- MIB
- CPQSCSI-MIB
- OID
.1.3.6.1.4.1.232.5.2.4.1.1.22- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- cpqScsiPhyDrvEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CPQSCSI-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQSCSI-MIB::cpqScsiPhyDrvUsedReallocs'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPQSCSI-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQSCSI-MIB::cpqScsiPhyDrvUsedReallocs.<cpqScsiPhyDrvCntlrIndex>.<cpqScsiPhyDrvBusIndex>.<cpqScsiPhyDrvIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQSCSI-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQSCSI-MIB::cpqScsiPhyDrvUsedReallocs'
Syntax
- Source
- RFC1155-SMICounter
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295