summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sesutil
Commit message (Collapse)AuthorAgeFilesLines
* Show the enclosure name and id in sesutil mapbapt2015-12-151-0/+11
| | | | Sponsored by: Gandi.net
* Fix sesutil locate when a sesid is passed to locate commandbapt2015-12-111-1/+1
|
* sesutil: Add extra information specific to some SES devices to sesutil mapbapt2015-12-114-21/+76
| | | | | | | | | | | | | | | | | | Rework stat2ascii preparing a buffer of what could be printed. This prevent the risk of overflowing a static buffer. Do not print those informations anymore in the "status" but into a new "extra status" only printed if there are actually extra things to print. Now add those extra informations: * Thermal sensor temperature * Cooling devices speed * Voltage sensors, current consumption Tested by: AllanJude Sponsored by: Gandi.net Differential Revision: https://reviews.freebsd.org/D4520
* sesutils, pass the correct element type when printing the status of a givenbapt2015-12-111-1/+1
| | | | | | element of the ses. Sponsored by: Gandi.net
* sesutil: fix map not printing the status of the LED device in an arraybapt2015-12-111-4/+4
| | | | Sponsored by: Gandi.net
* Rename some functions and variables inside sesutil(8) to make gcc happyallanjude2015-09-191-10/+10
| | | | | | Reported by: bz Approved by: bapt (implicit) Sponsored by: ScaleEngine Inc.
* Connect sesutil(1) and numactl(1) for META_MODE.bdrewery2015-09-191-0/+18
| | | | Sponsored by: EMC / Isilon Storage Division
* Improve and expand sesutil(8)allanjude2015-09-195-65/+667
| | | | | | | | | | | | | | | | - Return an error if no matching device is found when the locate command is run - Enhance the locate command to be able to address drive bays with no disk, or where the SES controller has not made the mapping to the device name - Added the fault command, similar to locate, but a different SES property. On some of my controllers locate blinks the activity light, others the fault light. The fault command keeps the fault light on constant. - Improve the usage() output and use it everywhere - Added the map command, displays all elements connected to each (or the specified) ses(4) controller - Added the status command, returns the overall status of the ses(4) controller Reviewed by: wblock (man page, earlier version) Approved by: bapt (mentor) MFC after: 3 weeks Relnotes: yes Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D3580
* Yet another fix for gcc 4.2bapt2015-09-051-5/+5
|
* Remove extra i++bapt2015-09-051-1/+0
| | | | Reported by: allanjude@
* Fix build with gcc 4.2bapt2015-09-051-5/+5
| | | | Reported by: kib
* Add a new sesutil(8) utilitybapt2015-09-053-0/+304
This is an utility for managing SCSI Enclosure Services (SES) device. For now only one command is supported "locate" which will change the test of the external LED associated to a given disk. Usage if the following: sesutil locate disk [on|off] Disk can be a device name: "da12" or a special keyword: "all". Reviewed by: mav MFC after: 1 month Relnotes: yes Sponsored by: gandi.net Differential Revision: https://reviews.freebsd.org/D3544
OpenPOWER on IntegriCloud