summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mfiutil
Commit message (Collapse)AuthorAgeFilesLines
* Add global -d and -e options to either print device numbersbz2011-06-207-39/+161
| | | | | | | | | | (usually default) or enclosure:slot information as (Exx:Sxx) or both. Discussed with: jhb Reviewed by: jhb Sponsored by: Sandvine Incorporated MFC after: 1 week
* Add 'show logstate' to usage().bz2011-06-181-0/+1
| | | | MFC after: 1 week
* Contrary to when returning in all-good cases at the end of functions webz2011-06-097-62/+216
| | | | | | | | | | did not free memory (1) or close the file descriptor (2) in error cases. Reported by: Mark Johnston (1) Reported by: attilio (2) Reviewed by: jhb Sponsored by: Sandvine Incorporated MFC after: 1 week
* There are a couple of structs in mfireg.h with members named 'class'.emaste2011-06-021-4/+4
| | | | | | | | | | These cause problems when trying to include the header in a C++ project. Rename them to 'evt_class', and track the change in mfi and mfiutil. Submitted by: Mark Johnston Sponsored by: Sandvine Incorporated Reviewed by: jhb@ MFC after: 1 week
* Add a 'show progress' command that shows a summary of all in-progressjhb2011-04-293-2/+118
| | | | | | | | | commands for a given adapter. Specifically, it shows the status of any drive or volume activities currently in progress similar to the 'drive process' and 'volume progress' commands. Reviewed by: emaste MFC after: 1 week
* Fix typo in "continuously" argument used in patrol auto command.pluknet2011-04-271-1/+1
| | | | | | Obtained from: Sascha Wildner <saw att online dott de> Approved by: jhb MFC after: 3 days
* Add the ability to manage the state of write caching when the batteryjhb2011-04-052-7/+40
| | | | | | | | | back-up is missing or dead. The current state of this field is reported in 'mfiutil cache <volume>' and can be adjusted via 'mfiutil cache <volume> bad-bbu-write-cache <enable|disable>'. This setting should generally be disabled to avoid data loss. MFC after: 1 week
* Preserve errno in an error case.jhb2011-03-171-1/+2
| | | | Submitted by: gcooper
* Add more details to the 'show battery' command including more rawjhb2011-03-171-9/+51
| | | | | | | | capacity values, charge cycle count, temperature, and more detailed status. Reviewed by: bz, emaste (older version) MFC after: 1 week
* Fix division by zero, causing floating point exception in a drive progresspluknet2011-02-251-1/+1
| | | | | | | | | | | | command. It was possible to read a value of zero from a busy controller used as the divisor to calculate the remaining rebuild time. Reported by: Pavel Udovenko <udovenko att nic.ru> Discussed with: jhb Approved by: kib (mentor) MFC after: 1 week
* Handle malloc() failures more gracefully by error'ing out rather thanjhb2010-11-193-0/+36
| | | | | | | segfaulting. Submitted by: gcooper MFC after: 1 week
* Fix typo.bcr2010-11-041-1/+1
|
* - Save errno values before calling warn(3) so that errors are correctlyjhb2010-10-267-129/+225
| | | | | | | | reported. - Use powerof2() from <sys/param.h> rather than a copy and paste version. Submitted by: gcooper MFC after: 1 week
* Enable copyback and system PD states.pluknet2010-10-211-0/+4
| | | | | | | Reviewed by: jhb Approved by: avg (mentor) MFC after: 1 week X-MFC-After: r214130
* Fix compile with -DDEBUG by using the correct mfi_pd_ref union definitionrandi2010-10-101-2/+2
| | | | | | | | | in mfireg.h. Submitted by: gcooper Reviewed by: jhb Approved by: cperciva (mentor) MFC after: 1 week
* Report subcommand handler errors in mfiutil/mptutil so that tools thatrandi2010-10-101-3/+5
| | | | | | | | | invoke the utilities can robustly report errors. Submitted by: gcooper Reviewed by: jhb Approved by: cperciva (mentor) MFC after: 1 week
* Fix typos and spelling mistakes.joel2010-08-061-1/+1
|
* Spelling fixes.joel2010-08-011-1/+1
|
* Fixed dependencies (make checkdpadd).ru2010-02-251-0/+1
|
* Update the man page for manual section 8scottl2009-08-171-1/+1
| | | | Approved by: re
* Update the man page for FreeBSD 8.0scottl2009-08-171-14/+6
| | | | Approved by: re
* Move mfiutil.1 to mfiutil.8 for consistency. Remove superfulous README.scottl2009-08-173-104/+1
| | | | Approved by: re
* Fix is 32bit bug missed in testing.scottl2009-08-141-7/+8
| | | | Approved by: re
* ntroduce mfiutil, a basic utility for managing LSI SAS-RAID & Dell PERC5/6scottl2009-08-1313-0/+5258
controllers. Controller, array, and drive status can be checked, basic attributes can be changed, and arrays and spares can be created and deleted. Controller firmware can also be flashed. This does not replace MegaCLI, found in ports, as that is officially sanctioned and supported by LSI and includes vastly more functionality. However, mfiutil is open source and guaranteed to provide basic functionality, which can be especially useful if you have a problem and can't get MegaCLI to work. Approved by: re Obtained from: Yahoo! Inc.
OpenPOWER on IntegriCloud