-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cciss: add test for cciss_vol_status 1.12(a) output
This adds a test case which contains all changes to cciss_vol_status 1.12 and 1.12a output.
- Loading branch information
Showing
5 changed files
with
157 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cciss_vol_status version 1.12a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Controller: Smart Array P420i | ||
Board ID: 0x3354103c | ||
Logical drives: 1 | ||
Running firmware: 8.32 | ||
ROM firmware: 8.32 | ||
/dev/sda: (Smart Array P420i) RAID 1(1+0) Volume 0 status: OK. | ||
Physical drives: 8 | ||
connector 1I box 1 bay 1 HP EG0900FCVBL S0N2BEHX0000K50648RD HPD9 OK | ||
connector 1I box 1 bay 2 HP EG0900FCVBL S0N2C5810000K50663MY HPD9 OK | ||
connector 1I box 1 bay 3 HP EG0900FCSPN 3410A0IPFTM11409 HPD0 OK | ||
connector 1I box 1 bay 4 HP EG0900FCVBL S0N18Z0Q0000B429BNNF HPD9 OK | ||
connector 2I box 1 bay 5 HP EG0900FCSPN 24R0A0AGFTM11409 HPD0 OK | ||
connector 2I box 1 bay 6 HP EG0900FBVFQ KVK7YKBJ HPDE OK | ||
connector 2I box 1 bay 7 HP EG0900FCVBL S0N25NCW0000M501EUAH HPD9 OK | ||
connector 2I box 1 bay 8 HP EG0900FCSPN 93K0A0HFFTM11338 HPD0 OK | ||
/dev/sg0(Smart Array P420i:0): Non-Volatile Cache status: | ||
Cache configured: Yes | ||
Total cache memory: 816 MiB | ||
Cache Ratio: 10% Read / 90% Write | ||
Read cache memory: 81 MiB | ||
Write cache memory: 735 MiB | ||
Write cache enabled: Yes | ||
Flash backed cache present |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[0:0:0:0] storage HP P420i 8.32 - /dev/sg0 | ||
[0:1:0:0] disk HP LOGICAL VOLUME 8.32 /dev/sda /dev/sg1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
$VAR1 = { | ||
'/dev/sda' => { | ||
'board_name' => 'Smart Array P420i', | ||
'cache' => { | ||
'board' => 'Smart Array P420i', | ||
'cache_ratio' => '10% Read / 90% Write', | ||
'configured' => 'Yes', | ||
'file' => '/dev/sg0', | ||
'flash_cache' => 1, | ||
'instance' => 0, | ||
'read_cache_memory' => '81 MiB', | ||
'total_cache_memory' => '816 MiB', | ||
'write_cache_enabled' => 'Yes', | ||
'write_cache_memory' => '735 MiB' | ||
}, | ||
'drives' => { | ||
'1I-1-1' => { | ||
'bay' => 1, | ||
'box' => 1, | ||
'fw' => 'HPD9', | ||
'model' => 'HP EG0900FCVBL', | ||
'phys1' => '1', | ||
'phys2' => 'I', | ||
'serial' => 'S0N2BEHX0000K50648RD', | ||
'slot' => '1I-1-1', | ||
'status' => 'OK' | ||
}, | ||
'1I-1-2' => { | ||
'bay' => 2, | ||
'box' => 1, | ||
'fw' => 'HPD9', | ||
'model' => 'HP EG0900FCVBL', | ||
'phys1' => '1', | ||
'phys2' => 'I', | ||
'serial' => 'S0N2C5810000K50663MY', | ||
'slot' => '1I-1-2', | ||
'status' => 'OK' | ||
}, | ||
'1I-1-3' => { | ||
'bay' => 3, | ||
'box' => 1, | ||
'fw' => 'HPD0', | ||
'model' => 'HP EG0900FCSPN', | ||
'phys1' => '1', | ||
'phys2' => 'I', | ||
'serial' => '3410A0IPFTM11409', | ||
'slot' => '1I-1-3', | ||
'status' => 'OK' | ||
}, | ||
'1I-1-4' => { | ||
'bay' => 4, | ||
'box' => 1, | ||
'fw' => 'HPD9', | ||
'model' => 'HP EG0900FCVBL', | ||
'phys1' => '1', | ||
'phys2' => 'I', | ||
'serial' => 'S0N18Z0Q0000B429BNNF', | ||
'slot' => '1I-1-4', | ||
'status' => 'OK' | ||
}, | ||
'2I-1-5' => { | ||
'bay' => 5, | ||
'box' => 1, | ||
'fw' => 'HPD0', | ||
'model' => 'HP EG0900FCSPN', | ||
'phys1' => '2', | ||
'phys2' => 'I', | ||
'serial' => '24R0A0AGFTM11409', | ||
'slot' => '2I-1-5', | ||
'status' => 'OK' | ||
}, | ||
'2I-1-6' => { | ||
'bay' => 6, | ||
'box' => 1, | ||
'fw' => 'HPDE', | ||
'model' => 'HP EG0900FBVFQ', | ||
'phys1' => '2', | ||
'phys2' => 'I', | ||
'serial' => 'KVK7YKBJ', | ||
'slot' => '2I-1-6', | ||
'status' => 'OK' | ||
}, | ||
'2I-1-7' => { | ||
'bay' => 7, | ||
'box' => 1, | ||
'fw' => 'HPD9', | ||
'model' => 'HP EG0900FCVBL', | ||
'phys1' => '2', | ||
'phys2' => 'I', | ||
'serial' => 'S0N25NCW0000M501EUAH', | ||
'slot' => '2I-1-7', | ||
'status' => 'OK' | ||
}, | ||
'2I-1-8' => { | ||
'bay' => 8, | ||
'box' => 1, | ||
'fw' => 'HPD0', | ||
'model' => 'HP EG0900FCSPN', | ||
'phys1' => '2', | ||
'phys2' => 'I', | ||
'serial' => '93K0A0HFFTM11338', | ||
'slot' => '2I-1-8', | ||
'status' => 'OK' | ||
} | ||
}, | ||
'pd count' => '8', | ||
'volumes' => { | ||
'0' => { | ||
'board_name' => 'Smart Array P420i', | ||
'certain' => 1, | ||
'raid_level' => 'RAID 1(1+0)', | ||
'spare_drive_status' => '', | ||
'status' => 'OK', | ||
'volume_number' => '0' | ||
} | ||
} | ||
} | ||
}; |