From 5be1490e6eee351afb46df6093e3b528c2620cde Mon Sep 17 00:00:00 2001 From: Alex Rodriguez <131964409+ezekiel-alexrod@users.noreply.github.com> Date: Fri, 5 Jun 2026 14:10:20 +0200 Subject: [PATCH] testdata: lay out storcli2 fixtures per component package Place the storcli2 capture under each decomposed component's testdata/storcli2/ directory (controllergetter, physicaldrivegetter, logicalvolumegetter, logicalvolumemanager, blinker), mirroring the ssacli fixture layout. Add tests/testdata-tools/collect_storcli2_testdata.sh: the capture script from PR #46 with its command logic unchanged but its output remapped to this per-component layout, so the result copies straight into pkg/implementation/. A README documents the command-to-file mapping. The megaraid (storcli v1) fixtures are untouched. Three set/migrate fixtures captured as syntax-error text (storcli2 grammar change) are flagged for regeneration. --- CONTRIBUTING.md | 3 + .../blinker/testdata/storcli2/start.json | 14 + .../blinker/testdata/storcli2/stop.json | 14 + .../testdata/storcli2/all.json | 44 + .../testdata/storcli2/c0.json | 2242 ++++++++++++++ .../testdata/storcli2/c0_s12_UGood.json | 2187 ++++++++++++++ .../testdata/storcli2/c5_invalid.json | 13 + .../testdata/storcli2/show/all.json | 1530 ++++++++++ .../testdata/storcli2/show/v1.json | 81 + .../testdata/storcli2/show/v10.json | 81 + .../testdata/storcli2/show/v11.json | 81 + .../testdata/storcli2/show/v12.json | 81 + .../testdata/storcli2/show/v13.json | 81 + .../testdata/storcli2/show/v14.json | 81 + .../testdata/storcli2/show/v15.json | 81 + .../testdata/storcli2/show/v16.json | 81 + .../testdata/storcli2/show/v17.json | 81 + .../testdata/storcli2/show/v18.json | 81 + .../testdata/storcli2/show/v19.json | 81 + .../testdata/storcli2/show/v2.json | 81 + .../testdata/storcli2/show/v20.json | 81 + .../testdata/storcli2/show/v21.json | 81 + .../testdata/storcli2/show/v22.json | 81 + .../testdata/storcli2/show/v23.json | 81 + .../testdata/storcli2/show/v3.json | 81 + .../testdata/storcli2/show/v4.json | 81 + .../testdata/storcli2/show/v5.json | 81 + .../testdata/storcli2/show/v6.json | 81 + .../testdata/storcli2/show/v7.json | 81 + .../testdata/storcli2/show/v8.json | 81 + .../testdata/storcli2/show/v9.json | 81 + .../testdata/storcli2/show/v999_invalid.json | 26 + .../storcli2/cacheoptions/success.json | 5 + .../cacheoptions/success_rdcache.json | 25 + .../cacheoptions/success_wrcache.json | 25 + .../testdata/storcli2/create/fail.json | 14 + .../testdata/storcli2/create/success.json | 26 + .../storcli2/delete/fail_invalid.json | 23 + .../storcli2/delete/fail_vdNotExist.json | 23 + .../testdata/storcli2/delete/success.json | 14 + .../testdata/storcli2/migrate/fail.json | 5 + .../testdata/storcli2/jbod/disable/fail.json | 5 + .../testdata/storcli2/jbod/enable/fail.json | 24 + .../testdata/storcli2/show/all.json | 2682 +++++++++++++++++ .../testdata/storcli2/show/e306s0.json | 129 + .../testdata/storcli2/show/e306s1.json | 129 + .../testdata/storcli2/show/e306s10.json | 129 + .../testdata/storcli2/show/e306s11.json | 129 + .../testdata/storcli2/show/e306s2.json | 129 + .../testdata/storcli2/show/e306s3.json | 129 + .../testdata/storcli2/show/e306s4.json | 129 + .../testdata/storcli2/show/e306s5.json | 129 + .../testdata/storcli2/show/e306s6.json | 129 + .../testdata/storcli2/show/e306s7.json | 129 + .../testdata/storcli2/show/e306s8.json | 129 + .../testdata/storcli2/show/e306s9.json | 129 + .../storcli2/show/e306s99_invalid.json | 24 + .../testdata/storcli2/show/e320s0.json | 129 + .../testdata/storcli2/show/e320s1.json | 129 + .../testdata/storcli2/show/e320s10.json | 129 + .../testdata/storcli2/show/e320s11.json | 129 + .../testdata/storcli2/show/e320s11_UGood.json | 130 + .../testdata/storcli2/show/e320s2.json | 129 + .../testdata/storcli2/show/e320s3.json | 129 + .../testdata/storcli2/show/e320s4.json | 129 + .../testdata/storcli2/show/e320s5.json | 129 + .../testdata/storcli2/show/e320s6.json | 129 + .../testdata/storcli2/show/e320s7.json | 129 + .../testdata/storcli2/show/e320s8.json | 129 + .../testdata/storcli2/show/e320s9.json | 129 + tests/testdata-tools/README.md | 72 + .../collect_storcli2_testdata.sh | 706 +++++ 72 files changed, 14835 insertions(+) create mode 100644 pkg/implementation/blinker/testdata/storcli2/start.json create mode 100644 pkg/implementation/blinker/testdata/storcli2/stop.json create mode 100644 pkg/implementation/controllergetter/testdata/storcli2/all.json create mode 100644 pkg/implementation/controllergetter/testdata/storcli2/c0.json create mode 100644 pkg/implementation/controllergetter/testdata/storcli2/c0_s12_UGood.json create mode 100644 pkg/implementation/controllergetter/testdata/storcli2/c5_invalid.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/all.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v1.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v10.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v11.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v12.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v13.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v14.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v15.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v16.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v17.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v18.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v19.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v2.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v20.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v21.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v22.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v23.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v3.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v4.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v5.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v6.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v7.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v8.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v9.json create mode 100644 pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v999_invalid.json create mode 100644 pkg/implementation/logicalvolumemanager/testdata/storcli2/cacheoptions/success.json create mode 100644 pkg/implementation/logicalvolumemanager/testdata/storcli2/cacheoptions/success_rdcache.json create mode 100644 pkg/implementation/logicalvolumemanager/testdata/storcli2/cacheoptions/success_wrcache.json create mode 100644 pkg/implementation/logicalvolumemanager/testdata/storcli2/create/fail.json create mode 100644 pkg/implementation/logicalvolumemanager/testdata/storcli2/create/success.json create mode 100644 pkg/implementation/logicalvolumemanager/testdata/storcli2/delete/fail_invalid.json create mode 100644 pkg/implementation/logicalvolumemanager/testdata/storcli2/delete/fail_vdNotExist.json create mode 100644 pkg/implementation/logicalvolumemanager/testdata/storcli2/delete/success.json create mode 100644 pkg/implementation/logicalvolumemanager/testdata/storcli2/migrate/fail.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/jbod/disable/fail.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/jbod/enable/fail.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/all.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s0.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s1.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s10.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s11.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s2.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s3.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s4.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s5.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s6.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s7.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s8.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s9.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s99_invalid.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s0.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s1.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s10.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s11.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s11_UGood.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s2.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s3.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s4.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s5.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s6.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s7.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s8.json create mode 100644 pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s9.json create mode 100644 tests/testdata-tools/README.md create mode 100755 tests/testdata-tools/collect_storcli2_testdata.sh diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cdd4055..6f42de1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -31,6 +31,9 @@ toward the shared goals of the project. - Tests should go in `_test.go` files alongside the code they test. - Use testdata fixtures for CLI output parsing tests (see `pkg/implementation/raidcontroller/megaraid/testdata/` for examples). +- For storcli2 / perccli2 fixtures, capture them with the helper script in + `tests/testdata-tools/` and copy the result into each component package's + `testdata/storcli2/` directory (see `tests/testdata-tools/README.md`). - Run the full test suite with `make tests` and ensure all tests pass. - Run `make lint` to verify your code passes all linter checks. diff --git a/pkg/implementation/blinker/testdata/storcli2/start.json b/pkg/implementation/blinker/testdata/storcli2/start.json new file mode 100644 index 0000000..caa7954 --- /dev/null +++ b/pkg/implementation/blinker/testdata/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/blinker/testdata/storcli2/stop.json b/pkg/implementation/blinker/testdata/storcli2/stop.json new file mode 100644 index 0000000..98e78ec --- /dev/null +++ b/pkg/implementation/blinker/testdata/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/controllergetter/testdata/storcli2/all.json b/pkg/implementation/controllergetter/testdata/storcli2/all.json new file mode 100644 index 0000000..9d4545b --- /dev/null +++ b/pkg/implementation/controllergetter/testdata/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/controllergetter/testdata/storcli2/c0.json b/pkg/implementation/controllergetter/testdata/storcli2/c0.json new file mode 100644 index 0000000..5d0b903 --- /dev/null +++ b/pkg/implementation/controllergetter/testdata/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/controllergetter/testdata/storcli2/c0_s12_UGood.json b/pkg/implementation/controllergetter/testdata/storcli2/c0_s12_UGood.json new file mode 100644 index 0000000..51513ea --- /dev/null +++ b/pkg/implementation/controllergetter/testdata/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/controllergetter/testdata/storcli2/c5_invalid.json b/pkg/implementation/controllergetter/testdata/storcli2/c5_invalid.json new file mode 100644 index 0000000..f79a455 --- /dev/null +++ b/pkg/implementation/controllergetter/testdata/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/logicalvolumegetter/testdata/storcli2/show/all.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/all.json new file mode 100644 index 0000000..de0738f --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v1.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v1.json new file mode 100644 index 0000000..370fe6c --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v10.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v10.json new file mode 100644 index 0000000..e1e15f8 --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v11.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v11.json new file mode 100644 index 0000000..8571035 --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v12.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v12.json new file mode 100644 index 0000000..a4b3a73 --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v13.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v13.json new file mode 100644 index 0000000..f81ad5e --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v14.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v14.json new file mode 100644 index 0000000..ac5f8f0 --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v15.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v15.json new file mode 100644 index 0000000..d1309c3 --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v16.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v16.json new file mode 100644 index 0000000..6a098c8 --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v17.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v17.json new file mode 100644 index 0000000..56fdd39 --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v18.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v18.json new file mode 100644 index 0000000..7f14e57 --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v19.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v19.json new file mode 100644 index 0000000..ca1d172 --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v2.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v2.json new file mode 100644 index 0000000..92f53bf --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v20.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v20.json new file mode 100644 index 0000000..d996a60 --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v21.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v21.json new file mode 100644 index 0000000..ff984d5 --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v22.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v22.json new file mode 100644 index 0000000..e5f9489 --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v23.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v23.json new file mode 100644 index 0000000..2dd5c66 --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v3.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v3.json new file mode 100644 index 0000000..9725fab --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v4.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v4.json new file mode 100644 index 0000000..509729b --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v5.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v5.json new file mode 100644 index 0000000..8461978 --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v6.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v6.json new file mode 100644 index 0000000..255a560 --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v7.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v7.json new file mode 100644 index 0000000..33d48be --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v8.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v8.json new file mode 100644 index 0000000..e52ca4a --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v9.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v9.json new file mode 100644 index 0000000..a317260 --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumegetter/testdata/storcli2/show/v999_invalid.json b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/v999_invalid.json new file mode 100644 index 0000000..3e97eec --- /dev/null +++ b/pkg/implementation/logicalvolumegetter/testdata/storcli2/show/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/logicalvolumemanager/testdata/storcli2/cacheoptions/success.json b/pkg/implementation/logicalvolumemanager/testdata/storcli2/cacheoptions/success.json new file mode 100644 index 0000000..f968c8f --- /dev/null +++ b/pkg/implementation/logicalvolumemanager/testdata/storcli2/cacheoptions/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/logicalvolumemanager/testdata/storcli2/cacheoptions/success_rdcache.json b/pkg/implementation/logicalvolumemanager/testdata/storcli2/cacheoptions/success_rdcache.json new file mode 100644 index 0000000..e62e970 --- /dev/null +++ b/pkg/implementation/logicalvolumemanager/testdata/storcli2/cacheoptions/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/logicalvolumemanager/testdata/storcli2/cacheoptions/success_wrcache.json b/pkg/implementation/logicalvolumemanager/testdata/storcli2/cacheoptions/success_wrcache.json new file mode 100644 index 0000000..d1ded1b --- /dev/null +++ b/pkg/implementation/logicalvolumemanager/testdata/storcli2/cacheoptions/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/logicalvolumemanager/testdata/storcli2/create/fail.json b/pkg/implementation/logicalvolumemanager/testdata/storcli2/create/fail.json new file mode 100644 index 0000000..b684656 --- /dev/null +++ b/pkg/implementation/logicalvolumemanager/testdata/storcli2/create/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/logicalvolumemanager/testdata/storcli2/create/success.json b/pkg/implementation/logicalvolumemanager/testdata/storcli2/create/success.json new file mode 100644 index 0000000..84b15a3 --- /dev/null +++ b/pkg/implementation/logicalvolumemanager/testdata/storcli2/create/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/logicalvolumemanager/testdata/storcli2/delete/fail_invalid.json b/pkg/implementation/logicalvolumemanager/testdata/storcli2/delete/fail_invalid.json new file mode 100644 index 0000000..9504a69 --- /dev/null +++ b/pkg/implementation/logicalvolumemanager/testdata/storcli2/delete/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/logicalvolumemanager/testdata/storcli2/delete/fail_vdNotExist.json b/pkg/implementation/logicalvolumemanager/testdata/storcli2/delete/fail_vdNotExist.json new file mode 100644 index 0000000..106442b --- /dev/null +++ b/pkg/implementation/logicalvolumemanager/testdata/storcli2/delete/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/logicalvolumemanager/testdata/storcli2/delete/success.json b/pkg/implementation/logicalvolumemanager/testdata/storcli2/delete/success.json new file mode 100644 index 0000000..e2cb32e --- /dev/null +++ b/pkg/implementation/logicalvolumemanager/testdata/storcli2/delete/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/logicalvolumemanager/testdata/storcli2/migrate/fail.json b/pkg/implementation/logicalvolumemanager/testdata/storcli2/migrate/fail.json new file mode 100644 index 0000000..ffa24c5 --- /dev/null +++ b/pkg/implementation/logicalvolumemanager/testdata/storcli2/migrate/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/physicaldrivegetter/testdata/storcli2/jbod/disable/fail.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/jbod/disable/fail.json new file mode 100644 index 0000000..3379b78 --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/jbod/disable/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/physicaldrivegetter/testdata/storcli2/jbod/enable/fail.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/jbod/enable/fail.json new file mode 100644 index 0000000..ea38ed5 --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/jbod/enable/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/physicaldrivegetter/testdata/storcli2/show/all.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/all.json new file mode 100644 index 0000000..f6ec405 --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e306s0.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s0.json new file mode 100644 index 0000000..ad35317 --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e306s1.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s1.json new file mode 100644 index 0000000..c0f0b5d --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e306s10.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s10.json new file mode 100644 index 0000000..2ebb12a --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e306s11.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s11.json new file mode 100644 index 0000000..b142ea8 --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e306s2.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s2.json new file mode 100644 index 0000000..1ed75ce --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e306s3.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s3.json new file mode 100644 index 0000000..8598af9 --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e306s4.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s4.json new file mode 100644 index 0000000..a049e8a --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e306s5.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s5.json new file mode 100644 index 0000000..9be8559 --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e306s6.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s6.json new file mode 100644 index 0000000..33c3795 --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e306s7.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s7.json new file mode 100644 index 0000000..ec78c51 --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e306s8.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s8.json new file mode 100644 index 0000000..b9d907d --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e306s9.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s9.json new file mode 100644 index 0000000..07caa8f --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e306s99_invalid.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e306s99_invalid.json new file mode 100644 index 0000000..2e474a1 --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e320s0.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s0.json new file mode 100644 index 0000000..f015314 --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e320s1.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s1.json new file mode 100644 index 0000000..0f5e354 --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e320s10.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s10.json new file mode 100644 index 0000000..e387454 --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e320s11.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s11.json new file mode 100644 index 0000000..e8f673a --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e320s11_UGood.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s11_UGood.json new file mode 100644 index 0000000..df7707a --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e320s2.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s2.json new file mode 100644 index 0000000..1a00a99 --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e320s3.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s3.json new file mode 100644 index 0000000..232bc53 --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e320s4.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s4.json new file mode 100644 index 0000000..5a63171 --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e320s5.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s5.json new file mode 100644 index 0000000..7d33467 --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e320s6.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s6.json new file mode 100644 index 0000000..aa43af5 --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e320s7.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s7.json new file mode 100644 index 0000000..3fec570 --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e320s8.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s8.json new file mode 100644 index 0000000..65f026a --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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/physicaldrivegetter/testdata/storcli2/show/e320s9.json b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/e320s9.json new file mode 100644 index 0000000..3dfe2ba --- /dev/null +++ b/pkg/implementation/physicaldrivegetter/testdata/storcli2/show/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 " + } + } + ] + } +} +] +} + diff --git a/tests/testdata-tools/README.md b/tests/testdata-tools/README.md new file mode 100644 index 0000000..c450f5c --- /dev/null +++ b/tests/testdata-tools/README.md @@ -0,0 +1,72 @@ +# storcli2 / perccli2 testdata tooling + +This directory holds the helper script used to capture JSON fixtures from the +second-generation MegaRAID CLI (`storcli2` / `perccli2`). The captured fixtures +back the unit tests of the decomposed storcli2 adapter components. + +## collect_storcli2_testdata.sh + +`collect_storcli2_testdata.sh` runs a series of `storcli2` commands on a host +that has a MegaRAID controller and stores their JSON output as fixture files. + +It is adapted from the original capture script (PR #46): the command logic is +unchanged, but the output is written directly into the decomposed +**per-component** layout this repository uses, so the result can be copied back +verbatim. The output tree mirrors `pkg/implementation//testdata/storcli2/`. + +Usage: + +1. Copy the script to a server with `storcli2` installed. +2. Edit the configuration block at the top (binary path, controller index, + enclosure IDs, slots, virtual-drive IDs, invalid IDs). +3. Run it as root: `sudo bash collect_storcli2_testdata.sh`. + - SAFE mode (default) collects read-only `show` outputs only. + - Set `DESTRUCTIVE=true` to also collect create / delete / migrate / cache / + JBOD outputs (these modify the array or a drive LED — use a scratch host). +4. Copy the generated tree back into the repository: + `cp -r ./storcli2_testdata_output/* pkg/implementation/` + +## Fixture layout + +The script writes each fixture under its owning component package's +`testdata/storcli2/` directory: + +| Package | Path | storcli2 command | Mode | +|---|---|---|---| +| `controllergetter` | `testdata/storcli2/all.json` | `show all` | safe | +| `controllergetter` | `testdata/storcli2/c0.json` | `/c0 show all` | safe | +| `controllergetter` | `testdata/storcli2/c5_invalid.json` | `/c5 show all` (controller not found) | safe | +| `controllergetter` | `testdata/storcli2/c0_s12_UGood.json` | `/c0 show all` (a drive in UGood state) | destructive | +| `physicaldrivegetter` | `testdata/storcli2/show/all.json` | `/c0/eall/sall show all` | safe | +| `physicaldrivegetter` | `testdata/storcli2/show/e3{06,20}sN.json` | `/c0/e3XX/sN show all` | safe | +| `physicaldrivegetter` | `testdata/storcli2/show/e306s99_invalid.json` | drive not found | safe | +| `physicaldrivegetter` | `testdata/storcli2/show/e320s11_UGood.json` | drive in unconfigured-good state | destructive | +| `physicaldrivegetter` | `testdata/storcli2/jbod/{enable,disable}/fail.json` | `set jbod` / `delete jbod` | destructive | +| `logicalvolumegetter` | `testdata/storcli2/show/all.json` | `/c0/vall show all` | safe | +| `logicalvolumegetter` | `testdata/storcli2/show/vN.json` | `/c0/vN show all` | safe | +| `logicalvolumegetter` | `testdata/storcli2/show/v999_invalid.json` | VD not found | safe | +| `logicalvolumemanager` | `testdata/storcli2/create/{success,fail}.json` | `add vd ...` | destructive | +| `logicalvolumemanager` | `testdata/storcli2/delete/{success,fail_invalid,fail_vdNotExist}.json` | `delete` | destructive / safe | +| `logicalvolumemanager` | `testdata/storcli2/migrate/fail.json` | `start migrate ...` | destructive | +| `logicalvolumemanager` | `testdata/storcli2/cacheoptions/success*.json` | `set rdcache/wrcache` | destructive | +| `blinker` | `testdata/storcli2/{start,stop}.json` | `start locate` / `stop locate` | destructive | + +The envelope / decoder unit tests in `pkg/implementation/storcli2` keep their own +curated copies under that package's `testdata/` directory. + +## Known issues with the captured data + +The following fixtures were captured as plain-text syntax errors rather than +JSON, because `storcli2` changed the CLI grammar for these commands relative to +storcli v1 (the script still uses the v1 syntax): + +- `logicalvolumemanager/testdata/storcli2/cacheoptions/success.json` + (`unexpected TOKEN_WRITE_CACHE`) +- `logicalvolumemanager/testdata/storcli2/migrate/fail.json` + (`unexpected TOKEN_MIGRATE`) +- `physicaldrivegetter/testdata/storcli2/jbod/disable/fail.json` + (`unexpected TOKEN_JBOD`) + +These must be regenerated with the correct storcli2 syntax when the +corresponding manager / JBOD-setter components are implemented. Until then they +are not valid runner inputs. diff --git a/tests/testdata-tools/collect_storcli2_testdata.sh b/tests/testdata-tools/collect_storcli2_testdata.sh new file mode 100755 index 0000000..e074327 --- /dev/null +++ b/tests/testdata-tools/collect_storcli2_testdata.sh @@ -0,0 +1,706 @@ +#!/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 back into the repository's pkg/implementation/ (the +# output mirrors each component package's testdata/storcli2 layout) +# +# 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}/controllergetter/testdata/storcli2" +mkdir -p "${OUTPUT_DIR}/physicaldrivegetter/testdata/storcli2/show" +mkdir -p "${OUTPUT_DIR}/blinker/testdata/storcli2" +mkdir -p "${OUTPUT_DIR}/physicaldrivegetter/testdata/storcli2/jbod/enable" +mkdir -p "${OUTPUT_DIR}/physicaldrivegetter/testdata/storcli2/jbod/disable" +mkdir -p "${OUTPUT_DIR}/logicalvolumegetter/testdata/storcli2/show" +mkdir -p "${OUTPUT_DIR}/logicalvolumemanager/testdata/storcli2/create" +mkdir -p "${OUTPUT_DIR}/logicalvolumemanager/testdata/storcli2/delete" +mkdir -p "${OUTPUT_DIR}/logicalvolumemanager/testdata/storcli2/cacheoptions" +mkdir -p "${OUTPUT_DIR}/logicalvolumemanager/testdata/storcli2/migrate" + +# 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 "" + +# controllergetter/testdata/storcli2/all.json +# Command: storcli2 show all J +# Used by: adapter.showAll() → runner.Run(["show", "all"]) +run_and_save \ + "All controllers overview" \ + "${OUTPUT_DIR}/controllergetter/testdata/storcli2/all.json" \ + show all + +# controllergetter/testdata/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}/controllergetter/testdata/storcli2/c0.json" \ + "${C}" show all + +# controllergetter/testdata/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}/controllergetter/testdata/storcli2/c5_invalid.json" \ + "/c${INVALID_CONTROLLER_INDEX}" show all + +# controllergetter/testdata/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 "" + +# physicaldrivegetter/testdata/storcli2/show/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}/physicaldrivegetter/testdata/storcli2/show/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}/physicaldrivegetter/testdata/storcli2/show/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}/physicaldrivegetter/testdata/storcli2/show/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}/blinker/testdata/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}/blinker/testdata/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}/physicaldrivegetter/testdata/storcli2/jbod/enable/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}/physicaldrivegetter/testdata/storcli2/jbod/disable/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}/logicalvolumegetter/testdata/storcli2/show/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}/logicalvolumegetter/testdata/storcli2/show/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}/logicalvolumegetter/testdata/storcli2/show/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}/logicalvolumemanager/testdata/storcli2/delete/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}/logicalvolumemanager/testdata/storcli2/migrate/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}/logicalvolumemanager/testdata/storcli2/delete/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..." + + # controllergetter/testdata/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}/controllergetter/testdata/storcli2/c0_s12_UGood.json" \ + "${C}" show all + + # physicaldrivegetter/testdata/storcli2/show/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}/physicaldrivegetter/testdata/storcli2/show/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}..." + + # logicalvolumemanager/testdata/storcli2/create/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}/logicalvolumemanager/testdata/storcli2/create/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 --- + # logicalvolumemanager/testdata/storcli2/cacheoptions/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}/logicalvolumemanager/testdata/storcli2/cacheoptions/success_wrcache.json" \ + "${C}/v${NEWEST_VD}" set wrcache=WT + + run_and_save \ + "Set read cache on v${NEWEST_VD}" \ + "${OUTPUT_DIR}/logicalvolumemanager/testdata/storcli2/cacheoptions/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}/logicalvolumemanager/testdata/storcli2/cacheoptions/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) --- + # logicalvolumemanager/testdata/storcli2/create/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}/logicalvolumemanager/testdata/storcli2/create/fail.json" \ + "${C}" add vd raid0 "drives=${FIRST_ENCLOSURE}:${FIRST_SLOT}" + + # --- Step 8: Delete failure cases --- + # logicalvolumemanager/testdata/storcli2/delete/fail_invalid.json + # Command: storcli2 /c0/v299 delete J + run_and_save \ + "Delete invalid VD (expected failure)" \ + "${OUTPUT_DIR}/logicalvolumemanager/testdata/storcli2/delete/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 " - controllergetter/testdata/storcli2/c0_s12_UGood.json (controller with UGood drive)" + echo " - physicaldrivegetter/testdata/storcli2/show/e{EID}s{SLOT}_UGood.json" + echo " - logicalvolumemanager/testdata/storcli2/create/success.json" + echo " - logicalvolumemanager/testdata/storcli2/create/fail.json" + echo " - logicalvolumemanager/testdata/storcli2/delete/success.json" + echo " - logicalvolumemanager/testdata/storcli2/delete/fail_invalid.json" + echo " - logicalvolumemanager/testdata/storcli2/cacheoptions/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}/ into pkg/implementation/." +echo " The output mirrors each component package's testdata/storcli2 layout:" +echo " cp -r ${OUTPUT_DIR}/* pkg/implementation/" +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