diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/README.md b/pkg/implementation/raidcontroller/megaraid/testdata/README.md new file mode 100644 index 0000000..00a8ffe --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/README.md @@ -0,0 +1,245 @@ +# Testdata for MegaRAID (storcli / storcli2) + +This directory contains JSON outputs captured from storcli and storcli2 CLI tools, +used as mock data in unit tests. + +## Directory Structure + +``` +testdata/ +├── collect_storcli2_testdata.sh # Script to collect storcli2 outputs from server +├── README.md # This file +├── controllers/ +│ ├── storcli/ # storcli v1 (storcli64) outputs +│ │ ├── all.json +│ │ ├── c0.json +│ │ ├── c0_s12_UGood.json +│ │ └── c5_invalid.json +│ └── storcli2/ # storcli2 outputs +│ ├── all.json +│ ├── c0.json +│ ├── c0_s12_UGood.json +│ └── c5_invalid.json +├── logicalvolumes/ +│ ├── cacheoptions/ +│ │ └── success.json # storcli v1 +│ ├── create/ +│ │ ├── fail.json +│ │ └── success.json +│ ├── delete/ +│ │ ├── fail_invalid.json +│ │ ├── fail_vdNotExist.json +│ │ └── success.json +│ ├── migrate/ +│ │ └── fail.json +│ └── show/ +│ ├── all.json +│ ├── all_NOv228.json +│ ├── v228.json ... v239.json +│ └── v999_invalid.json +└── physicaldrives/ + ├── blink/ + │ ├── start.json + │ └── stop.json + ├── jbod/ + │ ├── disable/ + │ │ └── fail.json + │ └── enable/ + │ └── fail.json + └── show/ + ├── all.json + ├── e251s1.json ... e251s12.json + ├── e251s12_UGood.json + └── e251s99_invalid.json +``` + +## Command → Testdata File Mapping + +### storcli v1 (`/opt/MegaRAID/storcli/storcli64`) + +| Testdata File | storcli Command | Go Code Path | +|---|---|---| +| `controllers/storcli/all.json` | `storcli64 show all J` | `adapter.showAll()` → `runner.Run(["show", "all"])` | +| `controllers/storcli/c0.json` | `storcli64 /c0 show all J` | `adapter.showAllController("/c0")` → `runner.Run(["/c0", "show", "all"])` | +| `controllers/storcli/c0_s12_UGood.json` | `storcli64 /c0 show all J` *(with slot 12 in UGood state)* | Same as c0.json but pre-VD-creation | +| `controllers/storcli/c5_invalid.json` | `storcli64 /c5 show all J` | Error: controller not found | +| `physicaldrives/show/all.json` | `storcli64 /c0/eall/sall show all J` | All drives detailed info | +| `physicaldrives/show/e251s1.json` | `storcli64 /c0/e251/s1 show all J` | `adapter.showAllPhysicalDrive("/c0/e251/s1")` → `runner.Run(["/c0/e251/s1", "show", "all"])` | +| `physicaldrives/show/e251s12_UGood.json` | `storcli64 /c0/e251/s12 show all J` *(drive in UGood state)* | Drive in unconfigured-good state | +| `physicaldrives/show/e251s99_invalid.json` | `storcli64 /c0/e251/s99 show all J` | Error: drive not found | +| `physicaldrives/blink/start.json` | `storcli64 /c0/e251/s1 start locate J` | `adapter.blink(metadata, "start")` → `runner.Run(["/c0/e251/s1", "start", "locate"])` | +| `physicaldrives/blink/stop.json` | `storcli64 /c0/e251/s1 stop locate J` | `adapter.blink(metadata, "stop")` → `runner.Run(["/c0/e251/s1", "stop", "locate"])` | +| `physicaldrives/jbod/enable/fail.json` | `storcli64 /c0/e251/s6 set jbod J` | `adapter.setJBOD(metadata, "set")` → `runner.Run(["/c0/e251/s6", "set", "jbod"])` | +| `physicaldrives/jbod/disable/fail.json` | `storcli64 /c0/e251/s6 delete jbod J` | `adapter.setJBOD(metadata, "delete")` → `runner.Run(["/c0/e251/s6", "delete", "jbod"])` | +| `logicalvolumes/show/v228.json` | `storcli64 /c0/v228 show all J` | `adapter.showAllVirtualDrive("/c0/v228")` → `runner.Run(["/c0/v228", "show", "all"])` | +| `logicalvolumes/show/all.json` | `storcli64 /c0/v228 show all J` *(same as v228)* | First VD used as "all" reference | +| `logicalvolumes/show/v999_invalid.json` | `storcli64 /c0/v999 show all J` | Error: VD not found | +| `logicalvolumes/create/success.json` | `storcli64 /c0 add vd type=raid0 drives=251:12 rdpolicy=NoRA wrcache=WB iopolicy=Direct J` | `adapter.createLV()` → `runner.Run(["/c0", "add", "vd", ...])` | +| `logicalvolumes/create/fail.json` | `storcli64 /c0 add vd type=raid0 drives=251:1 J` *(drive in use)* | Create error | +| `logicalvolumes/delete/success.json` | `storcli64 /c0/v228 delete J` | `adapter.deleteLV()` → `runner.Run(["/c0/v228", "delete"])` | +| `logicalvolumes/delete/fail_vdNotExist.json` | `storcli64 /c0/v999 delete J` | Delete error: VD doesn't exist | +| `logicalvolumes/delete/fail_invalid.json` | `storcli64 /c0/v299 delete J` | Delete error: invalid VD | +| `logicalvolumes/cacheoptions/success.json` | `storcli64 /c0/v228 set rdcache=RA wrcache=WT iopolicy=Direct J` | `adapter.setLVCacheOptions()` → `runner.Run(["/c0/v228", "set", "rdcache=...", "wrcache=..."])` | +| `logicalvolumes/migrate/fail.json` | `storcli64 /c0/v13 start migrate type=raid0 option=add drives=251:99 J` | `adapter.migrate()` error case | + +### storcli2 (`/opt/MegaRAID/storcli2/storcli2`) + +| Testdata File | storcli2 Command | Go Code Path | +|---|---|---| +| `controllers/storcli2/all.json` | `storcli2 show all J` | `adapter.showAll()` → `runner.Run(["show", "all"])` | +| `controllers/storcli2/c0.json` | `storcli2 /c0 show all J` | `adapter.showAllController("/c0")` → `runner.Run(["/c0", "show", "all"])` | +| `controllers/storcli2/c0_s12_UGood.json` | `storcli2 /c0 show all J` *(with a drive in UGood state)* | Same as c0.json but pre-VD-creation | +| `controllers/storcli2/c5_invalid.json` | `storcli2 /c5 show all J` | Error: controller not found | +| `physicaldrives/show/storcli2/all.json` | `storcli2 /c0/eall/sall show all J` | All drives detailed info | +| `physicaldrives/show/storcli2/e306s0.json` | `storcli2 /c0/e306/s0 show all J` | `adapter.showAllPhysicalDrive("/c0/e306/s0")` | +| `physicaldrives/show/storcli2/e306s99_invalid.json` | `storcli2 /c0/e306/s99 show all J` | Error: drive not found | +| `physicaldrives/blink/storcli2/start.json` | `storcli2 /c0/e306/s0 start locate J` | `adapter.blink(metadata, "start")` | +| `physicaldrives/blink/storcli2/stop.json` | `storcli2 /c0/e306/s0 stop locate J` | `adapter.blink(metadata, "stop")` | +| `physicaldrives/jbod/enable/storcli2/fail.json` | `storcli2 /c0/e306/s0 set jbod J` | `adapter.setJBOD(metadata, "set")` | +| `physicaldrives/jbod/disable/storcli2/fail.json` | `storcli2 /c0/e306/s0 delete jbod J` | `adapter.setJBOD(metadata, "delete")` | +| `logicalvolumes/show/storcli2/v1.json` | `storcli2 /c0/v1 show all J` | `adapter.showAllVirtualDrive("/c0/v1")` | +| `logicalvolumes/show/storcli2/all.json` | `storcli2 /c0/vall show all J` | All VDs detailed info | +| `logicalvolumes/show/storcli2/v999_invalid.json` | `storcli2 /c0/v999 show all J` | Error: VD not found | +| `logicalvolumes/create/storcli2/success.json` | `storcli2 /c0 add vd type=raid0 drives=306:X rdpolicy=NoRA wrcache=WB iopolicy=Direct J` | `adapter.createLV()` | +| `logicalvolumes/create/storcli2/fail.json` | `storcli2 /c0 add vd type=raid0 drives=306:0 J` *(drive in use)* | Create error | +| `logicalvolumes/delete/storcli2/success.json` | `storcli2 /c0/v{N} delete J` | `adapter.deleteLV()` | +| `logicalvolumes/delete/storcli2/fail_vdNotExist.json` | `storcli2 /c0/v999 delete J` | Delete error: VD doesn't exist | +| `logicalvolumes/delete/storcli2/fail_invalid.json` | `storcli2 /c0/v299 delete J` | Delete error: invalid VD | +| `logicalvolumes/cacheoptions/storcli2/success.json` | `storcli2 /c0/v1 set rdcache=RA wrcache=WT J` | `adapter.setLVCacheOptions()` | +| `logicalvolumes/migrate/storcli2/fail.json` | `storcli2 /c0/v1 start migrate type=raid0 option=add drives=306:99 J` | `adapter.migrate()` error | + +## Key Differences between storcli v1 and storcli2 + +### JSON Output Format Changes + +| Feature | storcli v1 | storcli2 | +|---|---|---| +| System Overview controller key | `"Ctl": 0` | `"Ctrl": 0` | +| PD identifier | `"DID": 10` (Device ID) | `"PID": 293` (Persistent ID) | +| PD state | `"State": "Onln"` | `"State": "Conf"`, `"Status": "Online"` | +| VD cache format | `"Cache": "RWTD"` (concatenated) | `"CurrentCache": "NR,WB"`, `"DefaultCache": "NR,WB"` | +| VD LIST fields | `Cache`, `Cac`, `sCC` | `CurrentCache`, `DefaultCache` | +| PD show (single) | `"Drive /c0/e251/s1": [...]` | `"Drives List": [{...}]` | +| PD show detail key | `"Drive /c0/e251/s1 Device attributes"` | Inside `"Drive Detailed Information"` | +| PD SED field | `"SED": "N"` | `"SED_Type": "-"` | +| PD LU/NS info | N/A | `"LU/NS Count": 1`, `"LU/NS Information": [...]` | +| Enclosure list field | `"Port#"`, `"ProdID"` | `"DeviceType"`, `"Partner-EID"`, `"Multipath"` | +| VD show all structure | Flat keys: `/c0/v228`, `PDs for VD 228`, `VD228 Properties` | Nested: `Virtual Drives[0].VD Info`, `Virtual Drives[0].PDs`, `Virtual Drives[0].VD Properties` | +| Controller topology | `"Arr"`, `"DG"` | `"Span"`, `"DG"`, `"PID"` | + +### Command Differences + +The command syntax is identical between storcli and storcli2. Only the binary name differs: +- storcli: `/opt/MegaRAID/storcli/storcli64` +- storcli2: `/opt/MegaRAID/storcli2/storcli2` + +Both use `J` suffix for JSON output. + +## How to Regenerate Testdata + +### Prerequisites +- Access to a server with the MegaRAID controller and storcli2 installed +- sudo access (storcli2 requires root privileges) + +### Steps + +1. Copy `collect_storcli2_testdata.sh` to the server +2. Edit the configuration section to match your hardware: + - `CONTROLLER_INDEX`: your controller ID (typically 0) + - `ENCLOSURE_IDS`: your enclosure IDs (check with `storcli2 /c0 show all J`) + - `SLOTS`: slots available in each enclosure + - `VD_IDS`: virtual drive IDs currently configured +3. Run the script in safe mode first: + ```bash + sudo bash collect_storcli2_testdata.sh + ``` +4. For destructive tests (create/delete), configure: + - `DESTRUCTIVE=true` + - `CREATE_VD_ENCLOSURE` / `CREATE_VD_SLOT`: an unused drive +5. Copy the output back to this testdata directory + +### Capturing UGood State + +The `c0_s12_UGood.json` file requires a drive in "unconfigured good" state. +This is the state of a drive that is healthy but not assigned to any virtual drive. + +To capture this: +1. Delete a VD to free a drive: `storcli2 /c0/v{N} delete J` +2. Verify the drive shows as unconfigured: `storcli2 /c0 show all J` +3. Run the collection script with `UGOOD_ENCLOSURE` and `UGOOD_SLOT` set +4. Recreate the VD if needed + +## Download results + +The script will output JSON files in the same structure as this testdata directory. You can copy these files back to your local machine and replace the existing ones in this directory. + +```bash +scp -P 10022 -r 'artesca-os@artesca-node:~/storcli2_testdata_output/*' \ + pkg/implementation/raidcontroller/megaraid/testdata/ +``` + +## Known Issues + +- **`controllers/storcli2/c0_s12_UGood.json`**: The current file contains the output + of `storcli2 /c0/eall/sall show all J` (physical drives listing), but it **should** + contain the output of `storcli2 /c0 show all J` (full controller details, same format + as `c0.json`) captured when one drive is in UGood/unconfigured state. This needs to be + recaptured from the server using the collection script with the correct settings. + +## storcli2 Commands That Changed Syntax + +The following storcli v1 commands do **not work** with storcli2 — the syntax has changed: + +### 1. JBOD disable: `delete jbod` is no longer valid + +- **storcli v1**: `storcli64 /c0/e251/s6 delete jbod J` +- **storcli2 error**: `syntax error, unexpected TOKEN_JBOD, expecting TOKEN_HOTSPARE_DRIVE` +- **Impact**: The `adapter.setJBOD(metadata, "delete")` code path needs a different + command for storcli2. The new syntax likely involves a different verb or restructured + command (possibly related to hotspare/unconfigure operations). +- **TODO**: Investigate storcli2 help/manual for the correct JBOD disable command. + +### 2. Online Capacity Expansion (migrate): `start migrate` is no longer valid + +- **storcli v1**: `storcli64 /c0/v13 start migrate type=raid0 option=add drives=251:99 J` +- **storcli2 error**: `syntax error, unexpected TOKEN_MIGRATE, expecting TOKEN_ERASE or TOK...` +- **Impact**: The `adapter.migrate()` code path (used by `AddPDsToLV` / `DeletePDsFromLV`) + needs a different command for storcli2. OCE/migrate may use a completely different + approach in the storcli2 CLI. +- **TODO**: Investigate storcli2 help/manual for the correct OCE/migration command. + +### 3. VD creation: `add vd type=raid0 ... rdpolicy=... wrcache=... iopolicy=...` syntax changed + +- **storcli v1**: `storcli64 /c0 add vd type=raid0 drives=251:12 rdpolicy=NoRA wrcache=WB iopolicy=Direct J` +- **storcli2**: `storcli2 /c0 add vd raid0 drives=320:11 wb nora J` +- **Impact**: The `adapter.createLV()` code path needs different argument formatting: + - `type=raid0` → `raid0` (no `type=` prefix) + - `rdpolicy=NoRA wrcache=WB iopolicy=Direct` → `wb nora` (shorthand cache flags) +- **Mapping of cache options**: + - Write Back: `wrcache=WB` → `wb` + - Write Through: `wrcache=WT` → `wt` + - No Read Ahead: `rdpolicy=NoRA` → `nora` + - Read Ahead: `rdpolicy=RA` → `ra` + +### 4. VD cache options: `set rdcache=RA wrcache=WT` combined syntax no longer valid + +- **storcli v1**: `storcli64 /c0/v228 set rdcache=RA wrcache=WT iopolicy=Direct J` +- **storcli2 error**: `syntax error, unexpected TOKEN_WRITE_CACHE, expecting $end` +- **Impact**: The `adapter.setLVCacheOptions()` code path needs to issue **separate commands** + for each cache option in storcli2: + - `storcli2 /c0/v24 set wrcache=WT J` (set write cache separately) + - `storcli2 /c0/v24 set rdcache=RA J` (set read cache separately) +- **`iopolicy` is removed in storcli2** — it does not appear in `storcli2 /cx/vx set help`. + The adapter code should skip setting iopolicy when using storcli2. + +> **Note**: Both commands produce plain-text errors (not JSON) when using invalid syntax, +> which means the Go `Runner.Run()` method will fail to parse the output. The adapter +> implementation for storcli2 will need to handle these operations differently. + +## Notes + +- All JSON files should be valid JSON (no trailing characters, proper encoding) +- The `J` flag at the end of storcli/storcli2 commands produces JSON output +- Some error cases return non-zero exit codes but still produce valid JSON +- Files in `logicalvolumes/show/all_NOv228.json` is a variant without VD 228 + (used to test the createLV flow which needs to detect the newly created VD) diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/collect_storcli2_testdata.sh b/pkg/implementation/raidcontroller/megaraid/testdata/collect_storcli2_testdata.sh new file mode 100755 index 0000000..786e45a --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/collect_storcli2_testdata.sh @@ -0,0 +1,704 @@ +#!/bin/bash +# ============================================================================= +# Script: collect_storcli2_testdata.sh +# +# Purpose: Collect JSON outputs from storcli2 to generate testdata files for +# the raidmgmt project's storcli2 support. +# +# Usage: +# 1. Copy this script to the server with storcli2 installed +# 2. Configure the variables below to match your environment +# 3. Run: sudo bash collect_storcli2_testdata.sh +# 4. Copy the output directory back to the project's testdata folder +# +# Prerequisites: +# - storcli2 installed at STORCLI2_PATH +# - sudo access (storcli2 requires root) +# - At least one RAID controller present +# - For "UGood" variants: one drive must be unconfigured (not in a VD) +# - For create/delete tests: ability to create/delete a VD (destructive!) +# +# The script has two modes: +# - SAFE mode (default): Collects read-only outputs only +# - DESTRUCTIVE mode: Also collects create/delete/migrate outputs +# Set DESTRUCTIVE=true to enable +# +# ============================================================================= + +set -euo pipefail + +# ============================================================================= +# CONFIGURATION - Edit these variables to match your environment +# ============================================================================= + +# Path to the storcli2 binary +STORCLI2_PATH="/opt/MegaRAID/storcli2/storcli2" + +# Controller index (typically 0) +CONTROLLER_INDEX=0 + +# Enclosure IDs (space-separated list) +# From your setup: enclosures 306 and 320 +ENCLOSURE_IDS="306 320" + +# Slots per enclosure (space-separated list) +# From your setup: slots 0-11 for each enclosure +SLOTS="0 1 2 3 4 5 6 7 8 9 10 11" + +# Virtual Drive IDs to capture (space-separated) +# From your setup: VDs 1-24 (NOTE: if a VD was deleted and not recreated, +# storcli2 will still return exit 0 with "Invalid VD number" in JSON). +# Consider removing deleted VD IDs from this list. +VD_IDS="1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23" + +# Invalid controller index (for error test cases) +INVALID_CONTROLLER_INDEX=5 + +# Invalid VD ID (for error test cases) +INVALID_VD_ID=999 + +# Invalid slot (for error test cases) +INVALID_SLOT=99 + +# First enclosure (used for invalid slot test and blink tests) +FIRST_ENCLOSURE=306 + +# First slot (used for blink and JBOD tests) +FIRST_SLOT=0 + +# Enable destructive operations (create/delete VDs) +# WARNING: This will temporarily delete and recreate a virtual drive! +# In destructive mode the script will: +# 1. Delete SACRIFICE_VD to free its drive (UGood state) +# 2. Capture controller & drive outputs in UGood state +# 3. Recreate the VD and capture create/cache/delete outputs +DESTRUCTIVE=false + +# VD to sacrifice for UGood capture (will be deleted then recreated) +# Pick a non-critical VD. The script will auto-detect its drive location. +# Set to "auto" to use the last VD from the controller's VD LIST. +# Or set to a specific VD ID (e.g. "24"). +SACRIFICE_VD_ID="auto" + +# Output directory +OUTPUT_DIR="./storcli2_testdata_output" + +# ============================================================================= +# END CONFIGURATION +# ============================================================================= + +# Shorthand +CLI="${STORCLI2_PATH}" +C="/c${CONTROLLER_INDEX}" + +echo "============================================" +echo " storcli2 Testdata Collection Script" +echo "============================================" +echo "" +echo "Configuration:" +echo " CLI: ${CLI}" +echo " Controller: ${CONTROLLER_INDEX}" +echo " Enclosures: ${ENCLOSURE_IDS}" +echo " Output: ${OUTPUT_DIR}" +echo " Destructive: ${DESTRUCTIVE}" +echo "" + +# Verify storcli2 exists +if [ ! -x "${CLI}" ]; then + echo "ERROR: storcli2 not found at ${CLI}" + exit 1 +fi + +# Create output directories +mkdir -p "${OUTPUT_DIR}/controllers/storcli2" +mkdir -p "${OUTPUT_DIR}/physicaldrives/show/storcli2" +mkdir -p "${OUTPUT_DIR}/physicaldrives/blink/storcli2" +mkdir -p "${OUTPUT_DIR}/physicaldrives/jbod/enable/storcli2" +mkdir -p "${OUTPUT_DIR}/physicaldrives/jbod/disable/storcli2" +mkdir -p "${OUTPUT_DIR}/logicalvolumes/show/storcli2" +mkdir -p "${OUTPUT_DIR}/logicalvolumes/create/storcli2" +mkdir -p "${OUTPUT_DIR}/logicalvolumes/delete/storcli2" +mkdir -p "${OUTPUT_DIR}/logicalvolumes/cacheoptions/storcli2" +mkdir -p "${OUTPUT_DIR}/logicalvolumes/migrate/storcli2" + +# Helper function to run a command and save output +run_and_save() { + local description="$1" + local output_file="$2" + shift 2 + local cmd_args=("$@") + + echo " [COLLECT] ${description}" + echo " Command: ${CLI} ${cmd_args[*]} J" + echo " Output: ${output_file}" + + # Run command and save. Capture both stdout and stderr since storcli2 + # may write JSON errors to stderr on some failure cases. + # Allow non-zero exit codes (expected for error test cases). + if "${CLI}" "${cmd_args[@]}" J > "${output_file}" 2>&1; then + echo " Status: OK" + else + echo " Status: Command returned non-zero (may be expected for error cases)" + fi + + # Verify the output is valid JSON; if not, try to salvage or flag it + if [ ! -s "${output_file}" ]; then + echo " WARNING: Output file is empty!" + rm -f "${output_file}" + elif ! python3 -m json.tool "${output_file}" > /dev/null 2>&1; then + # storcli2 may mix text preamble with JSON — try extracting JSON portion + # Look for first '{' to last '}' + if python3 -c " +import sys, json, re +with open('${output_file}', 'r') as f: + content = f.read() +start = content.find('{') +end = content.rfind('}') +if start >= 0 and end > start: + obj = json.loads(content[start:end+1]) + with open('${output_file}', 'w') as f: + json.dump(obj, f, indent=2) +else: + sys.exit(1) +" 2>/dev/null; then + echo " WARNING: Extracted JSON from mixed output" + else + echo " WARNING: Output is not valid JSON!" + echo " Content: $(head -c 200 "${output_file}")" + fi + fi + echo "" +} + +# ============================================================================= +# 1. CONTROLLERS +# ============================================================================= +echo "--- Controllers ---" +echo "" + +# controllers/storcli2/all.json +# Command: storcli2 show all J +# Used by: adapter.showAll() → runner.Run(["show", "all"]) +run_and_save \ + "All controllers overview" \ + "${OUTPUT_DIR}/controllers/storcli2/all.json" \ + show all + +# controllers/storcli2/c0.json +# Command: storcli2 /c0 show all J +# Used by: adapter.showAllController("/c0") → runner.Run(["/c0", "show", "all"]) +run_and_save \ + "Controller ${CONTROLLER_INDEX} full details" \ + "${OUTPUT_DIR}/controllers/storcli2/c0.json" \ + "${C}" show all + +# controllers/storcli2/c5_invalid.json +# Command: storcli2 /c5 show all J +# Used by: error case when controller doesn't exist +run_and_save \ + "Invalid controller (expected failure)" \ + "${OUTPUT_DIR}/controllers/storcli2/c5_invalid.json" \ + "/c${INVALID_CONTROLLER_INDEX}" show all + +# controllers/storcli2/c0_s12_UGood.json +# Command: storcli2 /c0 show all J (with one drive in UGood state) +# Used by: createLV flow - controller must have an unconfigured drive +# NOTE: Captured automatically in DESTRUCTIVE mode (delete VD → capture → recreate) +echo " [SKIP] c0_s12_UGood.json will be captured in DESTRUCTIVE mode" +echo "" + +# ============================================================================= +# 2. PHYSICAL DRIVES +# ============================================================================= +echo "--- Physical Drives ---" +echo "" + +# physicaldrives/show/storcli2/all.json +# Command: storcli2 /c0/eall/sall show all J +# Used by: display of all drives with full details +run_and_save \ + "All physical drives (all enclosures, all slots)" \ + "${OUTPUT_DIR}/physicaldrives/show/storcli2/all.json" \ + "${C}/eall/sall" show all + +# Individual physical drives +# Command: storcli2 /c0/e{EID}/s{SLOT} show all J +# Used by: adapter.showAllPhysicalDrive("/c0/e306/s0") → runner.Run(["/c0/e306/s0", "show", "all"]) +for eid in ${ENCLOSURE_IDS}; do + for slot in ${SLOTS}; do + run_and_save \ + "Physical drive e${eid}/s${slot}" \ + "${OUTPUT_DIR}/physicaldrives/show/storcli2/e${eid}s${slot}.json" \ + "${C}/e${eid}/s${slot}" show all + done +done + +# Invalid physical drive (error case) +# Command: storcli2 /c0/e306/s99 show all J +# Used by: error case when drive doesn't exist +run_and_save \ + "Invalid physical drive (expected failure)" \ + "${OUTPUT_DIR}/physicaldrives/show/storcli2/e${FIRST_ENCLOSURE}s${INVALID_SLOT}_invalid.json" \ + "${C}/e${FIRST_ENCLOSURE}/s${INVALID_SLOT}" show all + +# Blink start +# Command: storcli2 /c0/e306/s0 start locate J +# Used by: adapter.blink(metadata, "start") → runner.Run(["/c0/e306/s0", "start", "locate"]) +run_and_save \ + "Start blink on e${FIRST_ENCLOSURE}/s${FIRST_SLOT}" \ + "${OUTPUT_DIR}/physicaldrives/blink/storcli2/start.json" \ + "${C}/e${FIRST_ENCLOSURE}/s${FIRST_SLOT}" start locate + +# Blink stop +# Command: storcli2 /c0/e306/s0 stop locate J +# Used by: adapter.blink(metadata, "stop") → runner.Run(["/c0/e306/s0", "stop", "locate"]) +run_and_save \ + "Stop blink on e${FIRST_ENCLOSURE}/s${FIRST_SLOT}" \ + "${OUTPUT_DIR}/physicaldrives/blink/storcli2/stop.json" \ + "${C}/e${FIRST_ENCLOSURE}/s${FIRST_SLOT}" stop locate + +# JBOD enable (expected failure when drive is in a VD) +# Command: storcli2 /c0/e306/s0 set jbod J +# Used by: adapter.setJBOD(metadata, "set") → runner.Run(["/c0/e306/s0", "set", "jbod"]) +run_and_save \ + "Enable JBOD on e${FIRST_ENCLOSURE}/s${FIRST_SLOT} (expected failure - drive in VD)" \ + "${OUTPUT_DIR}/physicaldrives/jbod/enable/storcli2/fail.json" \ + "${C}/e${FIRST_ENCLOSURE}/s${FIRST_SLOT}" set jbod + +# JBOD disable (expected failure when drive is in a VD) +# Command: storcli2 /c0/e306/s0 delete jbod J +# Used by: adapter.setJBOD(metadata, "delete") → runner.Run(["/c0/e306/s0", "delete", "jbod"]) +run_and_save \ + "Disable JBOD on e${FIRST_ENCLOSURE}/s${FIRST_SLOT} (expected failure - drive in VD)" \ + "${OUTPUT_DIR}/physicaldrives/jbod/disable/storcli2/fail.json" \ + "${C}/e${FIRST_ENCLOSURE}/s${FIRST_SLOT}" delete jbod + +# ============================================================================= +# 3. LOGICAL VOLUMES +# ============================================================================= +echo "--- Logical Volumes ---" +echo "" + +# Individual virtual drive details +# Command: storcli2 /c0/v{N} show all J +# Used by: adapter.showAllVirtualDrive("/c0/v1") → runner.Run(["/c0/v1", "show", "all"]) +for vd_id in ${VD_IDS}; do + run_and_save \ + "Virtual drive v${vd_id}" \ + "${OUTPUT_DIR}/logicalvolumes/show/storcli2/v${vd_id}.json" \ + "${C}/v${vd_id}" show all +done + +# "all" variant - same content as first VD but used as the reference "all" file +# In storcli v1, this was a multi-VD output. For storcli2, capture all VDs: +# Command: storcli2 /c0/vall show all J +# Used by: listing all logical volumes with their details +run_and_save \ + "All virtual drives" \ + "${OUTPUT_DIR}/logicalvolumes/show/storcli2/all.json" \ + "${C}/vall" show all + +# Invalid VD (error case) +# Command: storcli2 /c0/v999 show all J +# Used by: error case when VD doesn't exist +run_and_save \ + "Invalid virtual drive (expected failure)" \ + "${OUTPUT_DIR}/logicalvolumes/show/storcli2/v${INVALID_VD_ID}_invalid.json" \ + "${C}/v${INVALID_VD_ID}" show all + +# Delete VD - failure case (VD doesn't exist) +# Command: storcli2 /c0/v999 delete J +# Used by: adapter.deleteLV() error case +run_and_save \ + "Delete non-existent VD (expected failure)" \ + "${OUTPUT_DIR}/logicalvolumes/delete/storcli2/fail_vdNotExist.json" \ + "${C}/v${INVALID_VD_ID}" delete + +# Migrate - failure case (operation not supported/possible) +# Command: storcli2 /c0/v1 start migrate type=raid0 option=add drives=306:99 J +# Used by: adapter.migrate() error case +run_and_save \ + "Migrate VD (expected failure)" \ + "${OUTPUT_DIR}/logicalvolumes/migrate/storcli2/fail.json" \ + "${C}/v1" start migrate type=raid0 option=add "drives=${FIRST_ENCLOSURE}:${INVALID_SLOT}" + +# ============================================================================= +# 4. DESTRUCTIVE OPERATIONS (disabled by default) +# Flow: delete VD → capture UGood state → recreate VD → capture create/cache/delete +# ============================================================================= +if [ "${DESTRUCTIVE}" = "true" ]; then + echo "--- Destructive Operations ---" + echo "" + + # --- Step 0: Auto-detect sacrifice VD if needed --- + if [ "${SACRIFICE_VD_ID}" = "auto" ]; then + echo " [STEP 0] Auto-detecting sacrifice VD (last VD in controller)..." + SACRIFICE_VD_ID=$("${CLI}" "${C}" show all J 2>&1 | python3 -c " +import sys, json + +content = sys.stdin.read() +start = content.find('{') +end = content.rfind('}') +if start < 0 or end <= start: + sys.exit(1) +data = json.loads(content[start:end+1]) +rd = data['Controllers'][0]['Response Data'] + +# Get last VD from VD LIST +vd_list = rd.get('VD LIST', []) +if isinstance(vd_list, list) and vd_list: + last = vd_list[-1] + if isinstance(last, dict): + dgvd = last.get('DG/VD', '') + if '/' in str(dgvd): + print(str(dgvd).split('/')[1]) + sys.exit(0) +sys.exit(1) +" 2>/dev/null || echo "") + + if [ -z "${SACRIFICE_VD_ID}" ]; then + echo " [ERROR] Could not auto-detect sacrifice VD from controller." + echo " Set SACRIFICE_VD_ID manually in the script." + SACRIFICE_VD_ID="" + else + echo " Auto-detected: v${SACRIFICE_VD_ID}" + echo "" + fi + fi + + if [ -z "${SACRIFICE_VD_ID}" ]; then + echo " [ERROR] No valid SACRIFICE_VD_ID. Skipping destructive operations." + echo "" + else + + echo " [INFO] Sacrifice VD: v${SACRIFICE_VD_ID}" + echo "" + + # --- Step 1: Identify the drive behind the sacrifice VD --- + echo " [STEP 1] Detecting drive behind v${SACRIFICE_VD_ID}..." + VD_INFO_JSON=$("${CLI}" "${C}/v${SACRIFICE_VD_ID}" show all J 2>&1 || true) + + # Verify the VD actually exists (storcli2 returns exit 0 even for invalid VDs) + VD_STATUS=$(echo "${VD_INFO_JSON}" | python3 -c " +import sys, json +content = sys.stdin.read() +start = content.find('{') +end = content.rfind('}') +if start < 0 or end <= start: + sys.exit(1) +data = json.loads(content[start:end+1]) +status = data['Controllers'][0]['Command Status']['Status'] +print(status) +" 2>/dev/null || echo "Unknown") + + if [ "${VD_STATUS}" != "Success" ]; then + echo " [ERROR] VD v${SACRIFICE_VD_ID} does not exist (Status: ${VD_STATUS})." + echo " The VD may have been deleted in a previous run." + echo " Either recreate it or set SACRIFICE_VD_ID to a valid VD." + echo "" + echo " Available VDs can be found with: storcli2 /c0/vall show J" + echo "" + else + + # Parse enclosure:slot of the first PD in this VD + # storcli2 format: Response Data > Virtual Drives[0] > PDs[0] > EID:Slt (or EID:Slot) + SACRIFICE_DRIVE=$(echo "${VD_INFO_JSON}" | python3 -c " +import sys, json + +content = sys.stdin.read() +start = content.find('{') +end = content.rfind('}') +if start < 0 or end <= start: + sys.exit(1) +data = json.loads(content[start:end+1]) +rd = data['Controllers'][0]['Response Data'] + +def get_eid_slt(pd): + '''Get EID:Slot value from PD dict, trying both field name variants.''' + return pd.get('EID:Slt') or pd.get('EID:Slot') or '' + +# storcli2 format: nested under 'Virtual Drives' array +vds = rd.get('Virtual Drives', []) +if isinstance(vds, list) and vds: + for vd in vds: + if not isinstance(vd, dict): + continue + pds = vd.get('PDs', []) + if isinstance(pds, list) and pds: + val = get_eid_slt(pds[0]) + if val and val != '-': + print(val) + sys.exit(0) + +# Fallback: storcli v1 format - 'PDs for VD N' key +for key in rd: + if key.startswith('PDs for VD'): + pds = rd[key] + if isinstance(pds, list) and pds: + val = get_eid_slt(pds[0]) + if val and val != '-': + print(val) + sys.exit(0) + +# Fallback: search all nested dicts/lists for any PD-like object +def search_pds(obj): + if isinstance(obj, dict): + val = get_eid_slt(obj) + if val and val != '-' and ':' in val: + return val + for v in obj.values(): + result = search_pds(v) + if result: + return result + elif isinstance(obj, list): + for item in obj: + result = search_pds(item) + if result: + return result + return None + +result = search_pds(rd) +if result: + print(result) + sys.exit(0) + +sys.exit(1) +" 2>/dev/null || echo "") + + if [ -z "${SACRIFICE_DRIVE}" ]; then + # Fallback: Try to find the drive from controller TOPOLOGY + echo " [STEP 1b] VD show all parsing failed, trying controller TOPOLOGY..." + SACRIFICE_DRIVE=$("${CLI}" "${C}" show all J 2>&1 | python3 -c " +import sys, json + +content = sys.stdin.read() +start = content.find('{') +end = content.rfind('}') +if start < 0 or end <= start: + sys.exit(1) +data = json.loads(content[start:end+1]) +rd = data['Controllers'][0]['Response Data'] + +# Find the DG for the target VD from VD LIST +target_vd = ${SACRIFICE_VD_ID} +target_dg = None +vd_list = rd.get('VD LIST', []) +for vd in vd_list: + dgvd = vd.get('DG/VD', '') + if '/' in str(dgvd): + parts = str(dgvd).split('/') + if parts[1] == str(target_vd): + target_dg = int(parts[0]) + break + +if target_dg is None: + sys.exit(1) + +# Find the drive for this DG from TOPOLOGY +topology = rd.get('TOPOLOGY', []) +for entry in topology: + if not isinstance(entry, dict): + continue + if entry.get('DG') == target_dg and entry.get('Type') == 'DRIVE': + eid_slot = entry.get('EID:Slot', '') or entry.get('EID:Slt', '') + if eid_slot and eid_slot != '-' and ':' in eid_slot: + print(eid_slot) + sys.exit(0) + +sys.exit(1) +" 2>/dev/null || echo "") + fi + + if [ -z "${SACRIFICE_DRIVE}" ]; then + echo " [ERROR] Could not detect drive for v${SACRIFICE_VD_ID}." + echo " Make sure SACRIFICE_VD_ID is valid and the VD exists." + echo "" + echo " Debug: dumping first 500 chars of VD JSON:" + echo "${VD_INFO_JSON}" | head -c 500 + echo "" + echo "" + else + # Parse enclosure and slot from "EID:Slot" format (e.g. "320:11") + SACRIFICE_EID=$(echo "${SACRIFICE_DRIVE}" | cut -d: -f1) + SACRIFICE_SLOT=$(echo "${SACRIFICE_DRIVE}" | cut -d: -f2) + echo " Drive: e${SACRIFICE_EID}/s${SACRIFICE_SLOT}" + echo "" + + # --- Step 2: Delete the sacrifice VD to free the drive --- + echo " [STEP 2] Deleting v${SACRIFICE_VD_ID} to free drive..." + run_and_save \ + "Delete VD v${SACRIFICE_VD_ID} (success case)" \ + "${OUTPUT_DIR}/logicalvolumes/delete/storcli2/success.json" \ + "${C}/v${SACRIFICE_VD_ID}" delete + + # Give the controller a moment to settle + sleep 2 + + # --- Step 3: Capture UGood state --- + echo " [STEP 3] Capturing UGood state..." + + # controllers/storcli2/c0_s12_UGood.json + # Command: storcli2 /c0 show all J (with drive in UGood/unconfigured state) + # Used by: createLV flow - controller must show an unconfigured drive + run_and_save \ + "Controller with UGood drive (c0 show all)" \ + "${OUTPUT_DIR}/controllers/storcli2/c0_s12_UGood.json" \ + "${C}" show all + + # physicaldrives/show/storcli2/e{EID}s{SLOT}_UGood.json + # Command: storcli2 /c0/e{EID}/s{SLOT} show all J (drive in UGood state) + # Used by: physical drive detail when drive is unconfigured + run_and_save \ + "Physical drive e${SACRIFICE_EID}/s${SACRIFICE_SLOT} in UGood state" \ + "${OUTPUT_DIR}/physicaldrives/show/storcli2/e${SACRIFICE_EID}s${SACRIFICE_SLOT}_UGood.json" \ + "${C}/e${SACRIFICE_EID}/s${SACRIFICE_SLOT}" show all + + # --- Step 4: Recreate the VD (captures create success) --- + echo " [STEP 4] Recreating VD on e${SACRIFICE_EID}/s${SACRIFICE_SLOT}..." + + # logicalvolumes/create/storcli2/success.json + # Command: storcli2 /c0 add vd raid0 drives=EID:SLOT wb nora J + # Used by: adapter.createLV() → runner.Run(["/c0", "add", "vd", ...]) + # NOTE: storcli2 uses different syntax than v1! + # v1: /c0 add vd type=raid0 drives=EID:SLOT rdpolicy=NoRA wrcache=WB iopolicy=Direct + # v2: /c0 add vd raid0 drives=EID:SLOT wb nora + run_and_save \ + "Create VD (RAID0 on e${SACRIFICE_EID}/s${SACRIFICE_SLOT})" \ + "${OUTPUT_DIR}/logicalvolumes/create/storcli2/success.json" \ + "${C}" add vd raid0 "drives=${SACRIFICE_EID}:${SACRIFICE_SLOT}" wb nora + + sleep 2 + + # --- Step 5: Detect the newly created VD ID --- + echo " [STEP 5] Detecting newly created VD..." + NEWEST_VD=$("${CLI}" "${C}/vall" show J 2>&1 | python3 -c " +import sys, json +content = sys.stdin.read() +start = content.find('{') +end = content.rfind('}') +if start < 0 or end <= start: + sys.exit(1) +data = json.loads(content[start:end+1]) +rd = data['Controllers'][0]['Response Data'] + +# storcli2 format: 'Virtual Drives' array with 'VD Info' sub-objects +vds = rd.get('Virtual Drives', []) +if isinstance(vds, list) and vds: + last_vd = vds[-1] + if isinstance(last_vd, dict): + # May be nested under 'VD Info' or directly have 'DG/VD' + vd_info = last_vd.get('VD Info', last_vd) + if isinstance(vd_info, dict): + dgvd = vd_info.get('DG/VD', '') + if '/' in str(dgvd): + print(str(dgvd).split('/')[1]) + sys.exit(0) + # If VD Info is a list, get the first element + elif isinstance(vd_info, list) and vd_info: + dgvd = vd_info[0].get('DG/VD', '') + if '/' in str(dgvd): + print(str(dgvd).split('/')[1]) + sys.exit(0) + +# Fallback: storcli v1/v2 flat 'VD LIST' format +vd_list = rd.get('VD LIST', []) +if isinstance(vd_list, list) and vd_list: + last = vd_list[-1] + if isinstance(last, dict): + dgvd = last.get('DG/VD', '') + if '/' in str(dgvd): + print(str(dgvd).split('/')[1]) + sys.exit(0) + +sys.exit(1) +" 2>/dev/null || echo "") + + if [ -n "${NEWEST_VD}" ]; then + echo " New VD ID: v${NEWEST_VD}" + echo "" + + # --- Step 6: Cache options success --- + # logicalvolumes/cacheoptions/storcli2/success.json + # storcli2 uses separate commands for each cache option + # (v1 combined syntax "set rdcache=RA wrcache=WT" does not work) + # Try: storcli2 /c0/v{N} set wrcache=WT J + # storcli2 /c0/v{N} set rdcache=RA J + # Used by: adapter.setLVCacheOptions() + run_and_save \ + "Set write cache on v${NEWEST_VD}" \ + "${OUTPUT_DIR}/logicalvolumes/cacheoptions/storcli2/success_wrcache.json" \ + "${C}/v${NEWEST_VD}" set wrcache=WT + + run_and_save \ + "Set read cache on v${NEWEST_VD}" \ + "${OUTPUT_DIR}/logicalvolumes/cacheoptions/storcli2/success_rdcache.json" \ + "${C}/v${NEWEST_VD}" set rdcache=RA + + # Also try combined (may fail - for documentation purposes) + run_and_save \ + "Set cache options combined on v${NEWEST_VD} (may fail in storcli2)" \ + "${OUTPUT_DIR}/logicalvolumes/cacheoptions/storcli2/success.json" \ + "${C}/v${NEWEST_VD}" set rdcache=RA wrcache=WT + else + echo " [ERROR] Could not determine newly created VD ID" + echo "" + fi + + # --- Step 7: Create failure case (drive already in use) --- + # logicalvolumes/create/storcli2/fail.json + # Command: storcli2 /c0 add vd raid0 drives=EID:SLOT J (drive now in use) + # Used by: adapter.createLV() error case + run_and_save \ + "Create VD on in-use drive (expected failure)" \ + "${OUTPUT_DIR}/logicalvolumes/create/storcli2/fail.json" \ + "${C}" add vd raid0 "drives=${FIRST_ENCLOSURE}:${FIRST_SLOT}" + + # --- Step 8: Delete failure cases --- + # logicalvolumes/delete/storcli2/fail_invalid.json + # Command: storcli2 /c0/v299 delete J + run_and_save \ + "Delete invalid VD (expected failure)" \ + "${OUTPUT_DIR}/logicalvolumes/delete/storcli2/fail_invalid.json" \ + "${C}/v299" delete + + echo " [DONE] Destructive operations complete." + echo " VD was recreated on e${SACRIFICE_EID}/s${SACRIFICE_SLOT}." + echo " New VD ID: v${NEWEST_VD:-unknown}" + echo "" + fi + fi # end VD_STATUS check + fi # end SACRIFICE_VD_ID empty check +else + echo "--- Destructive Operations SKIPPED (set DESTRUCTIVE=true to enable) ---" + echo "" + echo " The following files need destructive operations to capture:" + echo " - controllers/storcli2/c0_s12_UGood.json (controller with UGood drive)" + echo " - physicaldrives/show/storcli2/e{EID}s{SLOT}_UGood.json" + echo " - logicalvolumes/create/storcli2/success.json" + echo " - logicalvolumes/create/storcli2/fail.json" + echo " - logicalvolumes/delete/storcli2/success.json" + echo " - logicalvolumes/delete/storcli2/fail_invalid.json" + echo " - logicalvolumes/cacheoptions/storcli2/success.json" + echo "" +fi + +# ============================================================================= +# DONE +# ============================================================================= +echo "============================================" +echo " Collection Complete!" +echo "============================================" +echo "" +echo "Output directory: ${OUTPUT_DIR}" +echo "" +echo "To use these files in the project:" +echo " 1. Copy the contents of ${OUTPUT_DIR}/ to:" +echo " pkg/implementation/raidcontroller/megaraid/testdata/" +echo "" +echo " 2. Verify JSON files are valid:" +echo " find ${OUTPUT_DIR} -name '*.json' -exec python3 -m json.tool {} > /dev/null \;" +echo "" +echo "Files collected:" +find "${OUTPUT_DIR}" -name "*.json" -type f | sort | while read -r f; do + echo " ${f}" +done diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/controllers/c0.json b/pkg/implementation/raidcontroller/megaraid/testdata/controllers/c0.json deleted file mode 100644 index 941f9aa..0000000 --- a/pkg/implementation/raidcontroller/megaraid/testdata/controllers/c0.json +++ /dev/null @@ -1 +0,0 @@ -{"Controllers":[{"Command Status":{"CLI Version":"007.1616.0000.0000 Dec 24, 2020","Operating system":"Linux 4.18.0-553.22.1.el8_10.x86_64","Controller":0,"Status":"Success","Description":"None"},"Response Data":{"Basics":{"Controller":0,"Model":"MegaRAID 9560-8i 4GB","Serial Number":"SKC5120859","Current Controller Date/Time":"11/08/2024, 14:35:09","Current System Date/time":"11/08/2024, 14:35:10","SAS Address":"500062b212da5d40","PCI Address":"00:c1:00:00","Mfg Date":"12/23/22","Rework Date":"00/00/00","Revision No":"01006"},"Version":{"Firmware Package Build":"52.24.0-4763","Firmware Version":"5.240.02-3768","NVDATA Version":"5.2400.00-0634","CBB Version":"24.250.10.00","Bios Version":"7.24.01.0_0x07180100","HII Version":"07.24.03.00","HIIA Version":"07.24.03.00","Driver Name":"megaraid_sas","Driver Version":"07.727.03.00-rc1"},"Bus":{"Vendor Id":4096,"Device Id":4322,"SubVendor Id":4096,"SubDevice Id":16400,"Host Interface":"PCI-E","Device Interface":"SAS-12G","Bus Number":193,"Device Number":0,"Function Number":0,"Domain ID":0},"Pending Images in Flash":{"Image name":"No pending images"},"Status":{"Controller Status":"Optimal","Memory Correctable Errors":0,"Memory Uncorrectable Errors":0,"ECC Bucket Count":0,"Any Offline VD Cache Preserved":"No","BBU Status":0,"PD Firmware Download in progress":"No","Support PD Firmware Download":"Yes","Lock Key Assigned":"No","Failed to get lock key on bootup":"No","Lock key has not been backed up":"No","Bios was not detected during boot":"No","Controller must be rebooted to complete security operation":"No","A rollback operation is in progress":"No","At least one PFK exists in NVRAM":"No","SSC Policy is WB":"No","Controller has booted into safe mode":"No","Controller shutdown required":"No","Controller has booted into certificate provision mode":"No","Current Personality":"RAID-Mode "},"Supported Adapter Operations":{"Rebuild Rate":"Yes","CC Rate":"Yes","BGI Rate ":"Yes","Reconstruct Rate":"Yes","Patrol Read Rate":"Yes","Alarm Control":"No","Cluster Support":"No","BBU":"Yes","Spanning":"Yes","Dedicated Hot Spare":"Yes","Revertible Hot Spares":"Yes","Foreign Config Import":"Yes","Self Diagnostic":"Yes","Allow Mixed Redundancy on Array":"No","Global Hot Spares":"Yes","Deny SCSI Passthrough":"No","Deny SMP Passthrough":"No","Deny STP Passthrough":"No","Support more than 8 Phys":"Yes","FW and Event Time in GMT":"No","Support Enhanced Foreign Import":"Yes","Support Enclosure Enumeration":"Yes","Support Allowed Operations":"Yes","Abort CC on Error":"Yes","Support Multipath":"Yes","Support Odd & Even Drive count in RAID1E":"No","Support Security":"Yes","Support Config Page Model":"Yes","Support the OCE without adding drives":"Yes","Support EKM":"Yes","Snapshot Enabled":"No","Support PFK":"Yes","Support PI":"No","Support Ld BBM Info":"No","Support Shield State":"Yes","Block SSD Write Disk Cache Change":"No","Support Suspend Resume BG ops":"Yes","Support Emergency Spares":"Yes","Support Set Link Speed":"Yes","Support Boot Time PFK Change":"No","Support JBOD":"No","Disable Online PFK Change":"No","Support Perf Tuning":"Yes","Support SSD PatrolRead":"Yes","Real Time Scheduler":"Yes","Support Reset Now":"Yes","Support Emulated Drives":"Yes","Headless Mode":"Yes","Dedicated HotSpares Limited":"No","Point In Time Progress":"Yes","Extended LD":"Yes","Support Uneven span ":"No","Support Config Auto Balance":"No","Support Maintenance Mode":"No","Support Diagnostic results":"Yes","Support Ext Enclosure":"Yes","Support Sesmonitoring":"Yes","Support SecurityonJBOD":"Yes","Support ForceFlash":"Yes","Support DisableImmediateIO":"Yes","Support LargeIOSupport":"No","Support DrvActivityLEDSetting":"Yes","Support FlushWriteVerify":"Yes","Support CPLDUpdate":"No","Support ForceTo512e":"Yes","Support discardCacheDuringLDDelete":"Yes","Support JBOD Write cache":"No","Support Large QD Support":"No","Support Ctrl Info Extended":"Yes","Support IButton less":"Yes","Support AES Encryption Algorithm":"No","Support Encrypted MFC":"Yes","Support Snapdump":"Yes","Support Force Personality Change":"Yes","Support Dual Fw Image":"No","Support PSOC Update":"Yes","Support Secure Boot":"Yes","Support Debug Queue":"No","Support Least Latency Mode":"No","Support OnDemand Snapdump":"Yes","Support Clear Snapdump":"Yes","Support FW Triggered Snapdump":"Yes","Support PHY current speed":"Yes","Support Lane current speed":"Yes","Support NVMe Width":"Yes","Support Lane DeviceType":"Yes","Support Extended Drive performance Monitoring":"Yes","Support NVMe Repair":"Yes","Support Platform Security":"No","Support None Mode Params":"Yes","Support Extended Controller Property":"Yes","Support Smart Poll Interval for DirectAttached":"Yes","Support Write Journal Pinning":"Yes","Support SMP Passthru with Port Number":"Yes","Support NVMe Init Error Device ConnectorIndex":"No"},"Enterprise Key management":{"Capability":"Supported","Boot Agent":"Not Available","Configured":"No"},"Supported PD Operations":{"Force Online":"Yes","Force Offline":"Yes","Force Rebuild":"Yes","Deny Force Failed":"No","Deny Force Good/Bad":"No","Deny Missing Replace":"No","Deny Clear":"No","Deny Locate":"No","Support Power State":"Yes","Set Power State For Cfg":"No","Support T10 Power State":"No","Support Temperature":"Yes","NCQ":"Yes","Support Max Rate SATA":"No","Support Degraded Media":"No","Support Parallel FW Update":"Yes","Support Drive Crypto Erase":"Yes","Support SSD Wear Gauge":"No"},"Supported VD Operations":{"Read Policy":"Yes","Write Policy":"Yes","IO Policy":"No","Access Policy":"Yes","Disk Cache Policy":"Yes","Reconstruction":"Yes","Deny Locate":"No","Deny CC":"No","Allow Ctrl Encryption":"No","Enable LDBBM":"Yes","Support FastPath":"Yes","Performance Metrics":"Yes","Power Savings":"No","Support Powersave Max With Cache":"No","Support Breakmirror":"No","Support SSC WriteBack":"No","Support SSC Association":"No","Support VD Hide":"Yes","Support VD Cachebypass":"Yes","Support VD discardCacheDuringLDDelete":"Yes","Support VD Scsi Unmap":"Yes"},"Advanced Software Option":[{"Adv S/W Opt":"MegaRAID FastPath"," Time Remaining":" Unlimited"," Mode":" -"},{"Adv S/W Opt":"MegaRAID SafeStore"," Time Remaining":" Unlimited"," Mode":" -"},{"Adv S/W Opt":"MegaRAID RAID6"," Time Remaining":" Unlimited"," Mode":" -"},{"Adv S/W Opt":"MegaRAID RAID5"," Time Remaining":" Unlimited"," Mode":" -"}],"Safe ID":" LMMVT1GMFIUTV2IJCTEPAFC6J2J5LB7T5WKRS7IZ","HwCfg":{"ChipRevision":" A0","BatteryFRU":"N/A","Front End Port Count":0,"Backend Port Count":8,"BBU":"Present","Alarm":"Absent","Serial Debugger":"Present","NVRAM Size":"128KB","Flash Size":"16MB","On Board Memory Size":"4096MB","CacheVault Flash Size":"17.320 GB","TPM":"Absent","Upgrade Key":"Absent","On Board Expander":"Absent","Temperature Sensor for ROC":"Present","Temperature Sensor for Controller":"Absent","Upgradable CPLD":"Absent","Upgradable PSOC":"Present","Current Size of CacheCade (GB)":0,"Current Size of FW Cache (MB)":3142,"ROC temperature(Degree Celsius)":49},"Policies":{"Policies Table":[{"Policy":"Predictive Fail Poll Interval","Current":"300 sec","Default":""},{"Policy":"Interrupt Throttle Active Count","Current":"16","Default":""},{"Policy":"Interrupt Throttle Completion","Current":"50 us","Default":""},{"Policy":"Rebuild Rate","Current":"30 %","Default":"30%"},{"Policy":"PR Rate","Current":"30 %","Default":"30%"},{"Policy":"BGI Rate","Current":"30 %","Default":"30%"},{"Policy":"Check Consistency Rate","Current":"30 %","Default":"30%"},{"Policy":"Reconstruction Rate","Current":"30 %","Default":"30%"},{"Policy":"Cache Flush Interval","Current":"4s","Default":""}],"Flush Time(Default)":"4s","Drive Coercion Mode":"none","Auto Rebuild":"On","Battery Warning":"On","ECC Bucket Size":15,"ECC Bucket Leak Rate (hrs)":24,"Restore Hot Spare on Insertion":"Off","Expose Enclosure Devices":"On","Maintain PD Fail History":"On","Reorder Host Requests":"On","Auto detect BackPlane":"SGPIO/i2c SEP","Load Balance Mode":"Auto","Security Key Assigned":"Off","Disable Online Controller Reset":"Off","Use drive activity for locate":"Off"},"Boot":{"BIOS Enumerate VDs":1,"Stop BIOS on Error":"Off","Delay during POST":0,"Spin Down Mode":"None","Enable Ctrl-R":"No","Enable Web BIOS":"No","Enable PreBoot CLI":"No","Enable BIOS":"Yes","Max Drives to Spinup at One Time":2,"Maximum number of direct attached drives to spin up in 1 min":60,"Delay Among Spinup Groups (sec)":2,"Allow Boot with Preserved Cache":"Off"},"High Availability":{"Topology Type":"None","Cluster Permitted":"No","Cluster Active":"No"},"Defaults":{"Phy Polarity":0,"Phy PolaritySplit":0,"Strip Size":"256 KB","Write Policy":"WB","Read Policy":"RA","Cache When BBU Bad":"Off","Cached IO":"Off","VD PowerSave Policy":"Controller Defined","Default spin down time (mins)":30,"Coercion Mode":"None","ZCR Config":"Unknown","Max Chained Enclosures":16,"Direct PD Mapping":"No","Restore Hot Spare on Insertion":"No","Expose Enclosure Devices":"Yes","Maintain PD Fail History":"Yes","Zero Based Enclosure Enumeration":"No","Disable Puncturing":"No","EnableLDBBM":"Yes","DisableHII":"No","Un-Certified Hard Disk Drives":"Allow","SMART Mode":"Mode 6","Enable LED Header":"Yes","LED Show Drive Activity":"Yes","Dirty LED Shows Drive Activity":"No","EnableCrashDump":"No","Disable Online Controller Reset":"No","Treat Single span R1E as R10":"No","Power Saving option":"Enabled","TTY Log In Flash":"No","Auto Enhanced Import":"Yes","BreakMirror RAID Support":"No","Disable Join Mirror":"Yes","Enable Shield State":"Yes","Time taken to detect CME":"60 sec"},"Capabilities":{"Supported Drives":"SAS, SATA, NVMe","RAID Level Supported":"RAID0, RAID1(2 or more drives), RAID5, RAID6, RAID00, RAID10(2 or more drives per span), RAID50, RAID60","Enable JBOD":"No","Mix in Enclosure":"Allowed","Mix of SAS/SATA of HDD type in VD":"Allowed","Mix of SAS/SATA of SSD type in VD":"Not Allowed","Mix of SSD/HDD in VD":"Not Allowed","SAS Disable":"No","Max Arms Per VD":32,"Max Spans Per VD":8,"Max Arrays":240,"Max VD per array":16,"Max Number of VDs":240,"Max Parallel Commands":5101,"Max SGE Count":60,"Max Data Transfer Size":"2048 sectors","Max Strips PerIO":42,"Max Configurable CacheCade Size(GB)":0,"Max Transportable DGs":0,"Enable Snapdump":"Yes","Enable SCSI Unmap":"Yes","FDE Drive Mix Support":"No","Min Strip Size":"64 KB","Max Strip Size":"1.000 MB"},"Scheduled Tasks":{"Consistency Check Reoccurrence":"168 hrs","Next Consistency check launch":"11/09/2024, 03:00:00","Patrol Read Reoccurrence":"168 hrs","Next Patrol Read launch":"11/09/2024, 03:00:00","Battery learn Reoccurrence":"670 hrs","Next Battery Learn":"11/13/2024, 04:00:00","OEMID":"Broadcom"},"Secure Boot":{"Secure Boot Enabled":"Yes","Controller in Soft Secure Mode":"No","Controller in Hard Secure Mode":"Yes","Key Update Pending":"No","Remaining Secure Boot Key Slots":7},"Security Protocol properties":{"Security Protocol":"None"},"Drive Groups":12,"TOPOLOGY":[{"DG":0,"Arr":"-","Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":0,"Arr":0,"Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":0,"Arr":0,"Row":0,"EID:Slot":"251:1","DID":10,"Type":"DRIVE","State":"Onln","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"-","TR":"N"},{"DG":1,"Arr":"-","Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":1,"Arr":0,"Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":1,"Arr":0,"Row":0,"EID:Slot":"251:2","DID":5,"Type":"DRIVE","State":"Onln","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"-","TR":"N"},{"DG":2,"Arr":"-","Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":2,"Arr":0,"Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":2,"Arr":0,"Row":0,"EID:Slot":"251:3","DID":6,"Type":"DRIVE","State":"Onln","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"-","TR":"N"},{"DG":3,"Arr":"-","Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":3,"Arr":0,"Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":3,"Arr":0,"Row":0,"EID:Slot":"251:4","DID":11,"Type":"DRIVE","State":"Onln","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"-","TR":"N"},{"DG":4,"Arr":"-","Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":4,"Arr":0,"Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":4,"Arr":0,"Row":0,"EID:Slot":"251:5","DID":3,"Type":"DRIVE","State":"Onln","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"-","TR":"N"},{"DG":5,"Arr":"-","Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":5,"Arr":0,"Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":5,"Arr":0,"Row":0,"EID:Slot":"251:6","DID":7,"Type":"DRIVE","State":"Onln","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"-","TR":"N"},{"DG":6,"Arr":"-","Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":6,"Arr":0,"Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":6,"Arr":0,"Row":0,"EID:Slot":"251:7","DID":4,"Type":"DRIVE","State":"Onln","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"-","TR":"N"},{"DG":7,"Arr":"-","Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":7,"Arr":0,"Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":7,"Arr":0,"Row":0,"EID:Slot":"251:8","DID":9,"Type":"DRIVE","State":"Onln","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"-","TR":"N"},{"DG":8,"Arr":"-","Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":8,"Arr":0,"Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":8,"Arr":0,"Row":0,"EID:Slot":"251:9","DID":0,"Type":"DRIVE","State":"Onln","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"-","TR":"N"},{"DG":9,"Arr":"-","Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":9,"Arr":0,"Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":9,"Arr":0,"Row":0,"EID:Slot":"251:10","DID":8,"Type":"DRIVE","State":"Onln","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"-","TR":"N"},{"DG":10,"Arr":"-","Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":10,"Arr":0,"Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":10,"Arr":0,"Row":0,"EID:Slot":"251:11","DID":2,"Type":"DRIVE","State":"Onln","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"-","TR":"N"},{"DG":11,"Arr":"-","Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":11,"Arr":0,"Row":"-","EID:Slot":"-","DID":"-","Type":"RAID0","State":"Optl","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"N","TR":"N"},{"DG":11,"Arr":0,"Row":0,"EID:Slot":"251:12","DID":1,"Type":"DRIVE","State":"Onln","BT":"N","Size":"16.370 TB","PDC":"dflt","PI":"N","SED":"N","DS3":"dflt","FSpace":"-","TR":"N"}],"Virtual Drives":12,"VD LIST":[{"DG/VD":"0/239","TYPE":"RAID0","State":"Optl","Access":"RW","Consist":"Yes","Cache":"RWTD","Cac":"-","sCC":"ON","Size":"16.370 TB","Name":""},{"DG/VD":"1/238","TYPE":"RAID0","State":"Optl","Access":"RW","Consist":"Yes","Cache":"RWTD","Cac":"-","sCC":"ON","Size":"16.370 TB","Name":""},{"DG/VD":"2/237","TYPE":"RAID0","State":"Optl","Access":"RW","Consist":"Yes","Cache":"RWTD","Cac":"-","sCC":"ON","Size":"16.370 TB","Name":""},{"DG/VD":"3/236","TYPE":"RAID0","State":"Optl","Access":"RW","Consist":"Yes","Cache":"RWTD","Cac":"-","sCC":"ON","Size":"16.370 TB","Name":""},{"DG/VD":"4/235","TYPE":"RAID0","State":"Optl","Access":"RW","Consist":"Yes","Cache":"RWTD","Cac":"-","sCC":"ON","Size":"16.370 TB","Name":""},{"DG/VD":"5/234","TYPE":"RAID0","State":"Optl","Access":"RW","Consist":"Yes","Cache":"RWTD","Cac":"-","sCC":"ON","Size":"16.370 TB","Name":""},{"DG/VD":"6/233","TYPE":"RAID0","State":"Optl","Access":"RW","Consist":"Yes","Cache":"RWTD","Cac":"-","sCC":"ON","Size":"16.370 TB","Name":""},{"DG/VD":"7/232","TYPE":"RAID0","State":"Optl","Access":"RW","Consist":"Yes","Cache":"RWTD","Cac":"-","sCC":"ON","Size":"16.370 TB","Name":""},{"DG/VD":"8/231","TYPE":"RAID0","State":"Optl","Access":"RW","Consist":"Yes","Cache":"RWTD","Cac":"-","sCC":"ON","Size":"16.370 TB","Name":""},{"DG/VD":"9/230","TYPE":"RAID0","State":"Optl","Access":"RW","Consist":"Yes","Cache":"RWTD","Cac":"-","sCC":"ON","Size":"16.370 TB","Name":""},{"DG/VD":"10/229","TYPE":"RAID0","State":"Optl","Access":"RW","Consist":"Yes","Cache":"RWTD","Cac":"-","sCC":"ON","Size":"16.370 TB","Name":""},{"DG/VD":"11/228","TYPE":"RAID0","State":"Optl","Access":"RW","Consist":"Yes","Cache":"RWTD","Cac":"-","sCC":"ON","Size":"16.370 TB","Name":""}],"Physical Drives":12,"PD LIST":[{"EID:Slt":"251:1","DID":10,"State":"Onln","DG":0,"Size":"16.370 TB","Intf":"SAS","Med":"HDD","SED":"N","PI":"N","SeSz":"512B","Model":"ST18000NM000D ","Sp":"U","Type":"-"},{"EID:Slt":"251:2","DID":5,"State":"Onln","DG":1,"Size":"16.370 TB","Intf":"SAS","Med":"HDD","SED":"N","PI":"N","SeSz":"512B","Model":"ST18000NM000D ","Sp":"U","Type":"-"},{"EID:Slt":"251:3","DID":6,"State":"Onln","DG":2,"Size":"16.370 TB","Intf":"SAS","Med":"HDD","SED":"N","PI":"N","SeSz":"512B","Model":"ST18000NM000D ","Sp":"U","Type":"-"},{"EID:Slt":"251:4","DID":11,"State":"Onln","DG":3,"Size":"16.370 TB","Intf":"SAS","Med":"HDD","SED":"N","PI":"N","SeSz":"512B","Model":"ST18000NM000D ","Sp":"U","Type":"-"},{"EID:Slt":"251:5","DID":3,"State":"Onln","DG":4,"Size":"16.370 TB","Intf":"SAS","Med":"HDD","SED":"N","PI":"N","SeSz":"512B","Model":"ST18000NM000D ","Sp":"U","Type":"-"},{"EID:Slt":"251:6","DID":7,"State":"Onln","DG":5,"Size":"16.370 TB","Intf":"SAS","Med":"HDD","SED":"N","PI":"N","SeSz":"512B","Model":"ST18000NM000D ","Sp":"U","Type":"-"},{"EID:Slt":"251:7","DID":4,"State":"Onln","DG":6,"Size":"16.370 TB","Intf":"SAS","Med":"HDD","SED":"N","PI":"N","SeSz":"512B","Model":"ST18000NM000D ","Sp":"U","Type":"-"},{"EID:Slt":"251:8","DID":9,"State":"Onln","DG":7,"Size":"16.370 TB","Intf":"SAS","Med":"HDD","SED":"N","PI":"N","SeSz":"512B","Model":"ST18000NM000D ","Sp":"U","Type":"-"},{"EID:Slt":"251:9","DID":0,"State":"Onln","DG":8,"Size":"16.370 TB","Intf":"SAS","Med":"HDD","SED":"N","PI":"N","SeSz":"512B","Model":"ST18000NM000D ","Sp":"U","Type":"-"},{"EID:Slt":"251:10","DID":8,"State":"Onln","DG":9,"Size":"16.370 TB","Intf":"SAS","Med":"HDD","SED":"N","PI":"N","SeSz":"512B","Model":"ST18000NM000D ","Sp":"U","Type":"-"},{"EID:Slt":"251:11","DID":2,"State":"Onln","DG":10,"Size":"16.370 TB","Intf":"SAS","Med":"HDD","SED":"N","PI":"N","SeSz":"512B","Model":"ST18000NM000D ","Sp":"U","Type":"-"},{"EID:Slt":"251:12","DID":1,"State":"Onln","DG":11,"Size":"16.370 TB","Intf":"SAS","Med":"HDD","SED":"N","PI":"N","SeSz":"512B","Model":"ST18000NM000D ","Sp":"U","Type":"-"}],"Enclosures":1,"Enclosure LIST":[{"EID":251,"State":"OK","Slots":12,"PD":12,"PS":1,"Fans":0,"TSs":3,"Alms":0,"SIM":0,"Port#":"C0.0 & C0.1 x8","ProdID":"2U12SAS35EOB","VendorSpecific":"exp-1.12.60.4"}],"Cachevault_Info":[{"Model":"CVPM05","State":"Optimal","Temp":"29C","Mode":"-","MfgDate":"2022/11/23"}]}}]} \ No newline at end of file diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/controllers/all.json b/pkg/implementation/raidcontroller/megaraid/testdata/controllers/storcli/all.json similarity index 100% rename from pkg/implementation/raidcontroller/megaraid/testdata/controllers/all.json rename to pkg/implementation/raidcontroller/megaraid/testdata/controllers/storcli/all.json diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/controllers/storcli/c0.json b/pkg/implementation/raidcontroller/megaraid/testdata/controllers/storcli/c0.json new file mode 100644 index 0000000..022503f --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/controllers/storcli/c0.json @@ -0,0 +1,1382 @@ +{ + "Controllers": [ + { + "Command Status": { + "CLI Version": "007.1616.0000.0000 Dec 24, 2020", + "Operating system": "Linux 4.18.0-553.22.1.el8_10.x86_64", + "Controller": 0, + "Status": "Success", + "Description": "None" + }, + "Response Data": { + "Basics": { + "Controller": 0, + "Model": "MegaRAID 9560-8i 4GB", + "Serial Number": "SKC5120859", + "Current Controller Date/Time": "11/08/2024, 14:35:09", + "Current System Date/time": "11/08/2024, 14:35:10", + "SAS Address": "500062b212da5d40", + "PCI Address": "00:c1:00:00", + "Mfg Date": "12/23/22", + "Rework Date": "00/00/00", + "Revision No": "01006" + }, + "Version": { + "Firmware Package Build": "52.24.0-4763", + "Firmware Version": "5.240.02-3768", + "NVDATA Version": "5.2400.00-0634", + "CBB Version": "24.250.10.00", + "Bios Version": "7.24.01.0_0x07180100", + "HII Version": "07.24.03.00", + "HIIA Version": "07.24.03.00", + "Driver Name": "megaraid_sas", + "Driver Version": "07.727.03.00-rc1" + }, + "Bus": { + "Vendor Id": 4096, + "Device Id": 4322, + "SubVendor Id": 4096, + "SubDevice Id": 16400, + "Host Interface": "PCI-E", + "Device Interface": "SAS-12G", + "Bus Number": 193, + "Device Number": 0, + "Function Number": 0, + "Domain ID": 0 + }, + "Pending Images in Flash": { "Image name": "No pending images" }, + "Status": { + "Controller Status": "Optimal", + "Memory Correctable Errors": 0, + "Memory Uncorrectable Errors": 0, + "ECC Bucket Count": 0, + "Any Offline VD Cache Preserved": "No", + "BBU Status": 0, + "PD Firmware Download in progress": "No", + "Support PD Firmware Download": "Yes", + "Lock Key Assigned": "No", + "Failed to get lock key on bootup": "No", + "Lock key has not been backed up": "No", + "Bios was not detected during boot": "No", + "Controller must be rebooted to complete security operation": "No", + "A rollback operation is in progress": "No", + "At least one PFK exists in NVRAM": "No", + "SSC Policy is WB": "No", + "Controller has booted into safe mode": "No", + "Controller shutdown required": "No", + "Controller has booted into certificate provision mode": "No", + "Current Personality": "RAID-Mode " + }, + "Supported Adapter Operations": { + "Rebuild Rate": "Yes", + "CC Rate": "Yes", + "BGI Rate ": "Yes", + "Reconstruct Rate": "Yes", + "Patrol Read Rate": "Yes", + "Alarm Control": "No", + "Cluster Support": "No", + "BBU": "Yes", + "Spanning": "Yes", + "Dedicated Hot Spare": "Yes", + "Revertible Hot Spares": "Yes", + "Foreign Config Import": "Yes", + "Self Diagnostic": "Yes", + "Allow Mixed Redundancy on Array": "No", + "Global Hot Spares": "Yes", + "Deny SCSI Passthrough": "No", + "Deny SMP Passthrough": "No", + "Deny STP Passthrough": "No", + "Support more than 8 Phys": "Yes", + "FW and Event Time in GMT": "No", + "Support Enhanced Foreign Import": "Yes", + "Support Enclosure Enumeration": "Yes", + "Support Allowed Operations": "Yes", + "Abort CC on Error": "Yes", + "Support Multipath": "Yes", + "Support Odd & Even Drive count in RAID1E": "No", + "Support Security": "Yes", + "Support Config Page Model": "Yes", + "Support the OCE without adding drives": "Yes", + "Support EKM": "Yes", + "Snapshot Enabled": "No", + "Support PFK": "Yes", + "Support PI": "No", + "Support Ld BBM Info": "No", + "Support Shield State": "Yes", + "Block SSD Write Disk Cache Change": "No", + "Support Suspend Resume BG ops": "Yes", + "Support Emergency Spares": "Yes", + "Support Set Link Speed": "Yes", + "Support Boot Time PFK Change": "No", + "Support JBOD": "No", + "Disable Online PFK Change": "No", + "Support Perf Tuning": "Yes", + "Support SSD PatrolRead": "Yes", + "Real Time Scheduler": "Yes", + "Support Reset Now": "Yes", + "Support Emulated Drives": "Yes", + "Headless Mode": "Yes", + "Dedicated HotSpares Limited": "No", + "Point In Time Progress": "Yes", + "Extended LD": "Yes", + "Support Uneven span ": "No", + "Support Config Auto Balance": "No", + "Support Maintenance Mode": "No", + "Support Diagnostic results": "Yes", + "Support Ext Enclosure": "Yes", + "Support Sesmonitoring": "Yes", + "Support SecurityonJBOD": "Yes", + "Support ForceFlash": "Yes", + "Support DisableImmediateIO": "Yes", + "Support LargeIOSupport": "No", + "Support DrvActivityLEDSetting": "Yes", + "Support FlushWriteVerify": "Yes", + "Support CPLDUpdate": "No", + "Support ForceTo512e": "Yes", + "Support discardCacheDuringLDDelete": "Yes", + "Support JBOD Write cache": "No", + "Support Large QD Support": "No", + "Support Ctrl Info Extended": "Yes", + "Support IButton less": "Yes", + "Support AES Encryption Algorithm": "No", + "Support Encrypted MFC": "Yes", + "Support Snapdump": "Yes", + "Support Force Personality Change": "Yes", + "Support Dual Fw Image": "No", + "Support PSOC Update": "Yes", + "Support Secure Boot": "Yes", + "Support Debug Queue": "No", + "Support Least Latency Mode": "No", + "Support OnDemand Snapdump": "Yes", + "Support Clear Snapdump": "Yes", + "Support FW Triggered Snapdump": "Yes", + "Support PHY current speed": "Yes", + "Support Lane current speed": "Yes", + "Support NVMe Width": "Yes", + "Support Lane DeviceType": "Yes", + "Support Extended Drive performance Monitoring": "Yes", + "Support NVMe Repair": "Yes", + "Support Platform Security": "No", + "Support None Mode Params": "Yes", + "Support Extended Controller Property": "Yes", + "Support Smart Poll Interval for DirectAttached": "Yes", + "Support Write Journal Pinning": "Yes", + "Support SMP Passthru with Port Number": "Yes", + "Support NVMe Init Error Device ConnectorIndex": "No" + }, + "Enterprise Key management": { + "Capability": "Supported", + "Boot Agent": "Not Available", + "Configured": "No" + }, + "Supported PD Operations": { + "Force Online": "Yes", + "Force Offline": "Yes", + "Force Rebuild": "Yes", + "Deny Force Failed": "No", + "Deny Force Good/Bad": "No", + "Deny Missing Replace": "No", + "Deny Clear": "No", + "Deny Locate": "No", + "Support Power State": "Yes", + "Set Power State For Cfg": "No", + "Support T10 Power State": "No", + "Support Temperature": "Yes", + "NCQ": "Yes", + "Support Max Rate SATA": "No", + "Support Degraded Media": "No", + "Support Parallel FW Update": "Yes", + "Support Drive Crypto Erase": "Yes", + "Support SSD Wear Gauge": "No" + }, + "Supported VD Operations": { + "Read Policy": "Yes", + "Write Policy": "Yes", + "IO Policy": "No", + "Access Policy": "Yes", + "Disk Cache Policy": "Yes", + "Reconstruction": "Yes", + "Deny Locate": "No", + "Deny CC": "No", + "Allow Ctrl Encryption": "No", + "Enable LDBBM": "Yes", + "Support FastPath": "Yes", + "Performance Metrics": "Yes", + "Power Savings": "No", + "Support Powersave Max With Cache": "No", + "Support Breakmirror": "No", + "Support SSC WriteBack": "No", + "Support SSC Association": "No", + "Support VD Hide": "Yes", + "Support VD Cachebypass": "Yes", + "Support VD discardCacheDuringLDDelete": "Yes", + "Support VD Scsi Unmap": "Yes" + }, + "Advanced Software Option": [ + { + "Adv S/W Opt": "MegaRAID FastPath", + " Time Remaining": " Unlimited", + " Mode": " -" + }, + { + "Adv S/W Opt": "MegaRAID SafeStore", + " Time Remaining": " Unlimited", + " Mode": " -" + }, + { + "Adv S/W Opt": "MegaRAID RAID6", + " Time Remaining": " Unlimited", + " Mode": " -" + }, + { + "Adv S/W Opt": "MegaRAID RAID5", + " Time Remaining": " Unlimited", + " Mode": " -" + } + ], + "Safe ID": " LMMVT1GMFIUTV2IJCTEPAFC6J2J5LB7T5WKRS7IZ", + "HwCfg": { + "ChipRevision": " A0", + "BatteryFRU": "N/A", + "Front End Port Count": 0, + "Backend Port Count": 8, + "BBU": "Present", + "Alarm": "Absent", + "Serial Debugger": "Present", + "NVRAM Size": "128KB", + "Flash Size": "16MB", + "On Board Memory Size": "4096MB", + "CacheVault Flash Size": "17.320 GB", + "TPM": "Absent", + "Upgrade Key": "Absent", + "On Board Expander": "Absent", + "Temperature Sensor for ROC": "Present", + "Temperature Sensor for Controller": "Absent", + "Upgradable CPLD": "Absent", + "Upgradable PSOC": "Present", + "Current Size of CacheCade (GB)": 0, + "Current Size of FW Cache (MB)": 3142, + "ROC temperature(Degree Celsius)": 49 + }, + "Policies": { + "Policies Table": [ + { + "Policy": "Predictive Fail Poll Interval", + "Current": "300 sec", + "Default": "" + }, + { + "Policy": "Interrupt Throttle Active Count", + "Current": "16", + "Default": "" + }, + { + "Policy": "Interrupt Throttle Completion", + "Current": "50 us", + "Default": "" + }, + { "Policy": "Rebuild Rate", "Current": "30 %", "Default": "30%" }, + { "Policy": "PR Rate", "Current": "30 %", "Default": "30%" }, + { "Policy": "BGI Rate", "Current": "30 %", "Default": "30%" }, + { + "Policy": "Check Consistency Rate", + "Current": "30 %", + "Default": "30%" + }, + { + "Policy": "Reconstruction Rate", + "Current": "30 %", + "Default": "30%" + }, + { "Policy": "Cache Flush Interval", "Current": "4s", "Default": "" } + ], + "Flush Time(Default)": "4s", + "Drive Coercion Mode": "none", + "Auto Rebuild": "On", + "Battery Warning": "On", + "ECC Bucket Size": 15, + "ECC Bucket Leak Rate (hrs)": 24, + "Restore Hot Spare on Insertion": "Off", + "Expose Enclosure Devices": "On", + "Maintain PD Fail History": "On", + "Reorder Host Requests": "On", + "Auto detect BackPlane": "SGPIO/i2c SEP", + "Load Balance Mode": "Auto", + "Security Key Assigned": "Off", + "Disable Online Controller Reset": "Off", + "Use drive activity for locate": "Off" + }, + "Boot": { + "BIOS Enumerate VDs": 1, + "Stop BIOS on Error": "Off", + "Delay during POST": 0, + "Spin Down Mode": "None", + "Enable Ctrl-R": "No", + "Enable Web BIOS": "No", + "Enable PreBoot CLI": "No", + "Enable BIOS": "Yes", + "Max Drives to Spinup at One Time": 2, + "Maximum number of direct attached drives to spin up in 1 min": 60, + "Delay Among Spinup Groups (sec)": 2, + "Allow Boot with Preserved Cache": "Off" + }, + "High Availability": { + "Topology Type": "None", + "Cluster Permitted": "No", + "Cluster Active": "No" + }, + "Defaults": { + "Phy Polarity": 0, + "Phy PolaritySplit": 0, + "Strip Size": "256 KB", + "Write Policy": "WB", + "Read Policy": "RA", + "Cache When BBU Bad": "Off", + "Cached IO": "Off", + "VD PowerSave Policy": "Controller Defined", + "Default spin down time (mins)": 30, + "Coercion Mode": "None", + "ZCR Config": "Unknown", + "Max Chained Enclosures": 16, + "Direct PD Mapping": "No", + "Restore Hot Spare on Insertion": "No", + "Expose Enclosure Devices": "Yes", + "Maintain PD Fail History": "Yes", + "Zero Based Enclosure Enumeration": "No", + "Disable Puncturing": "No", + "EnableLDBBM": "Yes", + "DisableHII": "No", + "Un-Certified Hard Disk Drives": "Allow", + "SMART Mode": "Mode 6", + "Enable LED Header": "Yes", + "LED Show Drive Activity": "Yes", + "Dirty LED Shows Drive Activity": "No", + "EnableCrashDump": "No", + "Disable Online Controller Reset": "No", + "Treat Single span R1E as R10": "No", + "Power Saving option": "Enabled", + "TTY Log In Flash": "No", + "Auto Enhanced Import": "Yes", + "BreakMirror RAID Support": "No", + "Disable Join Mirror": "Yes", + "Enable Shield State": "Yes", + "Time taken to detect CME": "60 sec" + }, + "Capabilities": { + "Supported Drives": "SAS, SATA, NVMe", + "RAID Level Supported": "RAID0, RAID1(2 or more drives), RAID5, RAID6, RAID00, RAID10(2 or more drives per span), RAID50, RAID60", + "Enable JBOD": "No", + "Mix in Enclosure": "Allowed", + "Mix of SAS/SATA of HDD type in VD": "Allowed", + "Mix of SAS/SATA of SSD type in VD": "Not Allowed", + "Mix of SSD/HDD in VD": "Not Allowed", + "SAS Disable": "No", + "Max Arms Per VD": 32, + "Max Spans Per VD": 8, + "Max Arrays": 240, + "Max VD per array": 16, + "Max Number of VDs": 240, + "Max Parallel Commands": 5101, + "Max SGE Count": 60, + "Max Data Transfer Size": "2048 sectors", + "Max Strips PerIO": 42, + "Max Configurable CacheCade Size(GB)": 0, + "Max Transportable DGs": 0, + "Enable Snapdump": "Yes", + "Enable SCSI Unmap": "Yes", + "FDE Drive Mix Support": "No", + "Min Strip Size": "64 KB", + "Max Strip Size": "1.000 MB" + }, + "Scheduled Tasks": { + "Consistency Check Reoccurrence": "168 hrs", + "Next Consistency check launch": "11/09/2024, 03:00:00", + "Patrol Read Reoccurrence": "168 hrs", + "Next Patrol Read launch": "11/09/2024, 03:00:00", + "Battery learn Reoccurrence": "670 hrs", + "Next Battery Learn": "11/13/2024, 04:00:00", + "OEMID": "Broadcom" + }, + "Secure Boot": { + "Secure Boot Enabled": "Yes", + "Controller in Soft Secure Mode": "No", + "Controller in Hard Secure Mode": "Yes", + "Key Update Pending": "No", + "Remaining Secure Boot Key Slots": 7 + }, + "Security Protocol properties": { "Security Protocol": "None" }, + "Drive Groups": 12, + "TOPOLOGY": [ + { + "DG": 0, + "Arr": "-", + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 0, + "Arr": 0, + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 0, + "Arr": 0, + "Row": 0, + "EID:Slot": "251:1", + "DID": 10, + "Type": "DRIVE", + "State": "Onln", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "-", + "TR": "N" + }, + { + "DG": 1, + "Arr": "-", + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 1, + "Arr": 0, + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 1, + "Arr": 0, + "Row": 0, + "EID:Slot": "251:2", + "DID": 5, + "Type": "DRIVE", + "State": "Onln", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "-", + "TR": "N" + }, + { + "DG": 2, + "Arr": "-", + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 2, + "Arr": 0, + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 2, + "Arr": 0, + "Row": 0, + "EID:Slot": "251:3", + "DID": 6, + "Type": "DRIVE", + "State": "Onln", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "-", + "TR": "N" + }, + { + "DG": 3, + "Arr": "-", + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 3, + "Arr": 0, + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 3, + "Arr": 0, + "Row": 0, + "EID:Slot": "251:4", + "DID": 11, + "Type": "DRIVE", + "State": "Onln", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "-", + "TR": "N" + }, + { + "DG": 4, + "Arr": "-", + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 4, + "Arr": 0, + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 4, + "Arr": 0, + "Row": 0, + "EID:Slot": "251:5", + "DID": 3, + "Type": "DRIVE", + "State": "Onln", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "-", + "TR": "N" + }, + { + "DG": 5, + "Arr": "-", + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 5, + "Arr": 0, + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 5, + "Arr": 0, + "Row": 0, + "EID:Slot": "251:6", + "DID": 7, + "Type": "DRIVE", + "State": "Onln", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "-", + "TR": "N" + }, + { + "DG": 6, + "Arr": "-", + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 6, + "Arr": 0, + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 6, + "Arr": 0, + "Row": 0, + "EID:Slot": "251:7", + "DID": 4, + "Type": "DRIVE", + "State": "Onln", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "-", + "TR": "N" + }, + { + "DG": 7, + "Arr": "-", + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 7, + "Arr": 0, + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 7, + "Arr": 0, + "Row": 0, + "EID:Slot": "251:8", + "DID": 9, + "Type": "DRIVE", + "State": "Onln", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "-", + "TR": "N" + }, + { + "DG": 8, + "Arr": "-", + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 8, + "Arr": 0, + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 8, + "Arr": 0, + "Row": 0, + "EID:Slot": "251:9", + "DID": 0, + "Type": "DRIVE", + "State": "Onln", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "-", + "TR": "N" + }, + { + "DG": 9, + "Arr": "-", + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 9, + "Arr": 0, + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 9, + "Arr": 0, + "Row": 0, + "EID:Slot": "251:10", + "DID": 8, + "Type": "DRIVE", + "State": "Onln", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "-", + "TR": "N" + }, + { + "DG": 10, + "Arr": "-", + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 10, + "Arr": 0, + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 10, + "Arr": 0, + "Row": 0, + "EID:Slot": "251:11", + "DID": 2, + "Type": "DRIVE", + "State": "Onln", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "-", + "TR": "N" + }, + { + "DG": 11, + "Arr": "-", + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 11, + "Arr": 0, + "Row": "-", + "EID:Slot": "-", + "DID": "-", + "Type": "RAID0", + "State": "Optl", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "N", + "TR": "N" + }, + { + "DG": 11, + "Arr": 0, + "Row": 0, + "EID:Slot": "251:12", + "DID": 1, + "Type": "DRIVE", + "State": "Onln", + "BT": "N", + "Size": "16.370 TB", + "PDC": "dflt", + "PI": "N", + "SED": "N", + "DS3": "dflt", + "FSpace": "-", + "TR": "N" + } + ], + "Virtual Drives": 12, + "VD LIST": [ + { + "DG/VD": "0/239", + "TYPE": "RAID0", + "State": "Optl", + "Access": "RW", + "Consist": "Yes", + "Cache": "RWTD", + "Cac": "-", + "sCC": "ON", + "Size": "16.370 TB", + "Name": "" + }, + { + "DG/VD": "1/238", + "TYPE": "RAID0", + "State": "Optl", + "Access": "RW", + "Consist": "Yes", + "Cache": "RWTD", + "Cac": "-", + "sCC": "ON", + "Size": "16.370 TB", + "Name": "" + }, + { + "DG/VD": "2/237", + "TYPE": "RAID0", + "State": "Optl", + "Access": "RW", + "Consist": "Yes", + "Cache": "RWTD", + "Cac": "-", + "sCC": "ON", + "Size": "16.370 TB", + "Name": "" + }, + { + "DG/VD": "3/236", + "TYPE": "RAID0", + "State": "Optl", + "Access": "RW", + "Consist": "Yes", + "Cache": "RWTD", + "Cac": "-", + "sCC": "ON", + "Size": "16.370 TB", + "Name": "" + }, + { + "DG/VD": "4/235", + "TYPE": "RAID0", + "State": "Optl", + "Access": "RW", + "Consist": "Yes", + "Cache": "RWTD", + "Cac": "-", + "sCC": "ON", + "Size": "16.370 TB", + "Name": "" + }, + { + "DG/VD": "5/234", + "TYPE": "RAID0", + "State": "Optl", + "Access": "RW", + "Consist": "Yes", + "Cache": "RWTD", + "Cac": "-", + "sCC": "ON", + "Size": "16.370 TB", + "Name": "" + }, + { + "DG/VD": "6/233", + "TYPE": "RAID0", + "State": "Optl", + "Access": "RW", + "Consist": "Yes", + "Cache": "RWTD", + "Cac": "-", + "sCC": "ON", + "Size": "16.370 TB", + "Name": "" + }, + { + "DG/VD": "7/232", + "TYPE": "RAID0", + "State": "Optl", + "Access": "RW", + "Consist": "Yes", + "Cache": "RWTD", + "Cac": "-", + "sCC": "ON", + "Size": "16.370 TB", + "Name": "" + }, + { + "DG/VD": "8/231", + "TYPE": "RAID0", + "State": "Optl", + "Access": "RW", + "Consist": "Yes", + "Cache": "RWTD", + "Cac": "-", + "sCC": "ON", + "Size": "16.370 TB", + "Name": "" + }, + { + "DG/VD": "9/230", + "TYPE": "RAID0", + "State": "Optl", + "Access": "RW", + "Consist": "Yes", + "Cache": "RWTD", + "Cac": "-", + "sCC": "ON", + "Size": "16.370 TB", + "Name": "" + }, + { + "DG/VD": "10/229", + "TYPE": "RAID0", + "State": "Optl", + "Access": "RW", + "Consist": "Yes", + "Cache": "RWTD", + "Cac": "-", + "sCC": "ON", + "Size": "16.370 TB", + "Name": "" + }, + { + "DG/VD": "11/228", + "TYPE": "RAID0", + "State": "Optl", + "Access": "RW", + "Consist": "Yes", + "Cache": "RWTD", + "Cac": "-", + "sCC": "ON", + "Size": "16.370 TB", + "Name": "" + } + ], + "Physical Drives": 12, + "PD LIST": [ + { + "EID:Slt": "251:1", + "DID": 10, + "State": "Onln", + "DG": 0, + "Size": "16.370 TB", + "Intf": "SAS", + "Med": "HDD", + "SED": "N", + "PI": "N", + "SeSz": "512B", + "Model": "ST18000NM000D ", + "Sp": "U", + "Type": "-" + }, + { + "EID:Slt": "251:2", + "DID": 5, + "State": "Onln", + "DG": 1, + "Size": "16.370 TB", + "Intf": "SAS", + "Med": "HDD", + "SED": "N", + "PI": "N", + "SeSz": "512B", + "Model": "ST18000NM000D ", + "Sp": "U", + "Type": "-" + }, + { + "EID:Slt": "251:3", + "DID": 6, + "State": "Onln", + "DG": 2, + "Size": "16.370 TB", + "Intf": "SAS", + "Med": "HDD", + "SED": "N", + "PI": "N", + "SeSz": "512B", + "Model": "ST18000NM000D ", + "Sp": "U", + "Type": "-" + }, + { + "EID:Slt": "251:4", + "DID": 11, + "State": "Onln", + "DG": 3, + "Size": "16.370 TB", + "Intf": "SAS", + "Med": "HDD", + "SED": "N", + "PI": "N", + "SeSz": "512B", + "Model": "ST18000NM000D ", + "Sp": "U", + "Type": "-" + }, + { + "EID:Slt": "251:5", + "DID": 3, + "State": "Onln", + "DG": 4, + "Size": "16.370 TB", + "Intf": "SAS", + "Med": "HDD", + "SED": "N", + "PI": "N", + "SeSz": "512B", + "Model": "ST18000NM000D ", + "Sp": "U", + "Type": "-" + }, + { + "EID:Slt": "251:6", + "DID": 7, + "State": "Onln", + "DG": 5, + "Size": "16.370 TB", + "Intf": "SAS", + "Med": "HDD", + "SED": "N", + "PI": "N", + "SeSz": "512B", + "Model": "ST18000NM000D ", + "Sp": "U", + "Type": "-" + }, + { + "EID:Slt": "251:7", + "DID": 4, + "State": "Onln", + "DG": 6, + "Size": "16.370 TB", + "Intf": "SAS", + "Med": "HDD", + "SED": "N", + "PI": "N", + "SeSz": "512B", + "Model": "ST18000NM000D ", + "Sp": "U", + "Type": "-" + }, + { + "EID:Slt": "251:8", + "DID": 9, + "State": "Onln", + "DG": 7, + "Size": "16.370 TB", + "Intf": "SAS", + "Med": "HDD", + "SED": "N", + "PI": "N", + "SeSz": "512B", + "Model": "ST18000NM000D ", + "Sp": "U", + "Type": "-" + }, + { + "EID:Slt": "251:9", + "DID": 0, + "State": "Onln", + "DG": 8, + "Size": "16.370 TB", + "Intf": "SAS", + "Med": "HDD", + "SED": "N", + "PI": "N", + "SeSz": "512B", + "Model": "ST18000NM000D ", + "Sp": "U", + "Type": "-" + }, + { + "EID:Slt": "251:10", + "DID": 8, + "State": "Onln", + "DG": 9, + "Size": "16.370 TB", + "Intf": "SAS", + "Med": "HDD", + "SED": "N", + "PI": "N", + "SeSz": "512B", + "Model": "ST18000NM000D ", + "Sp": "U", + "Type": "-" + }, + { + "EID:Slt": "251:11", + "DID": 2, + "State": "Onln", + "DG": 10, + "Size": "16.370 TB", + "Intf": "SAS", + "Med": "HDD", + "SED": "N", + "PI": "N", + "SeSz": "512B", + "Model": "ST18000NM000D ", + "Sp": "U", + "Type": "-" + }, + { + "EID:Slt": "251:12", + "DID": 1, + "State": "Onln", + "DG": 11, + "Size": "16.370 TB", + "Intf": "SAS", + "Med": "HDD", + "SED": "N", + "PI": "N", + "SeSz": "512B", + "Model": "ST18000NM000D ", + "Sp": "U", + "Type": "-" + } + ], + "Enclosures": 1, + "Enclosure LIST": [ + { + "EID": 251, + "State": "OK", + "Slots": 12, + "PD": 12, + "PS": 1, + "Fans": 0, + "TSs": 3, + "Alms": 0, + "SIM": 0, + "Port#": "C0.0 & C0.1 x8", + "ProdID": "2U12SAS35EOB", + "VendorSpecific": "exp-1.12.60.4" + } + ], + "Cachevault_Info": [ + { + "Model": "CVPM05", + "State": "Optimal", + "Temp": "29C", + "Mode": "-", + "MfgDate": "2022/11/23" + } + ] + } + } + ] +} diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/controllers/c0_s12_UGood.json b/pkg/implementation/raidcontroller/megaraid/testdata/controllers/storcli/c0_s12_UGood.json similarity index 100% rename from pkg/implementation/raidcontroller/megaraid/testdata/controllers/c0_s12_UGood.json rename to pkg/implementation/raidcontroller/megaraid/testdata/controllers/storcli/c0_s12_UGood.json diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/controllers/c5_invalid.json b/pkg/implementation/raidcontroller/megaraid/testdata/controllers/storcli/c5_invalid.json similarity index 100% rename from pkg/implementation/raidcontroller/megaraid/testdata/controllers/c5_invalid.json rename to pkg/implementation/raidcontroller/megaraid/testdata/controllers/storcli/c5_invalid.json diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/controllers/storcli2/all.json b/pkg/implementation/raidcontroller/megaraid/testdata/controllers/storcli2/all.json new file mode 100644 index 0000000..9d4545b --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/controllers/storcli2/all.json @@ -0,0 +1,44 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Status Code" : 0, + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Number of Controllers" : 1, + "Host Name" : "artesca-node", + "Operating System " : "Linux4.18.0-553.115.1.el8_10.x86_64", + "SL8 Library Version" : "08.0507.0000", + "System Overview" : [ + { + "Ctrl" : 0, + "Product Name" : "MegaRAID 9660-16i Tri-Mode Storage Adapter", + "SASAddress" : "0X500062B22066D540", + "Personality" : "RAID", + "Status" : "Optimal", + "PD(s)" : 24, + "VD(s)" : 24, + "VNOpt" : 0, + "EPack" : "Optimal" + } + ], + "ASO" : [ + { + "Ctrl" : 0, + "RP" : "U", + "R0/00" : "U", + "R1/10" : "U", + "R5/50" : "U", + "R6/60" : "U", + "JBOD" : "U" + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/controllers/storcli2/c0.json b/pkg/implementation/raidcontroller/megaraid/testdata/controllers/storcli2/c0.json new file mode 100644 index 0000000..5d0b903 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/controllers/storcli2/c0.json @@ -0,0 +1,2242 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Basics" : { + "Product Name" : "MegaRAID 9660-16i Tri-Mode Storage Adapter", + "Board Name" : "MR 9660-16i ", + "Board Assembly" : "03-50107-00004 ", + "Board Tracer Number" : "SPE4912106 ", + "Board Revision" : "00004 ", + "Chip Name" : "SAS4116 ", + "Chip Revision" : "B0 ", + "Board Mfg Date(yyyy/mm/dd)" : "2024/12/12", + "Board Rework Date(yyyy/mm/dd)" : "0000/00/00", + "Custom Serial Number" : " ", + "SAS Address" : "0x500062b22066d540", + "Serial Number" : "SPE4912106", + "Controller Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/29 14:06:17", + "System Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/29 14:06:17", + "OEM" : "Broadcom", + "SubOEMID" : 0, + "PCI Slot Number" : 19 + }, + "Version" : { + "Package Version" : "8.12.1.0-00000-00003", + "Firmware Version" : "8.12.1.0-00000-00003", + "Firmware Security Version Number" : "00.00.00.00", + "FMC Version" : "8.12.1.0-00000-00003", + "FMC Security Version Number" : "00.00.00.00", + "BSP Version" : "8.12.1.0-00000-00003", + "BSP Security Version Number" : "00.00.00.00", + "BIOS Version" : "0x080C0400", + "BIOS Security Version Number" : "00.00.00.00", + "HIIM Version" : "08.12.04.00", + "HIIM Security Version Number" : "00.00.00.00", + "HIIA Version" : "08.12.04.00", + "HIIA Security Version Number" : "00.00.00.00", + "PSOC Hardware Version" : "6.64", + "PSOC Firmware Version" : "28.00", + "PSOC Part Number" : "25953-280-aaa", + "NVDATA Version" : "0C.0B.00.58", + "Driver Name" : "mpi3mr", + "Driver Version" : "8.5.0.0.50", + "SL8 Library Version" : "08.0507.0000" + }, + "HostInterface" : { + "Max PCIe Link Rate" : "0x08 (16GT/s)", + "Max PCIe Port Width" : 8, + "PCI Address" : "00:16:00:0", + "PCIe Link Width" : "X8 Lane(s)" + }, + "DeviceInterface" : { + "SAS/SATA" : "SAS/SATA-6G, SAS-12G, SAS-22.5G", + "PCIe" : "PCIE-2.5GT, PCIE-5GT, PCIE-8GT, PCIE-16GT", + "PCI Vendor ID" : "0x1000", + "PCI Device ID" : "0x00A5", + "PCI Subsystem Vendor ID" : "0x1000", + "PCI Subsystem ID" : "0x4620" + }, + "Status" : { + "Controller Status" : "Optimal", + "VD Count" : 24, + "VD Degraded Count" : 0, + "VD Offline Count" : 0, + "PD Count" : 26, + "PD Drive Count" : 24, + "Critical Predictive Failure PD Drive Count" : 0, + "Failed PD Drive Count" : 0, + "Memory Correctable Errors" : 0, + "Memory Uncorrectable Errors" : 0, + "ECC Bucket Count" : 0, + "Preserved Cache Present" : "No", + "System Reboot Required" : "No", + "System Shutdown Required" : "No", + "Controller Reset Required" : "No", + "Security Key Assigned" : "No", + "Security Type" : "None", + "Failed to get Security key on bootup" : "No", + "Bios was not detected during boot" : "No", + "Boot Time Secret Key Provider" : "OOB,In-band", + "EKM Key Provider" : "OOB,In-band", + "Controller must be rebooted to complete security operation" : "No", + "Controller has booted into safe mode" : "No", + "Controller has trial features enabled" : "No", + "Personality Change Pending" : "No", + "Security Key Rekey Pending" : "No", + "Reconfigure types" : "Change the format option only for existing name-spaces", + "Controller Personality" : "RAID" + }, + "Supported Controller operations" : { + "Support Enclosure Affinity" : "Yes", + "Support Foreign Config Import" : "Yes", + "Support Foreign Config Clear" : "Yes", + "Support Self Diagnostic Check" : "Yes", + "Support Diag Retention Test" : "Yes", + "Support Cache Offload Info" : "Yes", + "FW and Event Time in GMT" : "Yes", + "Support Abort CC on Error" : "Yes", + "Support Multipath" : "Yes", + "Support Security" : "Yes", + "Support Security Suggest" : "Yes", + "Support Portable Security Key" : "No", + "Support Security Key Per PD" : "No", + "Support LKM" : "Yes, Supported using both in-band and out-of-band command", + "Support EKM" : "Yes, Supported using both in-band and out-of-band command", + "Support LKM to EKM" : "Yes", + "Support EKM to LKM" : "No", + "Support PFK" : "Yes", + "Support Electronic PFK" : "No", + "Support Ldbbm" : "Yes", + "Support Shield State" : "Yes", + "Support SSD Ld Disk Cache Change" : "Yes", + "Support Operation Suspend Resume" : "Yes", + "Support Emergency Spares" : "Yes", + "Support Device Mgmt PEL" : "Yes", + "Support CC Schedule" : "Yes", + "Support PatrolRead" : "Yes", + "Support SSD PatrolRead" : "Yes", + "Support Resize Array" : "Yes", + "Support Drive Performance Monitoring" : "Yes", + "Support Emulated Drives" : "Yes", + "Support Limited Dedicated HotSpares" : "Yes", + "Support Factory Defaults set" : "Yes", + "Support Personality" : "Yes", + "Support NVCache Info Get" : "Yes", + "Support NVCache Erase" : "Yes", + "Support Cache Offload Encryption" : "No", + "Support CacheBypass Modes" : "Yes", + "Support Purge Cache During VD Delete" : "Yes", + "Support BoardLogic Update" : "Yes", + "Support Ibuttonless" : "Yes", + "Support Host Info" : "Yes", + "Support Cache-Vault Health Info" : "Yes", + "Support PCIe Devices" : "Yes", + "Support Extended MPB VPD pages" : "Yes", + "Support Snapdump" : "Yes", + "Support Energy Pack" : "Yes", + "Support Energy Pack VPD" : "Yes", + "Support Multiple Security keys(One Per PD)" : "No", + "Support Platform Security" : "Yes", + "Support SESCtrl In Multipath Config" : "No", + "Support R6 Individual PD Suspend/Resume" : "No", + "Support SAS Config" : "Yes", + "Support limiting of SAS Link speed" : "Yes, Supports only max link speed limit control of a SAS Phy", + "Support limiting of SAS Link speed per Phy" : "Yes", + "Support PCIe Config" : "Yes", + "Support limiting of PCIe Link Speed" : "Yes", + "Support limiting of PCIe Link Speed per Link" : "Yes", + "Support PCIe Config Lane Mapping" : "Yes", + "Support Immediate Auto-configure" : "Yes", + "Support NVMe Recover" : "Yes", + "Support NVMe Reconfigure" : "No", + "Support PCIe Clock mode" : "Yes", + "Support Enhanced Scheduling" : "Yes" + }, + "External Key Management" : { + "Capability" : "Supported", + "Boot Agent Status" : "Not Available", + "Configured" : "No" + }, + "Supported PD operations" : { + "Support Force Online" : "Yes", + "Support Make Offline" : "Yes", + "Support Make Failed" : "No", + "Support SpinDown Unconfigured" : "Yes", + "Support SpinDown HotSpare" : "Yes", + "Support SpinDown Configured" : "No", + "Support T10 Power State" : "Yes", + "Support Temperature Monitoring" : "Yes", + "Support WCE" : "Yes", + "Support Degraded Media Detection" : "Yes", + "Support PD Secure Erase" : "Yes", + "Support SSD Wear Gauge" : "No", + "Support Mark Missing" : "Yes", + "Support Replace Missing" : "Yes", + "Support Prepare For Removal" : "Yes", + "Support Drive Power State Change" : "Yes, Supports only Spin-Up" + }, + "Supported VD operations" : { + "Support Changing Read Policy" : "Yes", + "Support Changing Write Policy" : "Yes", + "Support Changing Disk Cache Policy" : "Yes", + "Support Online Capacity Expansion" : "Yes, with VD Expansion and addition of Drives only", + "Support LDBBM" : "Yes", + "Support Secure Erase" : "Yes", + "Support Unmap for single drive RAID 0 VDs" : "Yes", + "Support Unmap for RAID 0 VDs" : "Yes", + "Support Unmap for RAID 1/10 VDs" : "Yes", + "Support Unmap for RAID 5/50/6/60 VDs" : "Yes", + "Support Writesame Unmap for single drive RAID 0 VDs" : "Yes", + "Support Writesame Unmap for RAID 0 VDs" : "Yes", + "Support Writesame Unmap for RAID 1/10 VDs" : "Yes", + "Support Writesame Unmap for RAID 5/50/6/60 VDs" : "Yes", + "Support T10 Atomicity" : "No" + }, + "HwCfg" : { + "NVRAM" : "Present", + "NVRAM Size(KiB)" : 128, + "DDR Memory Size(MiB)" : 4096, + "Flash" : "Present", + "NOR Flash Size(MiB)" : 32, + "CacheVault Flash Size(MiB)" : 22170, + "OCM Memory" : "Present", + "OCM Memory Size(MiB)" : 15, + "Current Size of FW Cache(MiB)" : 3877, + "DDR Width" : "72-bit", + "Energy Pack" : "Present", + "Upgrade Key" : "Absent", + "Upgrade Key Slot" : "Present", + "On Board Expander" : "Absent", + "Temperature Sensor for Chip" : "Present", + "Temperature Sensor for Board" : "Present", + "Upgradable Board Logic" : "Present", + "PCI Switch" : "Absent", + "Serial Debugger" : "Present", + "Chip temperature(C)" : 62, + "Board temperature(C)" : 46, + "Controller Fan" : "Absent" + }, + "Max. Supported Config" : { + "Max Number of VDs" : 240, + "Max Number of Physical Drives" : 240, + "Max SAS/SATA Drives" : 240, + "Max NVMe Drives" : 32, + "Max Arrays" : 240, + "Max PD Per Array" : 32, + "Max Spans Per VD" : 8, + "Max Dedicated HSPs" : 64, + "Max Global HSPs" : 64, + "Max VDs Per Array" : 16, + "Max Phys" : 16, + "Max JBODs" : 240, + "Max RAID Configurable PDs" : 240, + "Max Complex RAID VDs" : 64, + "Max Data Transfer Size(Bytes)" : 1048576, + "Max Parallel Commands" : 8192, + "Max NS/LU per JBOD" : 4, + "Max NS/LU per RAID PDs" : 1, + "Max Supported LUNs for SAS PDs" : 4, + "Max Namespaces" : 1, + "Max Persistent Id" : 1024, + "Max VD's per Array in configuration" : 16, + "Max Key Id length" : 256, + "Max Security Key length" : 32, + "Max Secret Key length" : 32 + }, + "Properties" : { + "Patrol Read Rate(%)" : 30, + "BGI Rate(%)" : 30, + "Consistency Check Rate(%)" : 30, + "OCE Rate(%)" : 30, + "Drive Coercion Mode" : "0 (None)", + "Auto Rebuild" : "Yes", + "Energy Pack Warning" : "No", + "Data Loss Warning" : "Yes", + "Ecc Bucket Size(Entries)" : 15, + "ECC Bucket Leak Rate(minute(s))" : 1440, + "Expose Enclosure Devices" : "Yes", + "Maintain Drive Fail History" : "Yes", + "Maintain Drive Fail History - JBOD" : "Yes", + "All Online Controller Reset" : "Yes", + "Auto Online Controller Reset" : "Yes", + "Abort CC on Error" : "No", + "Replace Drive" : "Yes", + "HDD SMARTer Enabled" : "Yes", + "SSD SMARTer Enabled" : "Yes", + "PR Correct UnConfigured Areas" : "Yes", + "Support SSD Patrol Read" : "Yes", + "SpinDown Unconfigured Drive" : "Yes", + "Boot With Preserved Cache" : "Yes", + "SpinDown HotSpare" : "No", + "Emergency GHS" : "Yes", + "Emergency UG" : "Yes", + "Emergency SMARTer" : "Yes", + "Fail On SMARTer" : "No", + "LED management for JBOD" : "Yes", + "SES VPD Association" : "TargetPort", + "Base Enclosure Level" : "Enclosure level enumeration start with Zero", + "SMART/Temperature PollInterval-For External PDs only(second(s))" : 300, + "SMART/Temperature PollInterval-For Internal PDs only(second(s))" : 300, + "SpinDown Time(minute(s))" : 30, + "Spinup Drive Count" : 2, + "Spinup Delay(second(s))" : 2, + "Spinup Encl Drive Count" : 4, + "Spinup Enclosure Delay(second(s))" : 12, + "Drive Detection Type" : "Disabled", + "Drive Corrective Action" : "Only Log Events", + "Drive Error Threshold" : "Every 8 Hours", + "Boot Mode" : "COE", + "Name" : "", + "SmartPoll - RAID PDs" : "Yes", + "SmartPoll - JBOD PDs" : "Yes", + "PD Temperature Poll" : "Yes", + "Security on JBOD" : "Yes", + "Host Managed Security on JBOD" : "No" + }, + "Capabilities" : { + "Supported Drive Interfaces" : "SAS, SATA, NVMe", + "Supported RAID Levels" : "RAID0, RAID1, RAID5, RAID6, RAID10, RAID50, RAID60", + "Mix of SAS-HDD/SATA-HDD in VD" : "Allowed", + "Mix of SAS-SSD/SATA-SSD in VD" : "Allowed", + "Mix of SSD/HDD in VD" : "Not Allowed", + "Mix of SED type(Enterprise,OPAL,and RUBY) for Security Enabled Arrays" : "Not Allowed", + "Mix of different NS/LU count in a VD" : "Not Allowed", + "Mix of NVMe SGL and PRP in a VD" : "Allowed" + }, + "NVCache Information" : { + "NVCache Flash Capacity(MiB)" : 22170, + "Bad Block Capacity(MiB)" : 135, + "Allowable bad blocks consumed(%)" : 19 + }, + "Scheduled Tasks" : { + "Patrol Read Execution Frequency(hours)" : "168", + "Next Patrol Read Start time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/06/04 17:00:00" + }, + "Secure Boot Details" : { + "Secure Boot State" : "Enabled", + "Secure Boot Mode" : "Hard Secure", + "Total Number Of Key Slots" : 8, + "Number Of Key Slots Used" : 1, + "Remaining Key Slots" : 7, + "Current Key Encryption Algorithm" : "RSA2048", + "Key Hash Size" : "SHA256", + "Key Hash Version" : "SHA3", + "Security Version Number" : "00.00.00.00" + }, + "Security Protocol Details" : { + "Security Protocol" : "SPDM-1.2.0,1.1.0,1.0.0" + }, + "Drive Groups" : 24, + "TOPOLOGY" : [ + { + "DG" : 0, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 0, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 0, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:0", + "PID" : 293, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 1, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 1, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 1, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:1", + "PID" : 294, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 2, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 2, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 2, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:2", + "PID" : 295, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 3, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 3, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 3, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:3", + "PID" : 296, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 4, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 4, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 4, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:4", + "PID" : 297, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 5, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 5, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 5, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:5", + "PID" : 298, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 6, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 6, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 6, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:6", + "PID" : 299, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 7, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 7, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 7, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:7", + "PID" : 300, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 8, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 8, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 8, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:8", + "PID" : 301, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 9, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 9, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 9, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:9", + "PID" : 302, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 10, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 10, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 10, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:10", + "PID" : 303, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 11, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 11, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 11, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:11", + "PID" : 304, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 12, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 12, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 12, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "320:0", + "PID" : 307, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 13, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 13, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 13, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "320:1", + "PID" : 308, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 14, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 14, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 14, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "320:2", + "PID" : 309, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 15, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 15, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 15, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "320:3", + "PID" : 310, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 16, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 16, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 16, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "320:4", + "PID" : 311, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 17, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 17, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 17, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "320:5", + "PID" : 312, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 18, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 18, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 18, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "320:6", + "PID" : 313, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 19, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 19, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 19, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "320:7", + "PID" : 314, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 20, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 20, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 20, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "320:8", + "PID" : 315, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 21, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 21, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 21, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "320:9", + "PID" : 316, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 22, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 22, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 22, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "320:10", + "PID" : 317, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 23, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 23, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 23, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "320:11", + "PID" : 318, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + } + ], + "Virtual Drives" : 24, + "VD LIST" : [ + { + "DG/VD" : "0/1", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "1/2", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "2/3", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "3/4", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "4/5", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "5/6", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "6/7", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "7/8", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "8/9", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "9/10", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "10/11", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "11/12", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "12/13", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "13/14", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "14/15", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "15/16", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "16/17", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "17/18", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "18/19", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "19/20", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "20/21", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "21/22", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "22/23", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "23/24", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + } + ], + "Physical Drives" : 24, + "PD LIST" : [ + { + "EID:Slt" : "306:0", + "PID" : 293, + "State" : "Conf", + "Status" : "Online", + "DG" : 0, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "306:1", + "PID" : 294, + "State" : "Conf", + "Status" : "Online", + "DG" : 1, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "306:2", + "PID" : 295, + "State" : "Conf", + "Status" : "Online", + "DG" : 2, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "306:3", + "PID" : 296, + "State" : "Conf", + "Status" : "Online", + "DG" : 3, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "306:4", + "PID" : 297, + "State" : "Conf", + "Status" : "Online", + "DG" : 4, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "306:5", + "PID" : 298, + "State" : "Conf", + "Status" : "Online", + "DG" : 5, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "306:6", + "PID" : 299, + "State" : "Conf", + "Status" : "Online", + "DG" : 6, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "306:7", + "PID" : 300, + "State" : "Conf", + "Status" : "Online", + "DG" : 7, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "306:8", + "PID" : 301, + "State" : "Conf", + "Status" : "Online", + "DG" : 8, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "306:9", + "PID" : 302, + "State" : "Conf", + "Status" : "Online", + "DG" : 9, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "306:10", + "PID" : 303, + "State" : "Conf", + "Status" : "Online", + "DG" : 10, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "306:11", + "PID" : 304, + "State" : "Conf", + "Status" : "Online", + "DG" : 11, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:0", + "PID" : 307, + "State" : "Conf", + "Status" : "Online", + "DG" : 12, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:1", + "PID" : 308, + "State" : "Conf", + "Status" : "Online", + "DG" : 13, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:2", + "PID" : 309, + "State" : "Conf", + "Status" : "Online", + "DG" : 14, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:3", + "PID" : 310, + "State" : "Conf", + "Status" : "Online", + "DG" : 15, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:4", + "PID" : 311, + "State" : "Conf", + "Status" : "Online", + "DG" : 16, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:5", + "PID" : 312, + "State" : "Conf", + "Status" : "Online", + "DG" : 17, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:6", + "PID" : 313, + "State" : "Conf", + "Status" : "Online", + "DG" : 18, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:7", + "PID" : 314, + "State" : "Conf", + "Status" : "Online", + "DG" : 19, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:8", + "PID" : 315, + "State" : "Conf", + "Status" : "Online", + "DG" : 20, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:9", + "PID" : 316, + "State" : "Conf", + "Status" : "Online", + "DG" : 21, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:10", + "PID" : 317, + "State" : "Conf", + "Status" : "Online", + "DG" : 22, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:11", + "PID" : 318, + "State" : "Conf", + "Status" : "Online", + "DG" : 23, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "LU/NS LIST" : [ + { + "PID" : 293, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 294, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 295, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 296, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 297, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 298, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 299, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 300, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 301, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 302, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 303, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 304, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 307, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 308, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 309, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 310, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 311, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 312, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 313, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 314, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 315, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 316, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 317, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 318, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Enclosures" : 2, + "Enclosure List" : [ + { + "EID" : 306, + "State" : "OK", + "DeviceType" : "Enclosure", + "Slots" : 12, + "PD" : 12, + "Partner-EID" : "-", + "Multipath" : "No", + "PS" : 1, + "Fans" : 0, + "TSs" : 3, + "Alms" : 1, + "SIM" : 0, + "ProdID" : "380-23710-3001 " + }, + { + "EID" : 320, + "State" : "OK", + "DeviceType" : "Enclosure", + "Slots" : 12, + "PD" : 12, + "Partner-EID" : "-", + "Multipath" : "No", + "PS" : 1, + "Fans" : 0, + "TSs" : 3, + "Alms" : 1, + "SIM" : 0, + "ProdID" : "380-23710-3001 " + } + ], + "Energy Pack Info" : [ + { + "Type" : "Supercap", + "SubType" : "FBU345", + "Voltage(mV)" : 9184, + "Temperature(C)" : 38, + "Status" : "Optimal" + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/controllers/storcli2/c0_s12_UGood.json b/pkg/implementation/raidcontroller/megaraid/testdata/controllers/storcli2/c0_s12_UGood.json new file mode 100644 index 0000000..51513ea --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/controllers/storcli2/c0_s12_UGood.json @@ -0,0 +1,2187 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Basics" : { + "Product Name" : "MegaRAID 9660-16i Tri-Mode Storage Adapter", + "Board Name" : "MR 9660-16i ", + "Board Assembly" : "03-50107-00004 ", + "Board Tracer Number" : "SPE4912106 ", + "Board Revision" : "00004 ", + "Chip Name" : "SAS4116 ", + "Chip Revision" : "B0 ", + "Board Mfg Date(yyyy/mm/dd)" : "2024/12/12", + "Board Rework Date(yyyy/mm/dd)" : "0000/00/00", + "Custom Serial Number" : " ", + "SAS Address" : "0x500062b22066d540", + "Serial Number" : "SPE4912106", + "Controller Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/29 14:06:27", + "System Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/29 14:06:27", + "OEM" : "Broadcom", + "SubOEMID" : 0, + "PCI Slot Number" : 19 + }, + "Version" : { + "Package Version" : "8.12.1.0-00000-00003", + "Firmware Version" : "8.12.1.0-00000-00003", + "Firmware Security Version Number" : "00.00.00.00", + "FMC Version" : "8.12.1.0-00000-00003", + "FMC Security Version Number" : "00.00.00.00", + "BSP Version" : "8.12.1.0-00000-00003", + "BSP Security Version Number" : "00.00.00.00", + "BIOS Version" : "0x080C0400", + "BIOS Security Version Number" : "00.00.00.00", + "HIIM Version" : "08.12.04.00", + "HIIM Security Version Number" : "00.00.00.00", + "HIIA Version" : "08.12.04.00", + "HIIA Security Version Number" : "00.00.00.00", + "PSOC Hardware Version" : "6.64", + "PSOC Firmware Version" : "28.00", + "PSOC Part Number" : "25953-280-aaa", + "NVDATA Version" : "0C.0B.00.58", + "Driver Name" : "mpi3mr", + "Driver Version" : "8.5.0.0.50", + "SL8 Library Version" : "08.0507.0000" + }, + "HostInterface" : { + "Max PCIe Link Rate" : "0x08 (16GT/s)", + "Max PCIe Port Width" : 8, + "PCI Address" : "00:16:00:0", + "PCIe Link Width" : "X8 Lane(s)" + }, + "DeviceInterface" : { + "SAS/SATA" : "SAS/SATA-6G, SAS-12G, SAS-22.5G", + "PCIe" : "PCIE-2.5GT, PCIE-5GT, PCIE-8GT, PCIE-16GT", + "PCI Vendor ID" : "0x1000", + "PCI Device ID" : "0x00A5", + "PCI Subsystem Vendor ID" : "0x1000", + "PCI Subsystem ID" : "0x4620" + }, + "Status" : { + "Controller Status" : "Optimal", + "VD Count" : 23, + "VD Degraded Count" : 0, + "VD Offline Count" : 0, + "PD Count" : 26, + "PD Drive Count" : 24, + "Critical Predictive Failure PD Drive Count" : 0, + "Failed PD Drive Count" : 0, + "Memory Correctable Errors" : 0, + "Memory Uncorrectable Errors" : 0, + "ECC Bucket Count" : 0, + "Preserved Cache Present" : "No", + "System Reboot Required" : "No", + "System Shutdown Required" : "No", + "Controller Reset Required" : "No", + "Security Key Assigned" : "No", + "Security Type" : "None", + "Failed to get Security key on bootup" : "No", + "Bios was not detected during boot" : "No", + "Boot Time Secret Key Provider" : "OOB,In-band", + "EKM Key Provider" : "OOB,In-band", + "Controller must be rebooted to complete security operation" : "No", + "Controller has booted into safe mode" : "No", + "Controller has trial features enabled" : "No", + "Personality Change Pending" : "No", + "Security Key Rekey Pending" : "No", + "Reconfigure types" : "Change the format option only for existing name-spaces", + "Controller Personality" : "RAID" + }, + "Supported Controller operations" : { + "Support Enclosure Affinity" : "Yes", + "Support Foreign Config Import" : "Yes", + "Support Foreign Config Clear" : "Yes", + "Support Self Diagnostic Check" : "Yes", + "Support Diag Retention Test" : "Yes", + "Support Cache Offload Info" : "Yes", + "FW and Event Time in GMT" : "Yes", + "Support Abort CC on Error" : "Yes", + "Support Multipath" : "Yes", + "Support Security" : "Yes", + "Support Security Suggest" : "Yes", + "Support Portable Security Key" : "No", + "Support Security Key Per PD" : "No", + "Support LKM" : "Yes, Supported using both in-band and out-of-band command", + "Support EKM" : "Yes, Supported using both in-band and out-of-band command", + "Support LKM to EKM" : "Yes", + "Support EKM to LKM" : "No", + "Support PFK" : "Yes", + "Support Electronic PFK" : "No", + "Support Ldbbm" : "Yes", + "Support Shield State" : "Yes", + "Support SSD Ld Disk Cache Change" : "Yes", + "Support Operation Suspend Resume" : "Yes", + "Support Emergency Spares" : "Yes", + "Support Device Mgmt PEL" : "Yes", + "Support CC Schedule" : "Yes", + "Support PatrolRead" : "Yes", + "Support SSD PatrolRead" : "Yes", + "Support Resize Array" : "Yes", + "Support Drive Performance Monitoring" : "Yes", + "Support Emulated Drives" : "Yes", + "Support Limited Dedicated HotSpares" : "Yes", + "Support Factory Defaults set" : "Yes", + "Support Personality" : "Yes", + "Support NVCache Info Get" : "Yes", + "Support NVCache Erase" : "Yes", + "Support Cache Offload Encryption" : "No", + "Support CacheBypass Modes" : "Yes", + "Support Purge Cache During VD Delete" : "Yes", + "Support BoardLogic Update" : "Yes", + "Support Ibuttonless" : "Yes", + "Support Host Info" : "Yes", + "Support Cache-Vault Health Info" : "Yes", + "Support PCIe Devices" : "Yes", + "Support Extended MPB VPD pages" : "Yes", + "Support Snapdump" : "Yes", + "Support Energy Pack" : "Yes", + "Support Energy Pack VPD" : "Yes", + "Support Multiple Security keys(One Per PD)" : "No", + "Support Platform Security" : "Yes", + "Support SESCtrl In Multipath Config" : "No", + "Support R6 Individual PD Suspend/Resume" : "No", + "Support SAS Config" : "Yes", + "Support limiting of SAS Link speed" : "Yes, Supports only max link speed limit control of a SAS Phy", + "Support limiting of SAS Link speed per Phy" : "Yes", + "Support PCIe Config" : "Yes", + "Support limiting of PCIe Link Speed" : "Yes", + "Support limiting of PCIe Link Speed per Link" : "Yes", + "Support PCIe Config Lane Mapping" : "Yes", + "Support Immediate Auto-configure" : "Yes", + "Support NVMe Recover" : "Yes", + "Support NVMe Reconfigure" : "No", + "Support PCIe Clock mode" : "Yes", + "Support Enhanced Scheduling" : "Yes" + }, + "External Key Management" : { + "Capability" : "Supported", + "Boot Agent Status" : "Not Available", + "Configured" : "No" + }, + "Supported PD operations" : { + "Support Force Online" : "Yes", + "Support Make Offline" : "Yes", + "Support Make Failed" : "No", + "Support SpinDown Unconfigured" : "Yes", + "Support SpinDown HotSpare" : "Yes", + "Support SpinDown Configured" : "No", + "Support T10 Power State" : "Yes", + "Support Temperature Monitoring" : "Yes", + "Support WCE" : "Yes", + "Support Degraded Media Detection" : "Yes", + "Support PD Secure Erase" : "Yes", + "Support SSD Wear Gauge" : "No", + "Support Mark Missing" : "Yes", + "Support Replace Missing" : "Yes", + "Support Prepare For Removal" : "Yes", + "Support Drive Power State Change" : "Yes, Supports only Spin-Up" + }, + "Supported VD operations" : { + "Support Changing Read Policy" : "Yes", + "Support Changing Write Policy" : "Yes", + "Support Changing Disk Cache Policy" : "Yes", + "Support Online Capacity Expansion" : "Yes, with VD Expansion and addition of Drives only", + "Support LDBBM" : "Yes", + "Support Secure Erase" : "Yes", + "Support Unmap for single drive RAID 0 VDs" : "Yes", + "Support Unmap for RAID 0 VDs" : "Yes", + "Support Unmap for RAID 1/10 VDs" : "Yes", + "Support Unmap for RAID 5/50/6/60 VDs" : "Yes", + "Support Writesame Unmap for single drive RAID 0 VDs" : "Yes", + "Support Writesame Unmap for RAID 0 VDs" : "Yes", + "Support Writesame Unmap for RAID 1/10 VDs" : "Yes", + "Support Writesame Unmap for RAID 5/50/6/60 VDs" : "Yes", + "Support T10 Atomicity" : "No" + }, + "HwCfg" : { + "NVRAM" : "Present", + "NVRAM Size(KiB)" : 128, + "DDR Memory Size(MiB)" : 4096, + "Flash" : "Present", + "NOR Flash Size(MiB)" : 32, + "CacheVault Flash Size(MiB)" : 22170, + "OCM Memory" : "Present", + "OCM Memory Size(MiB)" : 15, + "Current Size of FW Cache(MiB)" : 3877, + "DDR Width" : "72-bit", + "Energy Pack" : "Present", + "Upgrade Key" : "Absent", + "Upgrade Key Slot" : "Present", + "On Board Expander" : "Absent", + "Temperature Sensor for Chip" : "Present", + "Temperature Sensor for Board" : "Present", + "Upgradable Board Logic" : "Present", + "PCI Switch" : "Absent", + "Serial Debugger" : "Present", + "Chip temperature(C)" : 62, + "Board temperature(C)" : 46, + "Controller Fan" : "Absent" + }, + "Max. Supported Config" : { + "Max Number of VDs" : 240, + "Max Number of Physical Drives" : 240, + "Max SAS/SATA Drives" : 240, + "Max NVMe Drives" : 32, + "Max Arrays" : 240, + "Max PD Per Array" : 32, + "Max Spans Per VD" : 8, + "Max Dedicated HSPs" : 64, + "Max Global HSPs" : 64, + "Max VDs Per Array" : 16, + "Max Phys" : 16, + "Max JBODs" : 240, + "Max RAID Configurable PDs" : 240, + "Max Complex RAID VDs" : 64, + "Max Data Transfer Size(Bytes)" : 1048576, + "Max Parallel Commands" : 8192, + "Max NS/LU per JBOD" : 4, + "Max NS/LU per RAID PDs" : 1, + "Max Supported LUNs for SAS PDs" : 4, + "Max Namespaces" : 1, + "Max Persistent Id" : 1024, + "Max VD's per Array in configuration" : 16, + "Max Key Id length" : 256, + "Max Security Key length" : 32, + "Max Secret Key length" : 32 + }, + "Properties" : { + "Patrol Read Rate(%)" : 30, + "BGI Rate(%)" : 30, + "Consistency Check Rate(%)" : 30, + "OCE Rate(%)" : 30, + "Drive Coercion Mode" : "0 (None)", + "Auto Rebuild" : "Yes", + "Energy Pack Warning" : "No", + "Data Loss Warning" : "Yes", + "Ecc Bucket Size(Entries)" : 15, + "ECC Bucket Leak Rate(minute(s))" : 1440, + "Expose Enclosure Devices" : "Yes", + "Maintain Drive Fail History" : "Yes", + "Maintain Drive Fail History - JBOD" : "Yes", + "All Online Controller Reset" : "Yes", + "Auto Online Controller Reset" : "Yes", + "Abort CC on Error" : "No", + "Replace Drive" : "Yes", + "HDD SMARTer Enabled" : "Yes", + "SSD SMARTer Enabled" : "Yes", + "PR Correct UnConfigured Areas" : "Yes", + "Support SSD Patrol Read" : "Yes", + "SpinDown Unconfigured Drive" : "Yes", + "Boot With Preserved Cache" : "Yes", + "SpinDown HotSpare" : "No", + "Emergency GHS" : "Yes", + "Emergency UG" : "Yes", + "Emergency SMARTer" : "Yes", + "Fail On SMARTer" : "No", + "LED management for JBOD" : "Yes", + "SES VPD Association" : "TargetPort", + "Base Enclosure Level" : "Enclosure level enumeration start with Zero", + "SMART/Temperature PollInterval-For External PDs only(second(s))" : 300, + "SMART/Temperature PollInterval-For Internal PDs only(second(s))" : 300, + "SpinDown Time(minute(s))" : 30, + "Spinup Drive Count" : 2, + "Spinup Delay(second(s))" : 2, + "Spinup Encl Drive Count" : 4, + "Spinup Enclosure Delay(second(s))" : 12, + "Drive Detection Type" : "Disabled", + "Drive Corrective Action" : "Only Log Events", + "Drive Error Threshold" : "Every 8 Hours", + "Boot Mode" : "COE", + "Name" : "", + "SmartPoll - RAID PDs" : "Yes", + "SmartPoll - JBOD PDs" : "Yes", + "PD Temperature Poll" : "Yes", + "Security on JBOD" : "Yes", + "Host Managed Security on JBOD" : "No" + }, + "Capabilities" : { + "Supported Drive Interfaces" : "SAS, SATA, NVMe", + "Supported RAID Levels" : "RAID0, RAID1, RAID5, RAID6, RAID10, RAID50, RAID60", + "Mix of SAS-HDD/SATA-HDD in VD" : "Allowed", + "Mix of SAS-SSD/SATA-SSD in VD" : "Allowed", + "Mix of SSD/HDD in VD" : "Not Allowed", + "Mix of SED type(Enterprise,OPAL,and RUBY) for Security Enabled Arrays" : "Not Allowed", + "Mix of different NS/LU count in a VD" : "Not Allowed", + "Mix of NVMe SGL and PRP in a VD" : "Allowed" + }, + "NVCache Information" : { + "NVCache Flash Capacity(MiB)" : 22170, + "Bad Block Capacity(MiB)" : 135, + "Allowable bad blocks consumed(%)" : 19 + }, + "Scheduled Tasks" : { + "Patrol Read Execution Frequency(hours)" : "168", + "Next Patrol Read Start time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/06/04 17:00:00" + }, + "Secure Boot Details" : { + "Secure Boot State" : "Enabled", + "Secure Boot Mode" : "Hard Secure", + "Total Number Of Key Slots" : 8, + "Number Of Key Slots Used" : 1, + "Remaining Key Slots" : 7, + "Current Key Encryption Algorithm" : "RSA2048", + "Key Hash Size" : "SHA256", + "Key Hash Version" : "SHA3", + "Security Version Number" : "00.00.00.00" + }, + "Security Protocol Details" : { + "Security Protocol" : "SPDM-1.2.0,1.1.0,1.0.0" + }, + "Drive Groups" : 23, + "TOPOLOGY" : [ + { + "DG" : 0, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 0, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 0, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:0", + "PID" : 293, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 1, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 1, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 1, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:1", + "PID" : 294, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 2, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 2, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 2, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:2", + "PID" : 295, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 3, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 3, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 3, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:3", + "PID" : 296, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 4, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 4, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 4, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:4", + "PID" : 297, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 5, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 5, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 5, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:5", + "PID" : 298, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 6, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 6, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 6, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:6", + "PID" : 299, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 7, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 7, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 7, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:7", + "PID" : 300, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 8, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 8, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 8, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:8", + "PID" : 301, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 9, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 9, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 9, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:9", + "PID" : 302, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 10, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 10, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 10, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:10", + "PID" : 303, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 11, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 11, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 11, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "306:11", + "PID" : 304, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 12, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 12, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 12, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "320:0", + "PID" : 307, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 13, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 13, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 13, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "320:1", + "PID" : 308, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 14, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 14, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 14, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "320:2", + "PID" : 309, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 15, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 15, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 15, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "320:3", + "PID" : 310, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 16, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 16, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 16, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "320:4", + "PID" : 311, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 17, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 17, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 17, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "320:5", + "PID" : 312, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 18, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 18, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 18, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "320:6", + "PID" : 313, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 19, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 19, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 19, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "320:7", + "PID" : 314, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 20, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 20, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 20, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "320:8", + "PID" : 315, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 21, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 21, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 21, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "320:9", + "PID" : 316, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + }, + { + "DG" : 22, + "Span" : "-", + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 22, + "Span" : 0, + "Row" : "-", + "EID:Slot" : "-", + "PID" : "-", + "Type" : "RAID0", + "State" : "-", + "Status" : "-", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "N" + }, + { + "DG" : 22, + "Span" : 0, + "Row" : 0, + "EID:Slot" : "320:10", + "PID" : 317, + "Type" : "DRIVE", + "State" : "Conf", + "Status" : "Online", + "BT" : "N", + "Size" : "9.094 TiB", + "PDC" : "dsbl", + "Secured" : "N", + "FSpace" : "-" + } + ], + "Virtual Drives" : 23, + "VD LIST" : [ + { + "DG/VD" : "0/1", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "1/2", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "2/3", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "3/4", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "4/5", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "5/6", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "6/7", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "7/8", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "8/9", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "9/10", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "10/11", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "11/12", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "12/13", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "13/14", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "14/15", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "15/16", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "16/17", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "17/18", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "18/19", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "19/20", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "20/21", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "21/22", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + { + "DG/VD" : "22/23", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + } + ], + "Physical Drives" : 24, + "PD LIST" : [ + { + "EID:Slt" : "306:0", + "PID" : 293, + "State" : "Conf", + "Status" : "Online", + "DG" : 0, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "306:1", + "PID" : 294, + "State" : "Conf", + "Status" : "Online", + "DG" : 1, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "306:2", + "PID" : 295, + "State" : "Conf", + "Status" : "Online", + "DG" : 2, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "306:3", + "PID" : 296, + "State" : "Conf", + "Status" : "Online", + "DG" : 3, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "306:4", + "PID" : 297, + "State" : "Conf", + "Status" : "Online", + "DG" : 4, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "306:5", + "PID" : 298, + "State" : "Conf", + "Status" : "Online", + "DG" : 5, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "306:6", + "PID" : 299, + "State" : "Conf", + "Status" : "Online", + "DG" : 6, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "306:7", + "PID" : 300, + "State" : "Conf", + "Status" : "Online", + "DG" : 7, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "306:8", + "PID" : 301, + "State" : "Conf", + "Status" : "Online", + "DG" : 8, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "306:9", + "PID" : 302, + "State" : "Conf", + "Status" : "Online", + "DG" : 9, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "306:10", + "PID" : 303, + "State" : "Conf", + "Status" : "Online", + "DG" : 10, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "306:11", + "PID" : 304, + "State" : "Conf", + "Status" : "Online", + "DG" : 11, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:0", + "PID" : 307, + "State" : "Conf", + "Status" : "Online", + "DG" : 12, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:1", + "PID" : 308, + "State" : "Conf", + "Status" : "Online", + "DG" : 13, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:2", + "PID" : 309, + "State" : "Conf", + "Status" : "Online", + "DG" : 14, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:3", + "PID" : 310, + "State" : "Conf", + "Status" : "Online", + "DG" : 15, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:4", + "PID" : 311, + "State" : "Conf", + "Status" : "Online", + "DG" : 16, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:5", + "PID" : 312, + "State" : "Conf", + "Status" : "Online", + "DG" : 17, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:6", + "PID" : 313, + "State" : "Conf", + "Status" : "Online", + "DG" : 18, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:7", + "PID" : 314, + "State" : "Conf", + "Status" : "Online", + "DG" : 19, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:8", + "PID" : 315, + "State" : "Conf", + "Status" : "Online", + "DG" : 20, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:9", + "PID" : 316, + "State" : "Conf", + "Status" : "Online", + "DG" : 21, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:10", + "PID" : 317, + "State" : "Conf", + "Status" : "Online", + "DG" : 22, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "320:11", + "PID" : 318, + "State" : "UConf", + "Status" : "Good", + "DG" : "-", + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "LU/NS LIST" : [ + { + "PID" : 293, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 294, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 295, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 296, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 297, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 298, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 299, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 300, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 301, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 302, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 303, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 304, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 307, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 308, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 309, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 310, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 311, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 312, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 313, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 314, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 315, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 316, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 317, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + }, + { + "PID" : 318, + "LUN/NSID" : "0/-", + "Status" : "Good", + "Size" : "9.094 TiB" + } + ], + "Enclosures" : 2, + "Enclosure List" : [ + { + "EID" : 306, + "State" : "OK", + "DeviceType" : "Enclosure", + "Slots" : 12, + "PD" : 12, + "Partner-EID" : "-", + "Multipath" : "No", + "PS" : 1, + "Fans" : 0, + "TSs" : 3, + "Alms" : 1, + "SIM" : 0, + "ProdID" : "380-23710-3001 " + }, + { + "EID" : 320, + "State" : "OK", + "DeviceType" : "Enclosure", + "Slots" : 12, + "PD" : 12, + "Partner-EID" : "-", + "Multipath" : "No", + "PS" : 1, + "Fans" : 0, + "TSs" : 3, + "Alms" : 1, + "SIM" : 0, + "ProdID" : "380-23710-3001 " + } + ], + "Energy Pack Info" : [ + { + "Type" : "Supercap", + "SubType" : "FBU345", + "Voltage(mV)" : 9181, + "Temperature(C)" : 38, + "Status" : "Optimal" + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/controllers/storcli2/c5_invalid.json b/pkg/implementation/raidcontroller/megaraid/testdata/controllers/storcli2/c5_invalid.json new file mode 100644 index 0000000..f79a455 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/controllers/storcli2/c5_invalid.json @@ -0,0 +1,13 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : 5, + "Status" : "Failure", + "Description" : "Controller 5 not found" + } +} +] +} diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/cacheoptions/storcli2/success.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/cacheoptions/storcli2/success.json new file mode 100644 index 0000000..f968c8f --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/cacheoptions/storcli2/success.json @@ -0,0 +1,5 @@ +CLI Version = 008.0005.0000.0010 Feb 22, 2023 +Operating system = Linux4.18.0-553.115.1.el8_10.x86_64 +Status = Failure +Description = syntax error, unexpected TOKEN_WRITE_CACHE, expecting $end + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/cacheoptions/storcli2/success_rdcache.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/cacheoptions/storcli2/success_rdcache.json new file mode 100644 index 0000000..e62e970 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/cacheoptions/storcli2/success_rdcache.json @@ -0,0 +1,25 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None", + "Detailed Status" : [ + { + "VD" : 25, + "Property" : "Read Cache Policy", + "Value" : "RA", + "Status" : "Success", + "ErrType" : "-", + "ErrCd" : "-", + "ErrMsg" : "-" + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/cacheoptions/storcli2/success_wrcache.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/cacheoptions/storcli2/success_wrcache.json new file mode 100644 index 0000000..d1ded1b --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/cacheoptions/storcli2/success_wrcache.json @@ -0,0 +1,25 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None", + "Detailed Status" : [ + { + "VD" : 25, + "Property" : "Write Cache Policy", + "Value" : "WT", + "Status" : "Success", + "ErrType" : "-", + "ErrCd" : "-", + "ErrMsg" : "-" + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/cacheoptions/success.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/cacheoptions/success.json index 6d284c2..c9f46aa 100644 --- a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/cacheoptions/success.json +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/cacheoptions/success.json @@ -1 +1,39 @@ -{"Controllers":[{"Command Status":{"CLI Version":"007.1616.0000.0000 Dec 24, 2020","Operating system":"Linux 4.18.0-553.22.1.el8_10.x86_64","Controller":0,"Status":"Success","Description":"None","Detailed Status":[{"VD":228,"Property":"rdCache","Value":"RA","Status":"Success","ErrCd":0,"ErrMsg":"-"},{"VD":228,"Property":"wrCache","Value":"WT","Status":"Success","ErrCd":0,"ErrMsg":"-"},{"VD":228,"Property":"IoPolicy","Value":"Direct","Status":"Success","ErrCd":0,"ErrMsg":"-"}]}}]} \ No newline at end of file +{ + "Controllers": [ + { + "Command Status": { + "CLI Version": "007.1616.0000.0000 Dec 24, 2020", + "Operating system": "Linux 4.18.0-553.22.1.el8_10.x86_64", + "Controller": 0, + "Status": "Success", + "Description": "None", + "Detailed Status": [ + { + "VD": 228, + "Property": "rdCache", + "Value": "RA", + "Status": "Success", + "ErrCd": 0, + "ErrMsg": "-" + }, + { + "VD": 228, + "Property": "wrCache", + "Value": "WT", + "Status": "Success", + "ErrCd": 0, + "ErrMsg": "-" + }, + { + "VD": 228, + "Property": "IoPolicy", + "Value": "Direct", + "Status": "Success", + "ErrCd": 0, + "ErrMsg": "-" + } + ] + } + } + ] +} diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/create/storcli2/fail.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/create/storcli2/fail.json new file mode 100644 index 0000000..b684656 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/create/storcli2/fail.json @@ -0,0 +1,14 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Failure", + "Description" : "No freespace available to create VD." + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/create/storcli2/success.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/create/storcli2/success.json new file mode 100644 index 0000000..84b15a3 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/create/storcli2/success.json @@ -0,0 +1,26 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Add VD succeeded." + }, + "Response Data" : { + "VD Information" : [ + { + "VDID" : 25, + "VDSize" : "9.094 TiB", + "Status" : "Success", + "ErrType" : "-", + "ErrCd" : "-", + "Msg" : "-" + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/delete/storcli2/fail_invalid.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/delete/storcli2/fail_invalid.json new file mode 100644 index 0000000..9504a69 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/delete/storcli2/fail_invalid.json @@ -0,0 +1,23 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Failure", + "Description" : "Delete VD failed", + "Detailed Status" : [ + { + "VD" : 299, + "Status" : "Failed", + "ErrType" : "CLI", + "ErrCd" : 255, + "ErrMsg" : "Invalid VD number" + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/delete/storcli2/fail_vdNotExist.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/delete/storcli2/fail_vdNotExist.json new file mode 100644 index 0000000..106442b --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/delete/storcli2/fail_vdNotExist.json @@ -0,0 +1,23 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Failure", + "Description" : "Delete VD failed", + "Detailed Status" : [ + { + "VD" : 999, + "Status" : "Failed", + "ErrType" : "CLI", + "ErrCd" : 255, + "ErrMsg" : "Invalid VD number" + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/delete/storcli2/success.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/delete/storcli2/success.json new file mode 100644 index 0000000..e2cb32e --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/delete/storcli2/success.json @@ -0,0 +1,14 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Delete VD succeeded" + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/migrate/storcli2/fail.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/migrate/storcli2/fail.json new file mode 100644 index 0000000..ffa24c5 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/migrate/storcli2/fail.json @@ -0,0 +1,5 @@ +CLI Version = 008.0005.0000.0010 Feb 22, 2023 +Operating system = Linux4.18.0-553.115.1.el8_10.x86_64 +Status = Failure +Description = syntax error, unexpected TOKEN_MIGRATE, expecting TOKEN_ERASE or TOKEN_INIT or TOKEN_CC or TOKEN_LOCATE + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/all.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/all.json new file mode 100644 index 0000000..de0738f --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/all.json @@ -0,0 +1,1530 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "0/1", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:0", + "PID" : 293, + "State" : "Conf", + "Status" : "Online", + "DG" : 0, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 09:43:32", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf124ced57e62", + "OS Drive Name" : "/dev/sdb", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00627ed5ce24f1fa6940d56620b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "1/2", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:1", + "PID" : 294, + "State" : "Conf", + "Status" : "Online", + "DG" : 1, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 09:57:01", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf44d843b9bb2", + "OS Drive Name" : "/dev/sdc", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00b29b3b844df4fa6940d56620b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "2/3", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:2", + "PID" : 295, + "State" : "Conf", + "Status" : "Online", + "DG" : 2, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 09:57:31", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf46bb0b9be3a", + "OS Drive Name" : "/dev/sdd", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "003abeb9b06bf4fa6940d56620b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "3/4", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:3", + "PID" : 296, + "State" : "Conf", + "Status" : "Online", + "DG" : 3, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 09:58:06", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf48ee4f74bcb", + "OS Drive Name" : "/dev/sde", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00cb4bf7e48ef4fa6940d56620b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "4/5", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:4", + "PID" : 297, + "State" : "Conf", + "Status" : "Online", + "DG" : 4, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 09:58:33", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf4a90e3888c8", + "OS Drive Name" : "/dev/sdf", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00c888380ea9f4fa6940d56620b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "5/6", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:5", + "PID" : 298, + "State" : "Conf", + "Status" : "Online", + "DG" : 5, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 09:59:02", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf4c638dac052", + "OS Drive Name" : "/dev/sdg", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "0052c0da38c6f4fa6940d56620b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "6/7", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:6", + "PID" : 299, + "State" : "Conf", + "Status" : "Online", + "DG" : 6, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 09:59:29", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf4e160acb683", + "OS Drive Name" : "/dev/sdh", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "0083b6ac60e1f4fa6940d56620b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "7/8", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:7", + "PID" : 300, + "State" : "Conf", + "Status" : "Online", + "DG" : 7, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 09:59:55", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf4fb87aae3da", + "OS Drive Name" : "/dev/sdi", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00dae3aa87fbf4fa6940d56620b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "8/9", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:8", + "PID" : 301, + "State" : "Conf", + "Status" : "Online", + "DG" : 8, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 10:00:25", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf519b47496a4", + "OS Drive Name" : "/dev/sdj", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00a49674b419f5fa6940d56620b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "9/10", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:9", + "PID" : 302, + "State" : "Conf", + "Status" : "Online", + "DG" : 9, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 10:00:53", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf535de569285", + "OS Drive Name" : "/dev/sdk", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00859256de35f5fa6940d56620b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "10/11", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:10", + "PID" : 303, + "State" : "Conf", + "Status" : "Online", + "DG" : 10, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 10:01:19", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf54f04d358fd", + "OS Drive Name" : "/dev/sdl", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00fd58d3044ff5fa6940d56620b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "11/12", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:11", + "PID" : 304, + "State" : "Conf", + "Status" : "Online", + "DG" : 11, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 10:01:46", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf56a2d7815af", + "OS Drive Name" : "/dev/sdm", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00af15782d6af5fa6940d56620b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "12/13", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "320:0", + "PID" : 307, + "State" : "Conf", + "Status" : "Online", + "DG" : 12, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 13:35:51", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069fb2797551ee984", + "OS Drive Name" : "/dev/sdn", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "0084e91e559727fb6940d56620b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "13/14", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "320:1", + "PID" : 308, + "State" : "Conf", + "Status" : "Online", + "DG" : 13, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 13:36:23", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069fb27b78580f0cf", + "OS Drive Name" : "/dev/sdo", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00cff08085b727fb6940d56620b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "14/15", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "320:2", + "PID" : 309, + "State" : "Conf", + "Status" : "Online", + "DG" : 14, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 13:36:45", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069fb27cda55a0368", + "OS Drive Name" : "/dev/sdp", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "0068035aa5cd27fb6940d56620b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "15/16", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "320:3", + "PID" : 310, + "State" : "Conf", + "Status" : "Online", + "DG" : 15, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 13:37:05", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069fb27e1c4372f19", + "OS Drive Name" : "/dev/sdq", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00192f37c4e127fb6940d56620b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "16/17", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "320:4", + "PID" : 311, + "State" : "Conf", + "Status" : "Online", + "DG" : 16, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 13:37:24", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069fb27f4df8f8a18", + "OS Drive Name" : "/dev/sdr", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00188a8fdff427fb6940d56620b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "17/18", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "320:5", + "PID" : 312, + "State" : "Conf", + "Status" : "Online", + "DG" : 17, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 13:37:41", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069fb2805f898490e", + "OS Drive Name" : "/dev/sds", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "000e4998f80528fb6940d56620b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "18/19", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "320:6", + "PID" : 313, + "State" : "Conf", + "Status" : "Online", + "DG" : 18, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 13:37:58", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069fb2816125846f7", + "OS Drive Name" : "/dev/sdt", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00f74658121628fb6940d56620b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "19/20", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "320:7", + "PID" : 314, + "State" : "Conf", + "Status" : "Online", + "DG" : 19, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 13:38:20", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069fb282c3362ab13", + "OS Drive Name" : "/dev/sdu", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "0013ab62332c28fb6940d56620b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "20/21", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "320:8", + "PID" : 315, + "State" : "Conf", + "Status" : "Online", + "DG" : 20, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 13:38:45", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069fb2845591ba1a1", + "OS Drive Name" : "/dev/sdv", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00a1a11b594528fb6940d56620b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "21/22", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "320:9", + "PID" : 316, + "State" : "Conf", + "Status" : "Online", + "DG" : 21, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 13:40:46", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069fb28be0d0738d6", + "OS Drive Name" : "/dev/sdw", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00d638070dbe28fb6940d56620b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "22/23", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "320:10", + "PID" : 317, + "State" : "Conf", + "Status" : "Online", + "DG" : 22, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 13:43:13", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069fb2951e77bf7f5", + "OS Drive Name" : "/dev/sdx", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00f5f77be75129fb6940d56620b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "23/24", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "320:11", + "PID" : 318, + "State" : "Conf", + "Status" : "Online", + "DG" : 23, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/29 14:01:50", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d5406a19802e43db65e9", + "OS Drive Name" : "/dev/sdy", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00e965db432e80196a40d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v1.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v1.json new file mode 100644 index 0000000..370fe6c --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v1.json @@ -0,0 +1,81 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "0/1", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:0", + "PID" : 293, + "State" : "Conf", + "Status" : "Online", + "DG" : 0, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 09:43:32", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf124ced57e62", + "OS Drive Name" : "/dev/sdb", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00627ed5ce24f1fa6940d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v10.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v10.json new file mode 100644 index 0000000..e1e15f8 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v10.json @@ -0,0 +1,81 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "9/10", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:9", + "PID" : 302, + "State" : "Conf", + "Status" : "Online", + "DG" : 9, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 10:00:53", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf535de569285", + "OS Drive Name" : "/dev/sdk", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00859256de35f5fa6940d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v11.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v11.json new file mode 100644 index 0000000..8571035 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v11.json @@ -0,0 +1,81 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "10/11", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:10", + "PID" : 303, + "State" : "Conf", + "Status" : "Online", + "DG" : 10, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 10:01:19", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf54f04d358fd", + "OS Drive Name" : "/dev/sdl", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00fd58d3044ff5fa6940d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v12.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v12.json new file mode 100644 index 0000000..a4b3a73 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v12.json @@ -0,0 +1,81 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "11/12", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:11", + "PID" : 304, + "State" : "Conf", + "Status" : "Online", + "DG" : 11, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 10:01:46", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf56a2d7815af", + "OS Drive Name" : "/dev/sdm", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00af15782d6af5fa6940d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v13.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v13.json new file mode 100644 index 0000000..f81ad5e --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v13.json @@ -0,0 +1,81 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "12/13", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "320:0", + "PID" : 307, + "State" : "Conf", + "Status" : "Online", + "DG" : 12, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 13:35:51", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069fb2797551ee984", + "OS Drive Name" : "/dev/sdn", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "0084e91e559727fb6940d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v14.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v14.json new file mode 100644 index 0000000..ac5f8f0 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v14.json @@ -0,0 +1,81 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "13/14", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "320:1", + "PID" : 308, + "State" : "Conf", + "Status" : "Online", + "DG" : 13, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 13:36:23", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069fb27b78580f0cf", + "OS Drive Name" : "/dev/sdo", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00cff08085b727fb6940d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v15.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v15.json new file mode 100644 index 0000000..d1309c3 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v15.json @@ -0,0 +1,81 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "14/15", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "320:2", + "PID" : 309, + "State" : "Conf", + "Status" : "Online", + "DG" : 14, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 13:36:45", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069fb27cda55a0368", + "OS Drive Name" : "/dev/sdp", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "0068035aa5cd27fb6940d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v16.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v16.json new file mode 100644 index 0000000..6a098c8 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v16.json @@ -0,0 +1,81 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "15/16", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "320:3", + "PID" : 310, + "State" : "Conf", + "Status" : "Online", + "DG" : 15, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 13:37:05", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069fb27e1c4372f19", + "OS Drive Name" : "/dev/sdq", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00192f37c4e127fb6940d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v17.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v17.json new file mode 100644 index 0000000..56fdd39 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v17.json @@ -0,0 +1,81 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "16/17", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "320:4", + "PID" : 311, + "State" : "Conf", + "Status" : "Online", + "DG" : 16, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 13:37:24", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069fb27f4df8f8a18", + "OS Drive Name" : "/dev/sdr", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00188a8fdff427fb6940d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v18.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v18.json new file mode 100644 index 0000000..7f14e57 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v18.json @@ -0,0 +1,81 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "17/18", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "320:5", + "PID" : 312, + "State" : "Conf", + "Status" : "Online", + "DG" : 17, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 13:37:41", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069fb2805f898490e", + "OS Drive Name" : "/dev/sds", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "000e4998f80528fb6940d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v19.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v19.json new file mode 100644 index 0000000..ca1d172 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v19.json @@ -0,0 +1,81 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "18/19", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "320:6", + "PID" : 313, + "State" : "Conf", + "Status" : "Online", + "DG" : 18, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 13:37:58", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069fb2816125846f7", + "OS Drive Name" : "/dev/sdt", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00f74658121628fb6940d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v2.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v2.json new file mode 100644 index 0000000..92f53bf --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v2.json @@ -0,0 +1,81 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "1/2", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:1", + "PID" : 294, + "State" : "Conf", + "Status" : "Online", + "DG" : 1, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 09:57:01", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf44d843b9bb2", + "OS Drive Name" : "/dev/sdc", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00b29b3b844df4fa6940d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v20.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v20.json new file mode 100644 index 0000000..d996a60 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v20.json @@ -0,0 +1,81 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "19/20", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "320:7", + "PID" : 314, + "State" : "Conf", + "Status" : "Online", + "DG" : 19, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 13:38:20", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069fb282c3362ab13", + "OS Drive Name" : "/dev/sdu", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "0013ab62332c28fb6940d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v21.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v21.json new file mode 100644 index 0000000..ff984d5 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v21.json @@ -0,0 +1,81 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "20/21", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "320:8", + "PID" : 315, + "State" : "Conf", + "Status" : "Online", + "DG" : 20, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 13:38:45", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069fb2845591ba1a1", + "OS Drive Name" : "/dev/sdv", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00a1a11b594528fb6940d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v22.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v22.json new file mode 100644 index 0000000..e5f9489 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v22.json @@ -0,0 +1,81 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "21/22", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "320:9", + "PID" : 316, + "State" : "Conf", + "Status" : "Online", + "DG" : 21, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 13:40:46", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069fb28be0d0738d6", + "OS Drive Name" : "/dev/sdw", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00d638070dbe28fb6940d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v23.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v23.json new file mode 100644 index 0000000..2dd5c66 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v23.json @@ -0,0 +1,81 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "22/23", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "320:10", + "PID" : 317, + "State" : "Conf", + "Status" : "Online", + "DG" : 22, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 13:43:13", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069fb2951e77bf7f5", + "OS Drive Name" : "/dev/sdx", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00f5f77be75129fb6940d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v3.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v3.json new file mode 100644 index 0000000..9725fab --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v3.json @@ -0,0 +1,81 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "2/3", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:2", + "PID" : 295, + "State" : "Conf", + "Status" : "Online", + "DG" : 2, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 09:57:31", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf46bb0b9be3a", + "OS Drive Name" : "/dev/sdd", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "003abeb9b06bf4fa6940d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v4.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v4.json new file mode 100644 index 0000000..509729b --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v4.json @@ -0,0 +1,81 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "3/4", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:3", + "PID" : 296, + "State" : "Conf", + "Status" : "Online", + "DG" : 3, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 09:58:06", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf48ee4f74bcb", + "OS Drive Name" : "/dev/sde", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00cb4bf7e48ef4fa6940d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v5.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v5.json new file mode 100644 index 0000000..8461978 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v5.json @@ -0,0 +1,81 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "4/5", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:4", + "PID" : 297, + "State" : "Conf", + "Status" : "Online", + "DG" : 4, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 09:58:33", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf4a90e3888c8", + "OS Drive Name" : "/dev/sdf", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00c888380ea9f4fa6940d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v6.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v6.json new file mode 100644 index 0000000..255a560 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v6.json @@ -0,0 +1,81 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "5/6", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:5", + "PID" : 298, + "State" : "Conf", + "Status" : "Online", + "DG" : 5, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 09:59:02", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf4c638dac052", + "OS Drive Name" : "/dev/sdg", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "0052c0da38c6f4fa6940d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v7.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v7.json new file mode 100644 index 0000000..33d48be --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v7.json @@ -0,0 +1,81 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "6/7", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:6", + "PID" : 299, + "State" : "Conf", + "Status" : "Online", + "DG" : 6, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 09:59:29", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf4e160acb683", + "OS Drive Name" : "/dev/sdh", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "0083b6ac60e1f4fa6940d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v8.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v8.json new file mode 100644 index 0000000..e52ca4a --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v8.json @@ -0,0 +1,81 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "7/8", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:7", + "PID" : 300, + "State" : "Conf", + "Status" : "Online", + "DG" : 7, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 09:59:55", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf4fb87aae3da", + "OS Drive Name" : "/dev/sdi", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00dae3aa87fbf4fa6940d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v9.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v9.json new file mode 100644 index 0000000..a317260 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v9.json @@ -0,0 +1,81 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "8/9", + "TYPE" : "RAID0", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "NR,WB", + "Size" : "9.094 TiB", + "Name" : "" + }, + "PDs" : [ + { + "EID:Slt" : "306:8", + "PID" : 301, + "State" : "Conf", + "Status" : "Online", + "DG" : 8, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "256 KiB", + "Block Size" : 4096, + "Number of Blocks" : 2441478144, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 1, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "Off", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2026/05/06 10:00:25", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b22066d54069faf519b47496a4", + "OS Drive Name" : "/dev/sdj", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00a49674b419f5fa6940d56620b26200" + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v999_invalid.json b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v999_invalid.json new file mode 100644 index 0000000..3e97eec --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/logicalvolumes/show/storcli2/v999_invalid.json @@ -0,0 +1,26 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Failure", + "Description" : "None", + "Detailed Status" : [ + { + "VD" : 999, + "Status" : "Failed", + "ErrType" : "CLI", + "ErrCd" : 255, + "ErrMsg" : "Invalid VD number" + } + ] + }, + "Response Data" : { + "Virtual Drives" : [] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/blink/storcli2/start.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/blink/storcli2/start.json new file mode 100644 index 0000000..caa7954 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/blink/storcli2/start.json @@ -0,0 +1,14 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Start PD Locate Succeeded." + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/blink/storcli2/stop.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/blink/storcli2/stop.json new file mode 100644 index 0000000..98e78ec --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/blink/storcli2/stop.json @@ -0,0 +1,14 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Stop PD Locate Succeeded." + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/jbod/disable/storcli2/fail.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/jbod/disable/storcli2/fail.json new file mode 100644 index 0000000..3379b78 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/jbod/disable/storcli2/fail.json @@ -0,0 +1,5 @@ +CLI Version = 008.0005.0000.0010 Feb 22, 2023 +Operating system = Linux4.18.0-553.115.1.el8_10.x86_64 +Status = Failure +Description = syntax error, unexpected TOKEN_JBOD, expecting TOKEN_HOTSPARE_DRIVE + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/jbod/enable/storcli2/fail.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/jbod/enable/storcli2/fail.json new file mode 100644 index 0000000..ea38ed5 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/jbod/enable/storcli2/fail.json @@ -0,0 +1,24 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Failure", + "Description" : "Set PD JBOD Failed.", + "Detailed Status" : [ + { + "EID:Slt" : "306:0", + "PID" : 293, + "Status" : "Failure", + "ErrType" : "DCMD", + "ErrCd" : 9, + "ErrMsg" : "The requested operation is not possible because the PD is in the wrong state. Enclosure Persistent Id:306, Slot Number:0" + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/all.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/all.json new file mode 100644 index 0000000..f6ec405 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/all.json @@ -0,0 +1,2682 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "306:0", + "PID" : 293, + "State" : "Conf", + "Status" : "Online", + "DG" : 0, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 293, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 40, + "Serial Number" : "WP00MLCA0000E2426EZU", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF7DE7D4", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:0, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef7de7d5", + "DevicePID" : 293, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 4d 4c 43 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + }, + { + "Drive Information" : { + "EID:Slt" : "306:1", + "PID" : 294, + "State" : "Conf", + "Status" : "Online", + "DG" : 1, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 294, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 43, + "Serial Number" : "WWY08M9N0000E2415H2H", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF30DE9C", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:1, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef30de9d", + "DevicePID" : 294, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 57 59 30 38 4d 39 4e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + }, + { + "Drive Information" : { + "EID:Slt" : "306:2", + "PID" : 295, + "State" : "Conf", + "Status" : "Online", + "DG" : 2, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 295, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 45, + "Serial Number" : "WP00MNPX0000E2424KEX", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF7D7908", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:2, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef7d7909", + "DevicePID" : 295, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 4d 4e 50 58 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + }, + { + "Drive Information" : { + "EID:Slt" : "306:3", + "PID" : 296, + "State" : "Conf", + "Status" : "Online", + "DG" : 3, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 296, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 41, + "Serial Number" : "WP00PYG60000E2423C4V", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF71BECC", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:3, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef71becd", + "DevicePID" : 296, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 50 59 47 36 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + }, + { + "Drive Information" : { + "EID:Slt" : "306:4", + "PID" : 297, + "State" : "Conf", + "Status" : "Online", + "DG" : 4, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 297, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 40, + "Serial Number" : "WWY06PXX0000E2415HDD", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF3E023C", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:4, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef3e023d", + "DevicePID" : 297, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 57 59 30 36 50 58 58 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + }, + { + "Drive Information" : { + "EID:Slt" : "306:5", + "PID" : 298, + "State" : "Conf", + "Status" : "Online", + "DG" : 5, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 298, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 44, + "Serial Number" : "WWY098M60000E24125CV", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF2F067C", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:5, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef2f067d", + "DevicePID" : 298, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 57 59 30 39 38 4d 36 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + }, + { + "Drive Information" : { + "EID:Slt" : "306:6", + "PID" : 299, + "State" : "Conf", + "Status" : "Online", + "DG" : 6, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 299, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 45, + "Serial Number" : "WP00PXQ70000E242438M", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF71FDC0", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:6, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef71fdc1", + "DevicePID" : 299, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 50 58 51 37 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + }, + { + "Drive Information" : { + "EID:Slt" : "306:7", + "PID" : 300, + "State" : "Conf", + "Status" : "Online", + "DG" : 7, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 300, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 40, + "Serial Number" : "WP00PXYC0000E24240U6", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF71ECCC", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:7, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef71eccd", + "DevicePID" : 300, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 50 58 59 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + }, + { + "Drive Information" : { + "EID:Slt" : "306:8", + "PID" : 301, + "State" : "Conf", + "Status" : "Online", + "DG" : 8, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 301, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 40, + "Serial Number" : "WWY012N70000E2415YWJ", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF3DFA38", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:8, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef3dfa39", + "DevicePID" : 301, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 57 59 30 31 32 4e 37 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + }, + { + "Drive Information" : { + "EID:Slt" : "306:9", + "PID" : 302, + "State" : "Conf", + "Status" : "Online", + "DG" : 9, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 302, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 43, + "Serial Number" : "WP00PXM80000E2424437", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF72029C", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:9, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef72029d", + "DevicePID" : 302, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 50 58 4d 38 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + }, + { + "Drive Information" : { + "EID:Slt" : "306:10", + "PID" : 303, + "State" : "Conf", + "Status" : "Online", + "DG" : 10, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 303, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 45, + "Serial Number" : "WP00PXPC0000E2423BDE", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF720568", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:10, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef720569", + "DevicePID" : 303, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 50 58 50 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + }, + { + "Drive Information" : { + "EID:Slt" : "306:11", + "PID" : 304, + "State" : "Conf", + "Status" : "Online", + "DG" : 11, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 304, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 40, + "Serial Number" : "WP00PYK40000E2423C4E", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF71C014", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:11, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef71c015", + "DevicePID" : 304, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 50 59 4b 34 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + }, + { + "Drive Information" : { + "EID:Slt" : "320:0", + "PID" : 307, + "State" : "Conf", + "Status" : "Online", + "DG" : 12, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 307, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 41, + "Serial Number" : "WP00PYMY0000E24244RB", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF71C7E8", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:12, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef71c7e9", + "DevicePID" : 307, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 50 59 4d 59 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + }, + { + "Drive Information" : { + "EID:Slt" : "320:1", + "PID" : 308, + "State" : "Conf", + "Status" : "Online", + "DG" : 13, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 308, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 46, + "Serial Number" : "WP00MNKY0000E2424HB4", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF7D7D14", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:13, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef7d7d15", + "DevicePID" : 308, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 4d 4e 4b 59 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + }, + { + "Drive Information" : { + "EID:Slt" : "320:2", + "PID" : 309, + "State" : "Conf", + "Status" : "Online", + "DG" : 14, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 309, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 46, + "Serial Number" : "WP00PXHT0000E242442B", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF720900", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:14, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef720901", + "DevicePID" : 309, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 50 58 48 54 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + }, + { + "Drive Information" : { + "EID:Slt" : "320:3", + "PID" : 310, + "State" : "Conf", + "Status" : "Online", + "DG" : 15, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 310, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 41, + "Serial Number" : "WP00MLKP0000E2426F8Q", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF7DDF74", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:15, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef7ddf75", + "DevicePID" : 310, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 4d 4c 4b 50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + }, + { + "Drive Information" : { + "EID:Slt" : "320:4", + "PID" : 311, + "State" : "Conf", + "Status" : "Online", + "DG" : 16, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 311, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 39, + "Serial Number" : "WP00PYFT0000E24244EV", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF71BAF8", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:16, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef71baf9", + "DevicePID" : 311, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 50 59 46 54 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + }, + { + "Drive Information" : { + "EID:Slt" : "320:5", + "PID" : 312, + "State" : "Conf", + "Status" : "Online", + "DG" : 17, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 312, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 48, + "Serial Number" : "WP00MNP80000E2424JSK", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF7D7954", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:17, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef7d7955", + "DevicePID" : 312, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 4d 4e 50 38 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + }, + { + "Drive Information" : { + "EID:Slt" : "320:6", + "PID" : 313, + "State" : "Conf", + "Status" : "Online", + "DG" : 18, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 313, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 46, + "Serial Number" : "WP00MNHG0000E2424GXG", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF7D7FE4", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:18, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef7d7fe5", + "DevicePID" : 313, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 4d 4e 48 47 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + }, + { + "Drive Information" : { + "EID:Slt" : "320:7", + "PID" : 314, + "State" : "Conf", + "Status" : "Online", + "DG" : 19, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 314, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 41, + "Serial Number" : "WP00MN7N0000E2424J74", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF7D903C", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:19, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef7d903d", + "DevicePID" : 314, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 4d 4e 37 4e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + }, + { + "Drive Information" : { + "EID:Slt" : "320:8", + "PID" : 315, + "State" : "Conf", + "Status" : "Online", + "DG" : 20, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 315, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 39, + "Serial Number" : "WP00PYBT0000E24242MD", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF71CFCC", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:20, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef71cfcd", + "DevicePID" : 315, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 50 59 42 54 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + }, + { + "Drive Information" : { + "EID:Slt" : "320:9", + "PID" : 316, + "State" : "Conf", + "Status" : "Online", + "DG" : 21, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 316, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 46, + "Serial Number" : "WP00PY4T0000E2423EGQ", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF71DD34", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:21, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef71dd35", + "DevicePID" : 316, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 50 59 34 54 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + }, + { + "Drive Information" : { + "EID:Slt" : "320:10", + "PID" : 317, + "State" : "Conf", + "Status" : "Online", + "DG" : 22, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 317, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 45, + "Serial Number" : "WP00MNMZ0000E2424H9R", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF7D7AE4", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:22, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef7d7ae5", + "DevicePID" : 317, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 4d 4e 4d 5a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + }, + { + "Drive Information" : { + "EID:Slt" : "320:11", + "PID" : 318, + "State" : "Conf", + "Status" : "Online", + "DG" : 23, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 318, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 41, + "Serial Number" : "WP00MNP00000E2424KFH", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF7D7988", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:23, Span:0, Row:0", + "Sequence Number" : 6, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef7d7989", + "DevicePID" : 318, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 4d 4e 50 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s0.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s0.json new file mode 100644 index 0000000..ad35317 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s0.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "306:0", + "PID" : 293, + "State" : "Conf", + "Status" : "Online", + "DG" : 0, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 293, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 40, + "Serial Number" : "WP00MLCA0000E2426EZU", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF7DE7D4", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:0, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef7de7d5", + "DevicePID" : 293, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 4d 4c 43 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s1.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s1.json new file mode 100644 index 0000000..c0f0b5d --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s1.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "306:1", + "PID" : 294, + "State" : "Conf", + "Status" : "Online", + "DG" : 1, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 294, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 43, + "Serial Number" : "WWY08M9N0000E2415H2H", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF30DE9C", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:1, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef30de9d", + "DevicePID" : 294, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 57 59 30 38 4d 39 4e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s10.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s10.json new file mode 100644 index 0000000..2ebb12a --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s10.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "306:10", + "PID" : 303, + "State" : "Conf", + "Status" : "Online", + "DG" : 10, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 303, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 45, + "Serial Number" : "WP00PXPC0000E2423BDE", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF720568", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:10, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef720569", + "DevicePID" : 303, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 50 58 50 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s11.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s11.json new file mode 100644 index 0000000..b142ea8 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s11.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "306:11", + "PID" : 304, + "State" : "Conf", + "Status" : "Online", + "DG" : 11, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 304, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 40, + "Serial Number" : "WP00PYK40000E2423C4E", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF71C014", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:11, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef71c015", + "DevicePID" : 304, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 50 59 4b 34 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s2.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s2.json new file mode 100644 index 0000000..1ed75ce --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s2.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "306:2", + "PID" : 295, + "State" : "Conf", + "Status" : "Online", + "DG" : 2, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 295, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 45, + "Serial Number" : "WP00MNPX0000E2424KEX", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF7D7908", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:2, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef7d7909", + "DevicePID" : 295, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 4d 4e 50 58 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s3.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s3.json new file mode 100644 index 0000000..8598af9 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s3.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "306:3", + "PID" : 296, + "State" : "Conf", + "Status" : "Online", + "DG" : 3, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 296, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 41, + "Serial Number" : "WP00PYG60000E2423C4V", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF71BECC", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:3, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef71becd", + "DevicePID" : 296, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 50 59 47 36 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s4.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s4.json new file mode 100644 index 0000000..a049e8a --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s4.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "306:4", + "PID" : 297, + "State" : "Conf", + "Status" : "Online", + "DG" : 4, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 297, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 40, + "Serial Number" : "WWY06PXX0000E2415HDD", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF3E023C", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:4, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef3e023d", + "DevicePID" : 297, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 57 59 30 36 50 58 58 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s5.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s5.json new file mode 100644 index 0000000..9be8559 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s5.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "306:5", + "PID" : 298, + "State" : "Conf", + "Status" : "Online", + "DG" : 5, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 298, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 44, + "Serial Number" : "WWY098M60000E24125CV", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF2F067C", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:5, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef2f067d", + "DevicePID" : 298, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 57 59 30 39 38 4d 36 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s6.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s6.json new file mode 100644 index 0000000..33c3795 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s6.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "306:6", + "PID" : 299, + "State" : "Conf", + "Status" : "Online", + "DG" : 6, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 299, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 45, + "Serial Number" : "WP00PXQ70000E242438M", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF71FDC0", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:6, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef71fdc1", + "DevicePID" : 299, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 50 58 51 37 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s7.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s7.json new file mode 100644 index 0000000..ec78c51 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s7.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "306:7", + "PID" : 300, + "State" : "Conf", + "Status" : "Online", + "DG" : 7, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 300, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 40, + "Serial Number" : "WP00PXYC0000E24240U6", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF71ECCC", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:7, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef71eccd", + "DevicePID" : 300, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 50 58 59 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s8.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s8.json new file mode 100644 index 0000000..b9d907d --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s8.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "306:8", + "PID" : 301, + "State" : "Conf", + "Status" : "Online", + "DG" : 8, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 301, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 40, + "Serial Number" : "WWY012N70000E2415YWJ", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF3DFA38", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:8, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef3dfa39", + "DevicePID" : 301, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 57 59 30 31 32 4e 37 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s9.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s9.json new file mode 100644 index 0000000..07caa8f --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s9.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "306:9", + "PID" : 302, + "State" : "Conf", + "Status" : "Online", + "DG" : 9, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 302, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 43, + "Serial Number" : "WP00PXM80000E2424437", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF72029C", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:9, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef72029d", + "DevicePID" : 302, + "Path" : "Primary", + "ConnectorIndex" : 1, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 1, + "Name" : "C0.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 1, + "Name" : "C0.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 50 58 4d 38 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s99_invalid.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s99_invalid.json new file mode 100644 index 0000000..2e474a1 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e306s99_invalid.json @@ -0,0 +1,24 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Failure", + "Description" : "No PD found.", + "Detailed Status" : [ + { + "EID:Slt" : "306:99", + "PID" : "-", + "Status" : "Failure", + "ErrType" : "CLI", + "ErrCd" : 255, + "ErrMsg" : "Drive not found" + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s0.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s0.json new file mode 100644 index 0000000..f015314 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s0.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "320:0", + "PID" : 307, + "State" : "Conf", + "Status" : "Online", + "DG" : 12, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 307, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 41, + "Serial Number" : "WP00PYMY0000E24244RB", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF71C7E8", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:12, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef71c7e9", + "DevicePID" : 307, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 50 59 4d 59 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s1.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s1.json new file mode 100644 index 0000000..0f5e354 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s1.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "320:1", + "PID" : 308, + "State" : "Conf", + "Status" : "Online", + "DG" : 13, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 308, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 46, + "Serial Number" : "WP00MNKY0000E2424HB4", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF7D7D14", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:13, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef7d7d15", + "DevicePID" : 308, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 4d 4e 4b 59 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s10.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s10.json new file mode 100644 index 0000000..e387454 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s10.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "320:10", + "PID" : 317, + "State" : "Conf", + "Status" : "Online", + "DG" : 22, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 317, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 45, + "Serial Number" : "WP00MNMZ0000E2424H9R", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF7D7AE4", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:22, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef7d7ae5", + "DevicePID" : 317, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 4d 4e 4d 5a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s11.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s11.json new file mode 100644 index 0000000..e8f673a --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s11.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "320:11", + "PID" : 318, + "State" : "Conf", + "Status" : "Online", + "DG" : 23, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 318, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 41, + "Serial Number" : "WP00MNP00000E2424KFH", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF7D7988", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:23, Span:0, Row:0", + "Sequence Number" : 6, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef7d7989", + "DevicePID" : 318, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 4d 4e 50 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s11_UGood.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s11_UGood.json new file mode 100644 index 0000000..df7707a --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s11_UGood.json @@ -0,0 +1,130 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "320:11", + "PID" : 318, + "State" : "UConf", + "Status" : "Good", + "DG" : "-", + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 318, + "LUN/NSID" : "0/-", + "Status" : "Good", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 41, + "Serial Number" : "WP00MNP00000E2424KFH", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF7D7988", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Sequence Number" : 7, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Supported Erase Types" : "Sanitize Overwrite", + "Aue Supported Erase Types" : "Sanitize Overwrite", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef7d7989", + "DevicePID" : 318, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 4d 4e 50 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s2.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s2.json new file mode 100644 index 0000000..1a00a99 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s2.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "320:2", + "PID" : 309, + "State" : "Conf", + "Status" : "Online", + "DG" : 14, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 309, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 46, + "Serial Number" : "WP00PXHT0000E242442B", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF720900", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:14, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef720901", + "DevicePID" : 309, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 50 58 48 54 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s3.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s3.json new file mode 100644 index 0000000..232bc53 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s3.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "320:3", + "PID" : 310, + "State" : "Conf", + "Status" : "Online", + "DG" : 15, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 310, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 41, + "Serial Number" : "WP00MLKP0000E2426F8Q", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF7DDF74", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:15, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef7ddf75", + "DevicePID" : 310, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 4d 4c 4b 50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s4.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s4.json new file mode 100644 index 0000000..5a63171 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s4.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "320:4", + "PID" : 311, + "State" : "Conf", + "Status" : "Online", + "DG" : 16, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 311, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 39, + "Serial Number" : "WP00PYFT0000E24244EV", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF71BAF8", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:16, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef71baf9", + "DevicePID" : 311, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 50 59 46 54 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s5.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s5.json new file mode 100644 index 0000000..7d33467 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s5.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "320:5", + "PID" : 312, + "State" : "Conf", + "Status" : "Online", + "DG" : 17, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 312, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 48, + "Serial Number" : "WP00MNP80000E2424JSK", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF7D7954", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:17, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef7d7955", + "DevicePID" : 312, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 4d 4e 50 38 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s6.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s6.json new file mode 100644 index 0000000..aa43af5 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s6.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "320:6", + "PID" : 313, + "State" : "Conf", + "Status" : "Online", + "DG" : 18, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 313, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 46, + "Serial Number" : "WP00MNHG0000E2424GXG", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF7D7FE4", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:18, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef7d7fe5", + "DevicePID" : 313, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 4d 4e 48 47 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s7.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s7.json new file mode 100644 index 0000000..3fec570 --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s7.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "320:7", + "PID" : 314, + "State" : "Conf", + "Status" : "Online", + "DG" : 19, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 314, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 41, + "Serial Number" : "WP00MN7N0000E2424J74", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF7D903C", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:19, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef7d903d", + "DevicePID" : 314, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 4d 4e 37 4e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s8.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s8.json new file mode 100644 index 0000000..65f026a --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s8.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "320:8", + "PID" : 315, + "State" : "Conf", + "Status" : "Online", + "DG" : 20, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 315, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 39, + "Serial Number" : "WP00PYBT0000E24242MD", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF71CFCC", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:20, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef71cfcd", + "DevicePID" : 315, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 50 59 42 54 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} + diff --git a/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s9.json b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s9.json new file mode 100644 index 0000000..3dfe2ba --- /dev/null +++ b/pkg/implementation/raidcontroller/megaraid/testdata/physicaldrives/show/storcli2/e320s9.json @@ -0,0 +1,129 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0005.0000.0010 Feb 22, 2023", + "Operating system" : "Linux4.18.0-553.115.1.el8_10.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drives List" : [ + { + "Drive Information" : { + "EID:Slt" : "320:9", + "PID" : 316, + "State" : "Conf", + "Status" : "Online", + "DG" : 21, + "Size" : "9.094 TiB", + "Intf" : "SAS", + "Med" : "HDD", + "SED_Type" : "-", + "SeSz" : "512B", + "Model" : "ST10000NM018B ", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + "LU/NS Information" : [ + { + "PID" : 316, + "LUN/NSID" : "0/-", + "Status" : "Online", + "Size" : "9.094 TiB" + } + ], + "Drive Detailed Information" : { + "Shield Counter" : 0, + "Temperature(C)" : 46, + "Serial Number" : "WP00PY4T0000E2423EGQ", + "Vendor" : "SEAGATE ", + "Model" : "ST10000NM018B ", + "WWN" : "5000C500EF71DD34", + "Firmware Revision Level" : "E001", + "Firmware Release Number" : "01110618", + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "Capable Speed" : "12.0Gb/s", + "Capable Link Width" : "x1", + "Negotiated Link Width" : "x1", + "Drive position" : "DriveGroup:21, Span:0, Row:0", + "Sequence Number" : 2, + "Commissioned Spare" : "No", + "Emergency Spare" : "No", + "Successful Shield Diagnostics completed on(Localtime yyyy/mm/dd hh:mm:sec)" : "NA", + "SED Capable" : "No", + "ISE Capable" : "No", + "Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Unmap Capable for RAID 0 VDs" : "No", + "Unmap Capable for RAID 1 VDs" : "No", + "Unmap Capable for RAID 5/6 VDs" : "No", + "Unmap Capable" : "No", + "Writesame Unmap Capable for Single Drive RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 0 VDs" : "No", + "Writesame Unmap Capable for RAID 1 VDs" : "No", + "Writesame Unmap Capable for RAID 5/6 VDs" : "No", + "Writesame Unmap Capable" : "No", + "T10 Power Mode" : "Yes", + "Needs EKM Attention" : "No", + "Secured By EKM" : "No", + "Certified" : "Yes", + "Supported Data Format" : "None", + "Hard Disk Drive RPM" : 7200, + "Device port count" : 1, + "Path Information" : [ + { + "SASAddress" : "0x5000c500ef71dd35", + "DevicePID" : 316, + "Path" : "Primary", + "ConnectorIndex" : 3, + "Negotiated Speed" : "12.0Gb/s", + "Num Phys/Lanes used" : 1 + } + ], + "Connector Information" : [ + { + "ConnId" : 2, + "Name" : "C1.0", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + }, + { + "ConnId" : 2, + "Name" : "C1.1", + "Location" : "Internal", + "Type" : "SFF-8654 8I" + } + ], + "LU/NS Properties" : { + "Media Error Count" : 0, + "Other Error Count" : 0, + "Predictive Failure Count" : 0, + "Last Predictive Failure Event Sequence Number" : 0, + "Logical Sector Size" : "512B", + "Physical Sector Size" : "4 KiB", + "Raw size" : "9.095 TiB [0x48c400000 Sectors]", + "Coerced size" : "9.094 TiB [0x48c300000 Sectors]", + "FW managed drive security" : "No", + "Secured" : "No", + "Locked" : "No", + "PI Formatted" : "No", + "PI type" : 1, + "Number of bytes of user data in LBA" : "512B", + "Current Write Cache" : "Off", + "Default Write Cache" : "On", + "Write Cache Changeable" : "Yes" + }, + "Inquiry Data" : "00 00 07 12 8b 01 10 02 53 45 41 47 41 54 45 20 53 54 31 30 30 30 30 4e 4d 30 31 38 42 20 20 20 45 30 30 31 57 50 30 30 50 59 34 54 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a2 0c 60 20 e0 04 60 04 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 32 31 20 53 65 61 67 61 74 65 20 41 6c 6c 20 " + } + } + ] + } +} +] +} +