swFSDriveFormatType
FILE-SYSTEM-MIB ·
.1.3.6.1.4.1.171.12.14.2.2.4
Object
scalar r/w
Enumeration
Use to select format type: fast: clear the file and directory information in the partion header. full: clear the file and directory information in the partion header and the all data sectors in the partion. full-with-mbr: clear all data sectors in the disk ( or on the storage drive) and rebuild the partion information.
Context
- MIB
- FILE-SYSTEM-MIB
- OID
.1.3.6.1.4.1.171.12.14.2.2.4- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- swFSDriveFormatCtrl
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FILE-SYSTEM-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FILE-SYSTEM-MIB::swFSDriveFormatType.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FILE-SYSTEM-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FILE-SYSTEM-MIB::swFSDriveFormatType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | fast |
2 | full |
3 | full-with-mbr |