Feature #1694
More RAID drives detection
| Status: | Resolved | Start date: | 06/09/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 100% | |
| Category: | internal | |||
| Target version: | 2.3.0 | |||
| For junior contributor: | No |
Description
Hi,
The following patches will support the following:
Megaraid.pm - for both Linux & FreeBSD supports mfi-based RAID controllers (uses megasasctl (has to be installed) under Linux, mfiutil (integrated into base system since 7.x branch) under FreeBSD
3ware.pm - a bit modified version of Linux module for BSD
Linux MegaRAID:
a0 PERC H700 Integrated bios:3.18.00_4.09.05. fw:2.100.03-1062 encl:1 ldrv:1 rbld:30% batt:good/4027mV/25C
a0d0 1675GiB RAID 10 3x2 optimal
row 0: a0e32s0 a0e32s1
row 1: a0e32s2 a0e32s3
row 2: a0e32s4 a0e32s5
a0e32s0 SEAGATE ST3600057SS 558GiB a0d0 online
a0e32s1 SEAGATE ST3600057SS 558GiB a0d0 online
a0e32s2 SEAGATE ST3600057SS 558GiB a0d0 online
a0e32s3 SEAGATE ST3600057SS 558GiB a0d0 online
a0e32s4 SEAGATE ST3600057SS 558GiB a0d0 online
a0e32s5 SEAGATE ST3600057SS 558GiB a0d0 online
FreeBSD MegaRAID:
mfi0 Physical Drives: 0 ( 558G) ONLINE <SEAGATE ST3600057SS ES64 serial=3SL1ZJGW> SAS E1:S0 1 ( 558G) ONLINE <SEAGATE ST3600057SS ES64 serial=3SL1ZA3R> SAS E1:S1 2 ( 558G) ONLINE <SEAGATE ST3600057SS ES64 serial=3SL1ZWGQ> SAS E1:S2 3 ( 558G) ONLINE <SEAGATE ST3600057SS ES64 serial=3SL1ZWCE> SAS E1:S3 4 ( 558G) ONLINE <SEAGATE ST3600057SS ES64 serial=3SL1ZKED> SAS E1:S4 5 ( 558G) ONLINE <SEAGATE ST3600057SS ES64 serial=3SL1ZYJE> SAS E1:S5
Associated revisions
More RAID drives detection
The following patches will support the following:
- Megaraid.pm:
for both Linux & FreeBSD supports mfi-based RAID controllers (uses
megasasctl (has to be installed) under Linux, mfiutil (integrated
into base system since 7.x branch) under FreeBSD
- 3ware.pm:
a bit modified version of Linux module for BSD
see: #1694
add a test-script for Linux's Megaraid.pm
see: #1694
update Changes and README regarding RAID inventory
see: #1694
merge 3ware and Megaraid controller support
thanks to Egor Morozov for the original patch.
closes: #1694
History
#1
Updated by Egor Morozov about 1 year ago
- File deleted (
3ware.pm)
#3
Updated by Gonéri Le Bouder about 1 year ago
- Target version set to 2.3.0
Thank you for the patches Igor. I'm preparing the test-scripts for them. Do you know if there is difference between w_cli output on Linux and BSD?
#4
Updated by Gonéri Le Bouder about 1 year ago
- File 3ware.pm
added
#5
Updated by Gonéri Le Bouder about 1 year ago
- Category set to internal
- Status changed from New to In Progress
Since 3ware.pm packages are more or less the same on Linux and BSD, I think it should be in Generic/Storages instead. Can you please try to copy the 3ware.pm I attached in ./lib/FusionInventory/Agent/Task/Inventory/Input/Generic/Storages/3ware.pm and remove the other 3ware.pm files.
#6
Updated by Egor Morozov about 1 year ago
Hi,
works fine on FreeBSD. As we don't have any Linux machine with 3ware controller, cannot check if it works fine on Linux.
#7
Updated by Gonéri Le Bouder about 1 year ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
Applied in changeset f27fb7231788b71c9e2e598b8fdfeab12e99653b.
#8
Updated by Gonéri Le Bouder about 1 year ago
- Status changed from Closed to Resolved
I merged your changes in the 2.3.x, I added some test-scripts.
Thank you Egor!
#9
Updated by Gonéri Le Bouder 5 months ago
Applied in changeset f27fb7231788b71c9e2e598b8fdfeab12e99653b.