History log of /freebsd-10.3-release/usr.sbin/sesutil/eltsub.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 296373 04-Mar-2016 marius

- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1
builds.
- Update newvers.sh to reflect RC1.
- Update __FreeBSD_version to reflect 10.3.
- Update default pkg(8) configuration to use the quarterly branch.

Approved by: re (implicit)

# 293865 14-Jan-2016 allanjude

MFC: r287473
Add the new sesutil(8) utility for managing SCSI Enclosure Services (SES) device.

MFC: r287493
Fix iteration bug

MFC: r287485, r287494, r287992
Please the angry gcc 4.2 gods

MFC: r287988
Improve and expand sesutil(8)

Return an error if no matching device is found
Locate can address a slot, in addition to a drive
Added fault, similar to locate but blinks a different LED
Added the map command, lists all devices connected to the SES controller
Added the status command, overall status of the SES controller

MFC: r292092
sesutil: fix map not printing the status of the LED device in an array

MFC: r292093
sesutil: pass the correct element type when printing the SES map

MFC: r292121
sesutil: Add extra information specific to some SES devices to sesutil map

MFC: r292122
Fix sesutil locate when a sesid is passed to locate command

MFC: r292262
Show the enclosure name and id in sesutil map

Relnotes: yes
Sponsored by: Gandi.net
Sponsored by: ScaleEngine Inc.


# 287988 19-Sep-2015 allanjude

Improve and expand sesutil(8)

- 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


# 242647 06-Nov-2012 mav

Decode common state bits in getencstat output.


# 242621 05-Nov-2012 mav

Fix a minor typo.


# 235911 24-May-2012 mav

MFprojects/zfsd:
Revamp the CAM enclosure services driver.
This updated driver uses an in-kernel daemon to track state changes and
publishes physical path location information\for disk elements into the
CAM device database.

Sponsored by: Spectra Logic Corporation
Sponsored by: iXsystems, Inc.
Submitted by: gibbs, will, mav


# 222339 27-May-2011 mav

Change new constant names to ones used by OpenSolaris.


# 222338 27-May-2011 mav

Oops, fix typo in r222336.


# 222336 27-May-2011 mav

Add names for few more SES element types according SES-2 specification.


# 198934 04-Nov-2009 delphij

Cleanup code to make it WARNS=6 clean:

- ANSIfy prototypes;
- Add __unused for parameters that is not being currently used;
- Add a header for subrountines being called from other modules.

Reviewed by: mjacob


# 57580 29-Feb-2000 mjacob

Update SES userland examples to something out of the toy stage.
Approved: jkh