sdparm

sdparm has a command line interface for getting
and setting SCSI mode page fields. Fields can be
referred to by an acronym or a numerical address.
It has support for various SCSI transport and
vendor-specific mode pages. It also decodes Vital
Product Data (VPD) pages and can send some simple
SCSI commands. sdparm was originally written for
Linux with ports to FreeBSD, Solaris, Tru64, and
Windows.

Release Notes: This version tracks changes to various www.t10.org drafts since April 2010. Note that 'thin provisioning' has been renamed to 'logical block provisioning', causing some mode page and field names to change.

Release Notes: SCSI mode and VPD page changes in draft standards from www.t10.org up until September 2009 are tracked. One significant change for block devices is the addition of thin provisioning support.