[ab0972f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[e355d777] | 7 | <!ENTITY sg3_utils-download-http "http://sg.danny.cz/sg/p/sg3_utils-&sg3_utils-version;.tar.xz">
|
---|
[ab0972f] | 8 | <!ENTITY sg3_utils-download-ftp " ">
|
---|
[8ef150f] | 9 | <!ENTITY sg3_utils-md5sum "d1cf7d22e25113dfd0e9db1fcb9032ba">
|
---|
| 10 | <!ENTITY sg3_utils-size "904 KB">
|
---|
| 11 | <!ENTITY sg3_utils-buildsize "29 MB">
|
---|
[c93612f2] | 12 | <!ENTITY sg3_utils-time "0.2 SBU">
|
---|
[ab0972f] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="sg3_utils" xreflabel="sg3_utils-&sg3_utils-version;">
|
---|
| 16 | <?dbhtml filename="sg3_utils.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>sg3_utils-&sg3_utils-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="sg3_utils">
|
---|
| 26 | <primary sortas="a-sg3_utils">sg3_utils</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to sg3_utils</title>
|
---|
| 31 |
|
---|
[e355d777] | 32 | <para>
|
---|
| 33 | The <application>sg3_utils</application> package contains low level
|
---|
| 34 | utilities for devices that use a SCSI command set. Apart from SCSI parallel
|
---|
| 35 | interface (SPI) devices, the SCSI command set is used by ATAPI devices
|
---|
| 36 | (CD/DVDs and tapes), USB mass storage devices, Fibre Channel disks, IEEE
|
---|
| 37 | 1394 storage devices (that use the "SBP" protocol), SAS, iSCSI and FCoE
|
---|
| 38 | devices (amongst others).
|
---|
| 39 | </para>
|
---|
[ab0972f] | 40 |
|
---|
[43b1dad3] | 41 | &lfs83_checked;
|
---|
[47421bb8] | 42 |
|
---|
[ab0972f] | 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
[e355d777] | 46 | <para>
|
---|
| 47 | Download (HTTP): <ulink url="&sg3_utils-download-http;"/>
|
---|
| 48 | </para>
|
---|
[ab0972f] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[e355d777] | 51 | <para>
|
---|
| 52 | Download (FTP): <ulink url="&sg3_utils-download-ftp;"/>
|
---|
| 53 | </para>
|
---|
[ab0972f] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[e355d777] | 56 | <para>
|
---|
| 57 | Download MD5 sum: &sg3_utils-md5sum;
|
---|
| 58 | </para>
|
---|
[ab0972f] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[e355d777] | 61 | <para>
|
---|
| 62 | Download size: &sg3_utils-size;
|
---|
| 63 | </para>
|
---|
[ab0972f] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[e355d777] | 66 | <para>
|
---|
| 67 | Estimated disk space required: &sg3_utils-buildsize;
|
---|
| 68 | </para>
|
---|
[ab0972f] | 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
[e355d777] | 71 | <para>
|
---|
| 72 | Estimated build time: &sg3_utils-time;
|
---|
| 73 | </para>
|
---|
[ab0972f] | 74 | </listitem>
|
---|
| 75 | </itemizedlist>
|
---|
| 76 |
|
---|
[8ef150f] | 77 | <!-- No longer needed as 1.44 fixes the sysmacros.h use
|
---|
[afd2e883] | 78 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 79 | <itemizedlist spacing="compact">
|
---|
| 80 | <listitem>
|
---|
| 81 | <para>
|
---|
| 82 | Required patch:
|
---|
| 83 | <ulink url="&patch-root;/sg3_utils-&sg3_utils-version;-glibc_2.28-fixes-1.patch"/>
|
---|
| 84 | </para>
|
---|
| 85 | </listitem>
|
---|
| 86 | </itemizedlist>
|
---|
[8ef150f] | 87 | -->
|
---|
[afd2e883] | 88 |
|
---|
[ab0972f] | 89 | <para condition="html" role="usernotes">User Notes:
|
---|
[5b38e37] | 90 | <ulink url="&blfs-wiki;/sg3_utils"/>
|
---|
| 91 | </para>
|
---|
[ab0972f] | 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2 role="installation">
|
---|
| 95 | <title>Installation of sg3_utils</title>
|
---|
| 96 |
|
---|
[e355d777] | 97 | <para>
|
---|
| 98 | Install <application>sg3_utils</application> by running the following
|
---|
| 99 | commands:
|
---|
| 100 | </para>
|
---|
[ab0972f] | 101 |
|
---|
[8ef150f] | 102 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[ab0972f] | 103 | make</userinput></screen>
|
---|
| 104 |
|
---|
[e355d777] | 105 | <para>
|
---|
| 106 | This package does not come with a test suite.
|
---|
| 107 | </para>
|
---|
[ab0972f] | 108 |
|
---|
[e355d777] | 109 | <para>
|
---|
| 110 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 111 | </para>
|
---|
[ab0972f] | 112 |
|
---|
| 113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
[47421bb8] | 117 | <sect2 role="commands">
|
---|
| 118 | <title>Command Explanations</title>
|
---|
| 119 |
|
---|
[e355d777] | 120 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 121 | href="../../xincludes/static-libraries.xml"/>
|
---|
[47421bb8] | 122 |
|
---|
| 123 | </sect2>
|
---|
| 124 |
|
---|
[ab0972f] | 125 | <sect2 role="content">
|
---|
| 126 | <title>Contents</title>
|
---|
| 127 |
|
---|
| 128 | <segmentedlist>
|
---|
| 129 | <segtitle>Installed Programs</segtitle>
|
---|
| 130 | <segtitle>Installed Library</segtitle>
|
---|
[c3c56b2] | 131 | <segtitle>Installed Directories</segtitle>
|
---|
[ab0972f] | 132 |
|
---|
| 133 | <seglistitem>
|
---|
[e355d777] | 134 | <seg>
|
---|
[b3c153cc] | 135 | scsi_logging_level, scsi_mandat, scsi_readcap, scsi_ready, scsi_satl,
|
---|
[8ef150f] | 136 | scsi_start, scsi_stop, scsi_temperature, sg_bg_ctl, sg_compare_and_write,
|
---|
[b3c153cc] | 137 | sg_copy_results, sg_dd, sg_decode_sense, sg_emc_trespass, sg_format,
|
---|
[c93612f2] | 138 | sg_get_config, sg_get_lba_status, sg_ident, sg_inq, sg_logs, sg_luns,
|
---|
| 139 | sg_map, sg_map26, sg_modes, sg_opcodes, sg_persist, sg_prevent,
|
---|
[8ef150f] | 140 | sg_raw, sg_rbuf, sg_rdac, sg_read, sg_read_attr, sg_read_block_limits,
|
---|
[c93612f2] | 141 | sg_read_buffer, sg_read_long, sg_readcap, sg_reassign, sg_referrals,
|
---|
| 142 | sg_rep_zones, sg_requests, sg_reset, sg_reset_wp, sg_rmsn, sg_rtpg,
|
---|
[b3c153cc] | 143 | sg_safte, sg_sanitize, sg_sat_identify, sg_sat_phy_event,
|
---|
[8ef150f] | 144 | sg_sat_read_gplog, sg_sat_set_features, sg_scan, sg_seek, sg_senddiag, sg_ses,
|
---|
| 145 | sg_ses_microcode, sg_start, sg_stpg, sg_stream_ctl, sg_sync, sg_test_rwbuf,
|
---|
| 146 | sg_turs, sg_unmap, sg_verify, sg_vpd, sg_wr_mode, sg_write_buffer,
|
---|
| 147 | sg_write_long, sg_write_same, sg_write_verify, sg_write_x, sg_xcopy, sg_zone,
|
---|
| 148 | sginfo, sgm_dd, and sgp_dd
|
---|
[e355d777] | 149 | </seg>
|
---|
| 150 | <seg>
|
---|
| 151 | libsgutils2.so
|
---|
| 152 | </seg>
|
---|
[c3c56b2] | 153 | <seg>
|
---|
| 154 | None
|
---|
| 155 | </seg>
|
---|
[ab0972f] | 156 | </seglistitem>
|
---|
| 157 | </segmentedlist>
|
---|
| 158 |
|
---|
| 159 | <variablelist>
|
---|
| 160 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 161 | <?dbfo list-presentation="list"?>
|
---|
| 162 | <?dbhtml list-presentation="table"?>
|
---|
| 163 |
|
---|
[af5248e2] | 164 | <varlistentry id="scsi_logging_level">
|
---|
| 165 | <term><command>scsi_logging_level</command></term>
|
---|
| 166 | <listitem>
|
---|
| 167 | <para>
|
---|
[b69a5a5] | 168 | accesses Linux SCSI logging level information.
|
---|
[af5248e2] | 169 | </para>
|
---|
| 170 | <indexterm zone="sg3_utils scsi_logging_level">
|
---|
| 171 | <primary sortas="b-scsi_logging_level">scsi_logging_level</primary>
|
---|
| 172 | </indexterm>
|
---|
| 173 | </listitem>
|
---|
| 174 | </varlistentry>
|
---|
| 175 |
|
---|
| 176 | <varlistentry id="scsi_mandat">
|
---|
| 177 | <term><command>scsi_mandat</command></term>
|
---|
| 178 | <listitem>
|
---|
| 179 | <para>
|
---|
[b69a5a5] | 180 | checks SCSI device support for mandatory commands.
|
---|
[af5248e2] | 181 | </para>
|
---|
| 182 | <indexterm zone="sg3_utils scsi_mandat">
|
---|
| 183 | <primary sortas="b-scsi_mandat">scsi_mandat</primary>
|
---|
| 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
| 188 | <varlistentry id="scsi_readcap">
|
---|
| 189 | <term><command>scsi_readcap</command></term>
|
---|
| 190 | <listitem>
|
---|
| 191 | <para>
|
---|
[b69a5a5] | 192 | does the SCSI READ CAPACITY command on disks.
|
---|
[af5248e2] | 193 | </para>
|
---|
| 194 | <indexterm zone="sg3_utils scsi_readcap">
|
---|
| 195 | <primary sortas="b-scsi_readcap">scsi_readcap</primary>
|
---|
| 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 |
|
---|
| 200 | <varlistentry id="scsi_ready">
|
---|
| 201 | <term><command>scsi_ready</command></term>
|
---|
| 202 | <listitem>
|
---|
| 203 | <para>
|
---|
[b69a5a5] | 204 | does the SCSI TEST UNIT READY on devices.
|
---|
[af5248e2] | 205 | </para>
|
---|
| 206 | <indexterm zone="sg3_utils scsi_ready">
|
---|
| 207 | <primary sortas="b-scsi_ready">scsi_ready</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 |
|
---|
| 212 | <varlistentry id="scsi_satl">
|
---|
| 213 | <term><command>scsi_satl</command></term>
|
---|
| 214 | <listitem>
|
---|
| 215 | <para>
|
---|
[b69a5a5] | 216 | checks for SCSI to ATA Translation (SAT) device support.
|
---|
[af5248e2] | 217 | </para>
|
---|
| 218 | <indexterm zone="sg3_utils scsi_satl">
|
---|
| 219 | <primary sortas="b-scsi_satl">scsi_satl</primary>
|
---|
| 220 | </indexterm>
|
---|
| 221 | </listitem>
|
---|
| 222 | </varlistentry>
|
---|
| 223 |
|
---|
| 224 | <varlistentry id="scsi_start">
|
---|
| 225 | <term><command>scsi_start</command></term>
|
---|
| 226 | <listitem>
|
---|
| 227 | <para>
|
---|
[b69a5a5] | 228 | starts one or more SCSI disks.
|
---|
[af5248e2] | 229 | </para>
|
---|
| 230 | <indexterm zone="sg3_utils scsi_start">
|
---|
| 231 | <primary sortas="b-scsi_start">scsi_start</primary>
|
---|
| 232 | </indexterm>
|
---|
| 233 | </listitem>
|
---|
| 234 | </varlistentry>
|
---|
| 235 |
|
---|
| 236 | <varlistentry id="scsi_stop">
|
---|
| 237 | <term><command>scsi_stop</command></term>
|
---|
| 238 | <listitem>
|
---|
| 239 | <para>
|
---|
[b69a5a5] | 240 | stops one or more SCSI disks.
|
---|
[af5248e2] | 241 | </para>
|
---|
| 242 | <indexterm zone="sg3_utils scsi_stop">
|
---|
| 243 | <primary sortas="b-scsi_stop">scsi_stop</primary>
|
---|
| 244 | </indexterm>
|
---|
| 245 | </listitem>
|
---|
| 246 | </varlistentry>
|
---|
| 247 |
|
---|
| 248 | <varlistentry id="scsi_temperature">
|
---|
| 249 | <term><command>scsi_temperature</command></term>
|
---|
| 250 | <listitem>
|
---|
| 251 | <para>
|
---|
[b69a5a5] | 252 | fetches the temperature of a SCSI device.
|
---|
[af5248e2] | 253 | </para>
|
---|
| 254 | <indexterm zone="sg3_utils scsi_temperature">
|
---|
| 255 | <primary sortas="b-scsi_temperature">scsi_temperature</primary>
|
---|
| 256 | </indexterm>
|
---|
| 257 | </listitem>
|
---|
| 258 | </varlistentry>
|
---|
| 259 |
|
---|
[8ef150f] | 260 | <varlistentry id="sg_bg_ctl">
|
---|
| 261 | <term><command>sg_bg_ctl</command></term>
|
---|
| 262 | <listitem>
|
---|
| 263 | <para>
|
---|
| 264 | performs a SCSI BACKGROUND CONTROL command on a device to perform
|
---|
| 265 | "advanced background operations".
|
---|
| 266 | </para>
|
---|
| 267 | <indexterm zone="sg3_utils sg_bg_ctl">
|
---|
| 268 | <primary sortas="b-sg_bg_ctl">sg_bg_ctl</primary>
|
---|
| 269 | </indexterm>
|
---|
| 270 | </listitem>
|
---|
| 271 | </varlistentry>
|
---|
| 272 |
|
---|
[5b38e37] | 273 | <varlistentry id="sg_compare_and_write">
|
---|
| 274 | <term><command>sg_compare_and_write</command></term>
|
---|
| 275 | <listitem>
|
---|
| 276 | <para>
|
---|
| 277 | sends the SCSI COMPARE AND WRITE command to device.
|
---|
| 278 | </para>
|
---|
| 279 | <indexterm zone="sg3_utils sg_compare_and_write">
|
---|
| 280 | <primary sortas="b-sg_compare_and_write">sg_compare_and_write</primary>
|
---|
| 281 | </indexterm>
|
---|
| 282 | </listitem>
|
---|
| 283 | </varlistentry>
|
---|
| 284 |
|
---|
| 285 | <varlistentry id="sg_copy_results">
|
---|
| 286 | <term><command>sg_copy_results</command></term>
|
---|
| 287 | <listitem>
|
---|
| 288 | <para>
|
---|
| 289 | sends the SCSI RECEIVE COPY RESULTS command (XCOPY related).
|
---|
| 290 | </para>
|
---|
| 291 | <indexterm zone="sg3_utils sg_copy_results">
|
---|
| 292 | <primary sortas="b-sg_copy_results">sg_copy_results</primary>
|
---|
| 293 | </indexterm>
|
---|
| 294 | </listitem>
|
---|
| 295 | </varlistentry>
|
---|
| 296 |
|
---|
[ab0972f] | 297 | <varlistentry id="sg_dd">
|
---|
| 298 | <term><command>sg_dd</command></term>
|
---|
| 299 | <listitem>
|
---|
[e355d777] | 300 | <para>
|
---|
| 301 | copies data to and from files and devices. Specialised for
|
---|
| 302 | devices that understand the SCSI command set.
|
---|
| 303 | </para>
|
---|
[ab0972f] | 304 | <indexterm zone="sg3_utils sg_dd">
|
---|
| 305 | <primary sortas="b-sg_dd">sg_dd</primary>
|
---|
| 306 | </indexterm>
|
---|
| 307 | </listitem>
|
---|
| 308 | </varlistentry>
|
---|
| 309 |
|
---|
[e355d777] | 310 | <varlistentry id="sg_decode_sense">
|
---|
| 311 | <term><command>sg_decode_sense</command></term>
|
---|
| 312 | <listitem>
|
---|
| 313 | <para>
|
---|
| 314 | takes SCSI sense data in binary or as a sequence
|
---|
| 315 | of ASCII hexadecimal bytes and decodes it.
|
---|
| 316 | </para>
|
---|
| 317 | <indexterm zone="sg3_utils sg_decode_sense">
|
---|
| 318 | <primary sortas="b-sg_decode_sense">sg_decode_sense</primary>
|
---|
| 319 | </indexterm>
|
---|
| 320 | </listitem>
|
---|
| 321 | </varlistentry>
|
---|
| 322 |
|
---|
[ab0972f] | 323 | <varlistentry id="sg_emc_trespass">
|
---|
| 324 | <term><command>sg_emc_trespass</command></term>
|
---|
| 325 | <listitem>
|
---|
[e355d777] | 326 | <para>
|
---|
| 327 | changes ownership of a LUN from another Service-Processor to
|
---|
| 328 | this one.
|
---|
| 329 | </para>
|
---|
[ab0972f] | 330 | <indexterm zone="sg3_utils sg_emc_trespass">
|
---|
| 331 | <primary sortas="b-sg_emc_trespass">sg_emc_trespass</primary>
|
---|
| 332 | </indexterm>
|
---|
| 333 | </listitem>
|
---|
| 334 | </varlistentry>
|
---|
| 335 |
|
---|
| 336 | <varlistentry id="sg_format">
|
---|
| 337 | <term><command>sg_format</command></term>
|
---|
| 338 | <listitem>
|
---|
[e355d777] | 339 | <para>
|
---|
[b69a5a5] | 340 | formats or resizes a SCSI disk (perhaps changes its block size).
|
---|
[e355d777] | 341 | </para>
|
---|
[ab0972f] | 342 | <indexterm zone="sg3_utils sg_format">
|
---|
| 343 | <primary sortas="b-sg_format">sg_format</primary>
|
---|
| 344 | </indexterm>
|
---|
| 345 | </listitem>
|
---|
| 346 | </varlistentry>
|
---|
| 347 |
|
---|
| 348 | <varlistentry id="sg_get_config">
|
---|
| 349 | <term><command>sg_get_config</command></term>
|
---|
| 350 | <listitem>
|
---|
[e355d777] | 351 | <para>
|
---|
| 352 | sends a SCSI GET CONFIGURATION command (MMC-4 +).
|
---|
| 353 | </para>
|
---|
[ab0972f] | 354 | <indexterm zone="sg3_utils sg_get_config">
|
---|
| 355 | <primary sortas="b-sg_get_config">sg_get_config</primary>
|
---|
| 356 | </indexterm>
|
---|
| 357 | </listitem>
|
---|
| 358 | </varlistentry>
|
---|
| 359 |
|
---|
| 360 | <varlistentry id="sg_get_lba_status">
|
---|
| 361 | <term><command>sg_get_lba_status</command></term>
|
---|
| 362 | <listitem>
|
---|
[e355d777] | 363 | <para>
|
---|
| 364 | sends the SCSI GET LBA STATUS command.
|
---|
| 365 | </para>
|
---|
[ab0972f] | 366 | <indexterm zone="sg3_utils sg_get_lba_status">
|
---|
| 367 | <primary sortas="b-sg_get_lba_status">sg_get_lba_status</primary>
|
---|
| 368 | </indexterm>
|
---|
| 369 | </listitem>
|
---|
| 370 | </varlistentry>
|
---|
| 371 |
|
---|
| 372 | <varlistentry id="sg_ident">
|
---|
| 373 | <term><command>sg_ident</command></term>
|
---|
| 374 | <listitem>
|
---|
[e355d777] | 375 | <para>
|
---|
| 376 | sends a SCSI REPORT or SET IDENTIFYING INFORMATION command.
|
---|
| 377 | </para>
|
---|
[ab0972f] | 378 | <indexterm zone="sg3_utils sg_ident">
|
---|
| 379 | <primary sortas="b-sg_ident">sg_ident</primary>
|
---|
| 380 | </indexterm>
|
---|
| 381 | </listitem>
|
---|
| 382 | </varlistentry>
|
---|
| 383 |
|
---|
| 384 | <varlistentry id="sginfo">
|
---|
| 385 | <term><command>sginfo</command></term>
|
---|
| 386 | <listitem>
|
---|
[e355d777] | 387 | <para>
|
---|
| 388 | access mode page information for a SCSI (or ATAPI) device.
|
---|
| 389 | </para>
|
---|
[ab0972f] | 390 | <indexterm zone="sg3_utils sginfo">
|
---|
| 391 | <primary sortas="b-sginfo">sginfo</primary>
|
---|
| 392 | </indexterm>
|
---|
| 393 | </listitem>
|
---|
| 394 | </varlistentry>
|
---|
| 395 |
|
---|
| 396 | <varlistentry id="sg_inq">
|
---|
| 397 | <term><command>sg_inq</command></term>
|
---|
| 398 | <listitem>
|
---|
[e355d777] | 399 | <para>
|
---|
| 400 | sends a SCSI INQUIRY or ATA IDENTIFY (PACKET) DEVICE command and
|
---|
| 401 | outputs the response.
|
---|
| 402 | </para>
|
---|
[ab0972f] | 403 | <indexterm zone="sg3_utils sg_inq">
|
---|
| 404 | <primary sortas="b-sg_inq">sg_inq</primary>
|
---|
| 405 | </indexterm>
|
---|
| 406 | </listitem>
|
---|
| 407 | </varlistentry>
|
---|
| 408 |
|
---|
| 409 | <varlistentry id="sg_logs">
|
---|
| 410 | <term><command>sg_logs</command></term>
|
---|
| 411 | <listitem>
|
---|
[e355d777] | 412 | <para>
|
---|
| 413 | access log pages with SCSI LOG SENSE command.
|
---|
| 414 | </para>
|
---|
[ab0972f] | 415 | <indexterm zone="sg3_utils sg_logs">
|
---|
| 416 | <primary sortas="b-sg_logs">sg_logs</primary>
|
---|
| 417 | </indexterm>
|
---|
| 418 | </listitem>
|
---|
| 419 | </varlistentry>
|
---|
| 420 |
|
---|
| 421 | <varlistentry id="sg_luns">
|
---|
| 422 | <term><command>sg_luns</command></term>
|
---|
| 423 | <listitem>
|
---|
[e355d777] | 424 | <para>
|
---|
| 425 | sends the SCSI REPORT LUNS command.
|
---|
| 426 | </para>
|
---|
[ab0972f] | 427 | <indexterm zone="sg3_utils sg_luns">
|
---|
| 428 | <primary sortas="b-sg_luns">sg_luns</primary>
|
---|
| 429 | </indexterm>
|
---|
| 430 | </listitem>
|
---|
| 431 | </varlistentry>
|
---|
| 432 |
|
---|
| 433 | <varlistentry id="sg_map">
|
---|
| 434 | <term><command>sg_map</command></term>
|
---|
| 435 | <listitem>
|
---|
[e355d777] | 436 | <para>
|
---|
| 437 | displays mapping between linux sg and other SCSI devices.
|
---|
| 438 | </para>
|
---|
[ab0972f] | 439 | <indexterm zone="sg3_utils sg_map">
|
---|
| 440 | <primary sortas="b-sg_map">sg_map</primary>
|
---|
| 441 | </indexterm>
|
---|
| 442 | </listitem>
|
---|
| 443 | </varlistentry>
|
---|
| 444 |
|
---|
| 445 | <varlistentry id="sg_map26">
|
---|
| 446 | <term><command>sg_map26</command></term>
|
---|
| 447 | <listitem>
|
---|
[e355d777] | 448 | <para>
|
---|
| 449 | maps a special file to a SCSI generic (sg) device (or vice versa).
|
---|
| 450 | </para>
|
---|
[ab0972f] | 451 | <indexterm zone="sg3_utils sg_map26">
|
---|
| 452 | <primary sortas="b-sg_map26">sg_map26</primary>
|
---|
| 453 | </indexterm>
|
---|
| 454 | </listitem>
|
---|
| 455 | </varlistentry>
|
---|
| 456 |
|
---|
| 457 | <varlistentry id="sgm_dd">
|
---|
| 458 | <term><command>sgm_dd</command></term>
|
---|
| 459 | <listitem>
|
---|
[e355d777] | 460 | <para>
|
---|
| 461 | copies data to and from files and devices. Specialized for
|
---|
| 462 | devices that understand the SCSI command set and does memory mapped
|
---|
| 463 | transfers from sg devices.
|
---|
| 464 | </para>
|
---|
[ab0972f] | 465 | <indexterm zone="sg3_utils sgm_dd">
|
---|
| 466 | <primary sortas="b-sgm_dd">sgm_dd</primary>
|
---|
| 467 | </indexterm>
|
---|
| 468 | </listitem>
|
---|
| 469 | </varlistentry>
|
---|
| 470 |
|
---|
| 471 | <varlistentry id="sg_modes">
|
---|
| 472 | <term><command>sg_modes</command></term>
|
---|
| 473 | <listitem>
|
---|
[e355d777] | 474 | <para>
|
---|
| 475 | reads mode pages with SCSI MODE SENSE command.
|
---|
| 476 | </para>
|
---|
[ab0972f] | 477 | <indexterm zone="sg3_utils sg_modes">
|
---|
| 478 | <primary sortas="b-sg_modes">sg_modes</primary>
|
---|
| 479 | </indexterm>
|
---|
| 480 | </listitem>
|
---|
| 481 | </varlistentry>
|
---|
| 482 |
|
---|
| 483 | <varlistentry id="sg_opcodes">
|
---|
| 484 | <term><command>sg_opcodes</command></term>
|
---|
| 485 | <listitem>
|
---|
[e355d777] | 486 | <para>
|
---|
| 487 | reports information on supported SCSI commands or task
|
---|
| 488 | management functions.
|
---|
| 489 | </para>
|
---|
[ab0972f] | 490 | <indexterm zone="sg3_utils sg_opcodes">
|
---|
| 491 | <primary sortas="b-sg_opcodes">sg_opcodes</primary>
|
---|
| 492 | </indexterm>
|
---|
| 493 | </listitem>
|
---|
| 494 | </varlistentry>
|
---|
| 495 |
|
---|
| 496 | <varlistentry id="sgp_dd">
|
---|
| 497 | <term><command>sgp_dd</command></term>
|
---|
| 498 | <listitem>
|
---|
[e355d777] | 499 | <para>
|
---|
| 500 | copies data to and from files and devices. Specialized for
|
---|
| 501 | devices that understand the SCSI command set.
|
---|
| 502 | </para>
|
---|
[ab0972f] | 503 | <indexterm zone="sg3_utils sgp_dd">
|
---|
| 504 | <primary sortas="b-sgp_dd">sgp_dd</primary>
|
---|
| 505 | </indexterm>
|
---|
| 506 | </listitem>
|
---|
| 507 | </varlistentry>
|
---|
| 508 |
|
---|
| 509 | <varlistentry id="sg_persist">
|
---|
| 510 | <term><command>sg_persist</command></term>
|
---|
| 511 | <listitem>
|
---|
[e355d777] | 512 | <para>
|
---|
| 513 | sends a SCSI PERSISTENT RESERVE (IN or OUT) command to
|
---|
| 514 | manipulate registrations and reservations.
|
---|
| 515 | </para>
|
---|
[ab0972f] | 516 | <indexterm zone="sg3_utils sg_persist">
|
---|
| 517 | <primary sortas="b-sg_persist">sg_persist</primary>
|
---|
| 518 | </indexterm>
|
---|
| 519 | </listitem>
|
---|
| 520 | </varlistentry>
|
---|
| 521 |
|
---|
| 522 | <varlistentry id="sg_prevent">
|
---|
| 523 | <term><command>sg_prevent</command></term>
|
---|
| 524 | <listitem>
|
---|
[e355d777] | 525 | <para>
|
---|
| 526 | sends a SCSI PREVENT ALLOW MEDIUM REMOVAL command.
|
---|
| 527 | </para>
|
---|
[ab0972f] | 528 | <indexterm zone="sg3_utils sg_prevent">
|
---|
| 529 | <primary sortas="b-sg_prevent">sg_prevent</primary>
|
---|
| 530 | </indexterm>
|
---|
| 531 | </listitem>
|
---|
| 532 | </varlistentry>
|
---|
| 533 |
|
---|
| 534 | <varlistentry id="sg_raw">
|
---|
| 535 | <term><command>sg_raw</command></term>
|
---|
| 536 | <listitem>
|
---|
[e355d777] | 537 | <para>
|
---|
| 538 | sends an arbitrary SCSI command to a device.
|
---|
| 539 | </para>
|
---|
[ab0972f] | 540 | <indexterm zone="sg3_utils sg_raw">
|
---|
| 541 | <primary sortas="b-sg_raw">sg_raw</primary>
|
---|
| 542 | </indexterm>
|
---|
| 543 | </listitem>
|
---|
| 544 | </varlistentry>
|
---|
| 545 |
|
---|
| 546 | <varlistentry id="sg_rbuf">
|
---|
| 547 | <term><command>sg_rbuf</command></term>
|
---|
| 548 | <listitem>
|
---|
[e355d777] | 549 | <para>
|
---|
| 550 | reads data using SCSI READ BUFFER command.
|
---|
| 551 | </para>
|
---|
[ab0972f] | 552 | <indexterm zone="sg3_utils sg_rbuf">
|
---|
| 553 | <primary sortas="b-sg_rbuf">sg_rbuf</primary>
|
---|
| 554 | </indexterm>
|
---|
| 555 | </listitem>
|
---|
| 556 | </varlistentry>
|
---|
| 557 |
|
---|
| 558 | <varlistentry id="sg_rdac">
|
---|
| 559 | <term><command>sg_rdac</command></term>
|
---|
| 560 | <listitem>
|
---|
[e355d777] | 561 | <para>
|
---|
[b69a5a5] | 562 | displays or modifies RDAC Redundant Controller Page.
|
---|
[e355d777] | 563 | </para>
|
---|
[ab0972f] | 564 | <indexterm zone="sg3_utils sg_rdac">
|
---|
| 565 | <primary sortas="b-sg_rdac">sg_rdac</primary>
|
---|
| 566 | </indexterm>
|
---|
| 567 | </listitem>
|
---|
| 568 | </varlistentry>
|
---|
| 569 |
|
---|
| 570 | <varlistentry id="sg_read">
|
---|
| 571 | <term><command>sg_read</command></term>
|
---|
| 572 | <listitem>
|
---|
[e355d777] | 573 | <para>
|
---|
[b69a5a5] | 574 | reads blocks of data continually from the same offset.
|
---|
[e355d777] | 575 | </para>
|
---|
[ab0972f] | 576 | <indexterm zone="sg3_utils sg_read">
|
---|
| 577 | <primary sortas="b-sg_read">sg_read</primary>
|
---|
| 578 | </indexterm>
|
---|
| 579 | </listitem>
|
---|
| 580 | </varlistentry>
|
---|
| 581 |
|
---|
[8ef150f] | 582 | <varlistentry id="sg_read_attr">
|
---|
| 583 | <term><command>sg_read_attr</command></term>
|
---|
| 584 | <listitem>
|
---|
| 585 | <para>
|
---|
| 586 | performs a SCSI READ ATTRIBUTE command on a device.
|
---|
| 587 | </para>
|
---|
| 588 | <indexterm zone="sg3_utils sg_read_attr">
|
---|
| 589 | <primary sortas="b-sg_read_attr">sg_read_attr</primary>
|
---|
| 590 | </indexterm>
|
---|
| 591 | </listitem>
|
---|
| 592 | </varlistentry>
|
---|
| 593 |
|
---|
[ab0972f] | 594 | <varlistentry id="sg_read_block_limits">
|
---|
| 595 | <term><command>sg_read_block_limits</command></term>
|
---|
| 596 | <listitem>
|
---|
[e355d777] | 597 | <para>
|
---|
| 598 | sends a SCSI READ BLOCK LIMITS command.
|
---|
| 599 | </para>
|
---|
[ab0972f] | 600 | <indexterm zone="sg3_utils sg_read_block_limits">
|
---|
| 601 | <primary sortas="b-sg_read_block_limits">sg_read_block_limits</primary>
|
---|
| 602 | </indexterm>
|
---|
| 603 | </listitem>
|
---|
| 604 | </varlistentry>
|
---|
| 605 |
|
---|
| 606 | <varlistentry id="sg_read_buffer">
|
---|
| 607 | <term><command>sg_read_buffer</command></term>
|
---|
| 608 | <listitem>
|
---|
[e355d777] | 609 | <para>
|
---|
| 610 | sends a SCSI READ BUFFER command.
|
---|
| 611 | </para>
|
---|
[ab0972f] | 612 | <indexterm zone="sg3_utils sg_read_buffer">
|
---|
| 613 | <primary sortas="b-sg_read_buffer">sg_read_buffer</primary>
|
---|
| 614 | </indexterm>
|
---|
| 615 | </listitem>
|
---|
| 616 | </varlistentry>
|
---|
| 617 |
|
---|
| 618 | <varlistentry id="sg_readcap">
|
---|
| 619 | <term><command>sg_readcap</command></term>
|
---|
| 620 | <listitem>
|
---|
[e355d777] | 621 | <para>
|
---|
| 622 | sends a SCSI READ CAPACITY command.
|
---|
| 623 | </para>
|
---|
[ab0972f] | 624 | <indexterm zone="sg3_utils sg_readcap">
|
---|
| 625 | <primary sortas="b-sg_readcap">sg_readcap</primary>
|
---|
| 626 | </indexterm>
|
---|
| 627 | </listitem>
|
---|
| 628 | </varlistentry>
|
---|
| 629 |
|
---|
| 630 | <varlistentry id="sg_read_long">
|
---|
| 631 | <term><command>sg_read_long</command></term>
|
---|
| 632 | <listitem>
|
---|
[e355d777] | 633 | <para>
|
---|
| 634 | sends a SCSI READ LONG command.
|
---|
| 635 | </para>
|
---|
[ab0972f] | 636 | <indexterm zone="sg3_utils sg_read_long">
|
---|
| 637 | <primary sortas="b-sg_read_long">sg_read_long</primary>
|
---|
| 638 | </indexterm>
|
---|
| 639 | </listitem>
|
---|
| 640 | </varlistentry>
|
---|
| 641 |
|
---|
| 642 | <varlistentry id="sg_reassign">
|
---|
| 643 | <term><command>sg_reassign</command></term>
|
---|
| 644 | <listitem>
|
---|
[e355d777] | 645 | <para>
|
---|
| 646 | sends a SCSI REASSIGN BLOCKS command.
|
---|
| 647 | </para>
|
---|
[ab0972f] | 648 | <indexterm zone="sg3_utils sg_reassign">
|
---|
| 649 | <primary sortas="b-sg_reassign">sg_reassign</primary>
|
---|
| 650 | </indexterm>
|
---|
| 651 | </listitem>
|
---|
| 652 | </varlistentry>
|
---|
| 653 |
|
---|
[e355d777] | 654 | <varlistentry id="sg_referrals">
|
---|
| 655 | <term><command>sg_referrals</command></term>
|
---|
| 656 | <listitem>
|
---|
| 657 | <para>
|
---|
| 658 | sends the SCSI REPORT REFERRALS command.
|
---|
| 659 | </para>
|
---|
| 660 | <indexterm zone="sg3_utils sg_referrals">
|
---|
| 661 | <primary sortas="b-sg_referrals">sg_referrals</primary>
|
---|
| 662 | </indexterm>
|
---|
| 663 | </listitem>
|
---|
| 664 | </varlistentry>
|
---|
| 665 |
|
---|
[c93612f2] | 666 | <varlistentry id="sg_rep_zones">
|
---|
| 667 | <term><command>sg_rep_zones</command></term>
|
---|
| 668 | <listitem>
|
---|
| 669 | <para>
|
---|
[b69a5a5] | 670 | sends a SCSI REPORT ZONES command.
|
---|
[c93612f2] | 671 | </para>
|
---|
| 672 | <indexterm zone="sg3_utils sg_rep_zones">
|
---|
| 673 | <primary sortas="b-sg_rep_zones">sg_rep_zones</primary>
|
---|
| 674 | </indexterm>
|
---|
| 675 | </listitem>
|
---|
| 676 | </varlistentry>
|
---|
| 677 |
|
---|
[ab0972f] | 678 | <varlistentry id="sg_requests">
|
---|
| 679 | <term><command>sg_requests</command></term>
|
---|
| 680 | <listitem>
|
---|
[e355d777] | 681 | <para>
|
---|
| 682 | sends one or more SCSI REQUEST SENSE commands.
|
---|
| 683 | </para>
|
---|
[ab0972f] | 684 | <indexterm zone="sg3_utils sg_requests">
|
---|
| 685 | <primary sortas="b-sg_requests">sg_requests</primary>
|
---|
| 686 | </indexterm>
|
---|
| 687 | </listitem>
|
---|
| 688 | </varlistentry>
|
---|
| 689 |
|
---|
| 690 | <varlistentry id="sg_reset">
|
---|
| 691 | <term><command>sg_reset</command></term>
|
---|
| 692 | <listitem>
|
---|
[e355d777] | 693 | <para>
|
---|
| 694 | sends SCSI device, target, bus or host reset; or checks reset state.
|
---|
| 695 | </para>
|
---|
[ab0972f] | 696 | <indexterm zone="sg3_utils sg_reset">
|
---|
| 697 | <primary sortas="b-sg_reset">sg_reset</primary>
|
---|
| 698 | </indexterm>
|
---|
| 699 | </listitem>
|
---|
| 700 | </varlistentry>
|
---|
| 701 |
|
---|
[c93612f2] | 702 | <varlistentry id="sg_reset_wp">
|
---|
| 703 | <term><command>sg_reset_wp</command></term>
|
---|
| 704 | <listitem>
|
---|
| 705 | <para>
|
---|
[b69a5a5] | 706 | sends a SCSI RESET WRITE POINTER command.
|
---|
[c93612f2] | 707 | </para>
|
---|
| 708 | <indexterm zone="sg3_utils sg_reset_wp">
|
---|
| 709 | <primary sortas="b-sg_reset_wp">sg_reset_wp</primary>
|
---|
| 710 | </indexterm>
|
---|
| 711 | </listitem>
|
---|
| 712 | </varlistentry>
|
---|
| 713 |
|
---|
[ab0972f] | 714 | <varlistentry id="sg_rmsn">
|
---|
| 715 | <term><command>sg_rmsn</command></term>
|
---|
| 716 | <listitem>
|
---|
[e355d777] | 717 | <para>
|
---|
| 718 | sends a SCSI READ MEDIA SERIAL NUMBER command.
|
---|
| 719 | </para>
|
---|
[ab0972f] | 720 | <indexterm zone="sg3_utils sg_rmsn">
|
---|
| 721 | <primary sortas="b-sg_rmsn">sg_rmsn</primary>
|
---|
| 722 | </indexterm>
|
---|
| 723 | </listitem>
|
---|
| 724 | </varlistentry>
|
---|
| 725 |
|
---|
| 726 | <varlistentry id="sg_rtpg">
|
---|
| 727 | <term><command>sg_rtpg</command></term>
|
---|
| 728 | <listitem>
|
---|
[e355d777] | 729 | <para>
|
---|
| 730 | sends a SCSI REPORT TARGET PORT GROUPS command.
|
---|
| 731 | </para>
|
---|
[ab0972f] | 732 | <indexterm zone="sg3_utils sg_rtpg">
|
---|
| 733 | <primary sortas="b-sg_rtpg">sg_rtpg</primary>
|
---|
| 734 | </indexterm>
|
---|
| 735 | </listitem>
|
---|
| 736 | </varlistentry>
|
---|
| 737 |
|
---|
| 738 | <varlistentry id="sg_safte">
|
---|
| 739 | <term><command>sg_safte</command></term>
|
---|
| 740 | <listitem>
|
---|
[e355d777] | 741 | <para>
|
---|
[b69a5a5] | 742 | fetches status from a SCSI Accessed Fault-Tolerant Enclosure
|
---|
[e355d777] | 743 | (SAF-TE) device.
|
---|
| 744 | </para>
|
---|
[ab0972f] | 745 | <indexterm zone="sg3_utils sg_safte">
|
---|
| 746 | <primary sortas="b-sg_safte">sg_safte</primary>
|
---|
| 747 | </indexterm>
|
---|
| 748 | </listitem>
|
---|
| 749 | </varlistentry>
|
---|
| 750 |
|
---|
[e355d777] | 751 | <varlistentry id="sg_sanitize">
|
---|
| 752 | <term><command>sg_sanitize</command></term>
|
---|
| 753 | <listitem>
|
---|
| 754 | <para>
|
---|
| 755 | sends a SCSI SANITIZE command.
|
---|
| 756 | </para>
|
---|
| 757 | <indexterm zone="sg3_utils sg_sanitize">
|
---|
| 758 | <primary sortas="b-sg_sanitize">sg_sanitize</primary>
|
---|
| 759 | </indexterm>
|
---|
| 760 | </listitem>
|
---|
| 761 | </varlistentry>
|
---|
| 762 |
|
---|
[ab0972f] | 763 | <varlistentry id="sg_sat_identify">
|
---|
| 764 | <term><command>sg_sat_identify</command></term>
|
---|
| 765 | <listitem>
|
---|
[e355d777] | 766 | <para>
|
---|
[b69a5a5] | 767 | sends an ATA IDENTIFY (PACKET) DEVICE command via a SCSI to ATA
|
---|
[e355d777] | 768 | Translation (SAT) layer.
|
---|
| 769 | </para>
|
---|
[ab0972f] | 770 | <indexterm zone="sg3_utils sg_sat_identify">
|
---|
| 771 | <primary sortas="b-sg_sat_identify">sg_sat_identify</primary>
|
---|
| 772 | </indexterm>
|
---|
| 773 | </listitem>
|
---|
| 774 | </varlistentry>
|
---|
| 775 |
|
---|
| 776 | <varlistentry id="sg_sat_phy_event">
|
---|
| 777 | <term><command>sg_sat_phy_event</command></term>
|
---|
| 778 | <listitem>
|
---|
[e355d777] | 779 | <para>
|
---|
| 780 | sends an ATA READ LOG EXT command via a SAT pass through to
|
---|
| 781 | fetch log page 11h which contains SATA phy event counters.
|
---|
| 782 | </para>
|
---|
[ab0972f] | 783 | <indexterm zone="sg3_utils sg_sat_phy_event">
|
---|
| 784 | <primary sortas="b-sg_sat_phy_event">sg_sat_phy_event</primary>
|
---|
| 785 | </indexterm>
|
---|
| 786 | </listitem>
|
---|
| 787 | </varlistentry>
|
---|
| 788 |
|
---|
[c93612f2] | 789 |
|
---|
| 790 | <varlistentry id="sg_sat_read_gplog">
|
---|
| 791 | <term><command>sg_sat_read_gplog</command></term>
|
---|
| 792 | <listitem>
|
---|
| 793 | <para>
|
---|
[b69a5a5] | 794 | uses an ATA READ LOG EXT command via a SCSI to ATA Translation
|
---|
[c93612f2] | 795 | (SAT) layer.
|
---|
| 796 | </para>
|
---|
| 797 | <indexterm zone="sg3_utils sg_sat_read_gplog">
|
---|
| 798 | <primary sortas="b-sg_sat_read_gplog">sg_sat_read_gplog</primary>
|
---|
| 799 | </indexterm>
|
---|
| 800 | </listitem>
|
---|
| 801 | </varlistentry>
|
---|
[ab0972f] | 802 | <varlistentry id="sg_sat_set_features">
|
---|
| 803 | <term><command>sg_sat_set_features</command></term>
|
---|
| 804 | <listitem>
|
---|
[e355d777] | 805 | <para>
|
---|
[b69a5a5] | 806 | sends an ATA SET FEATURES command via a SCSI to ATA Translation
|
---|
[e355d777] | 807 | (SAT) layer.
|
---|
| 808 | </para>
|
---|
[ab0972f] | 809 | <indexterm zone="sg3_utils sg_sat_set_features">
|
---|
| 810 | <primary sortas="b-sg_sat_set_features">sg_sat_set_features</primary>
|
---|
| 811 | </indexterm>
|
---|
| 812 | </listitem>
|
---|
| 813 | </varlistentry>
|
---|
| 814 |
|
---|
| 815 | <varlistentry id="sg_scan">
|
---|
| 816 | <term><command>sg_scan</command></term>
|
---|
| 817 | <listitem>
|
---|
[e355d777] | 818 | <para>
|
---|
| 819 | does a scan of sg devices (or given SCSI/ATAPI/ATA devices) and
|
---|
| 820 | prints the results.
|
---|
| 821 | </para>
|
---|
[ab0972f] | 822 | <indexterm zone="sg3_utils sg_scan">
|
---|
| 823 | <primary sortas="b-sg_scan">sg_scan</primary>
|
---|
| 824 | </indexterm>
|
---|
| 825 | </listitem>
|
---|
| 826 | </varlistentry>
|
---|
| 827 |
|
---|
[8ef150f] | 828 | <varlistentry id="sg_seek">
|
---|
| 829 | <term><command>sg_seek</command></term>
|
---|
| 830 | <listitem>
|
---|
| 831 | <para>
|
---|
| 832 | performs a SCSI SEEK or PRE-FETCH command on a device and it's cache.
|
---|
| 833 | </para>
|
---|
| 834 | <indexterm zone="sg3_utils sg_seek">
|
---|
| 835 | <primary sortas="b-sg_seek">sg_seek</primary>
|
---|
| 836 | </indexterm>
|
---|
| 837 | </listitem>
|
---|
| 838 | </varlistentry>
|
---|
| 839 |
|
---|
[ab0972f] | 840 | <varlistentry id="sg_senddiag">
|
---|
| 841 | <term><command>sg_senddiag</command></term>
|
---|
| 842 | <listitem>
|
---|
[e355d777] | 843 | <para>
|
---|
| 844 | performs a SCSI SEND DIAGNOSTIC command.
|
---|
| 845 | </para>
|
---|
[ab0972f] | 846 | <indexterm zone="sg3_utils sg_senddiag">
|
---|
| 847 | <primary sortas="b-sg_senddiag">sg_senddiag</primary>
|
---|
| 848 | </indexterm>
|
---|
| 849 | </listitem>
|
---|
| 850 | </varlistentry>
|
---|
| 851 |
|
---|
| 852 | <varlistentry id="sg_ses">
|
---|
| 853 | <term><command>sg_ses</command></term>
|
---|
| 854 | <listitem>
|
---|
[e355d777] | 855 | <para>
|
---|
| 856 | sends controls and fetch status from a SCSI Enclosure Services
|
---|
| 857 | (SES) device.
|
---|
| 858 | </para>
|
---|
[ab0972f] | 859 | <indexterm zone="sg3_utils sg_ses">
|
---|
| 860 | <primary sortas="b-sg_ses">sg_ses</primary>
|
---|
| 861 | </indexterm>
|
---|
| 862 | </listitem>
|
---|
| 863 | </varlistentry>
|
---|
| 864 |
|
---|
[c93612f2] | 865 | <varlistentry id="sg_ses_microcode">
|
---|
| 866 | <term><command>sg_ses_microcode</command></term>
|
---|
| 867 | <listitem>
|
---|
| 868 | <para>
|
---|
| 869 | sends microcode to a SCSI enclosure.
|
---|
| 870 | </para>
|
---|
| 871 | <indexterm zone="sg3_utils sg_ses_microcode">
|
---|
| 872 | <primary sortas="b-sg_ses_microcode">sg_ses_microcode</primary>
|
---|
| 873 | </indexterm>
|
---|
| 874 | </listitem>
|
---|
| 875 | </varlistentry>
|
---|
| 876 |
|
---|
[ab0972f] | 877 | <varlistentry id="sg_start">
|
---|
| 878 | <term><command>sg_start</command></term>
|
---|
| 879 | <listitem>
|
---|
[e355d777] | 880 | <para>
|
---|
[b69a5a5] | 881 | sends a SCSI START STOP UNIT command to start, stop, load or eject
|
---|
[e355d777] | 882 | medium.
|
---|
| 883 | </para>
|
---|
[ab0972f] | 884 | <indexterm zone="sg3_utils sg_start">
|
---|
| 885 | <primary sortas="b-sg_start">sg_start</primary>
|
---|
| 886 | </indexterm>
|
---|
| 887 | </listitem>
|
---|
| 888 | </varlistentry>
|
---|
| 889 |
|
---|
| 890 | <varlistentry id="sg_stpg">
|
---|
| 891 | <term><command>sg_stpg</command></term>
|
---|
| 892 | <listitem>
|
---|
[e355d777] | 893 | <para>
|
---|
| 894 | sends a SCSI SET TARGET PORT GROUPS command.
|
---|
| 895 | </para>
|
---|
[ab0972f] | 896 | <indexterm zone="sg3_utils sg_stpg">
|
---|
| 897 | <primary sortas="b-sg_stpg">sg_stpg</primary>
|
---|
| 898 | </indexterm>
|
---|
| 899 | </listitem>
|
---|
| 900 | </varlistentry>
|
---|
| 901 |
|
---|
[8ef150f] | 902 | <varlistentry id="sg_stream_ctl">
|
---|
| 903 | <term><command>sg_stream_ctl</command></term>
|
---|
| 904 | <listitem>
|
---|
| 905 | <para>
|
---|
| 906 | performs a SCSI STREAM CONTROL or GET STREAM STATUS command on a device
|
---|
| 907 | to open or close an I/O stream.
|
---|
| 908 | </para>
|
---|
| 909 | <indexterm zone="sg3_utils sg_stream_ctl">
|
---|
| 910 | <primary sortas="sg3_utils sg_stream_ctl">sg_stream_ctl</primary>
|
---|
| 911 | </indexterm>
|
---|
| 912 | </listitem>
|
---|
| 913 | </varlistentry>
|
---|
| 914 |
|
---|
[ab0972f] | 915 | <varlistentry id="sg_sync">
|
---|
| 916 | <term><command>sg_sync</command></term>
|
---|
| 917 | <listitem>
|
---|
[e355d777] | 918 | <para>
|
---|
| 919 | sends the scsi command synchronize cache.
|
---|
| 920 | </para>
|
---|
[ab0972f] | 921 | <indexterm zone="sg3_utils sg_sync">
|
---|
| 922 | <primary sortas="b-sg_sync">sg_sync</primary>
|
---|
| 923 | </indexterm>
|
---|
| 924 | </listitem>
|
---|
| 925 | </varlistentry>
|
---|
| 926 |
|
---|
| 927 | <varlistentry id="sg_test_rwbuf">
|
---|
| 928 | <term><command>sg_test_rwbuf</command></term>
|
---|
| 929 | <listitem>
|
---|
[e355d777] | 930 | <para>
|
---|
| 931 | tests the SCSI host adapter by issuing write and read operations
|
---|
| 932 | on a device's buffer and calculating checksums.
|
---|
| 933 | </para>
|
---|
[ab0972f] | 934 | <indexterm zone="sg3_utils sg_test_rwbuf">
|
---|
| 935 | <primary sortas="b-sg_test_rwbuf">sg_test_rwbuf</primary>
|
---|
| 936 | </indexterm>
|
---|
| 937 | </listitem>
|
---|
| 938 | </varlistentry>
|
---|
| 939 |
|
---|
| 940 | <varlistentry id="sg_turs">
|
---|
| 941 | <term><command>sg_turs</command></term>
|
---|
| 942 | <listitem>
|
---|
[e355d777] | 943 | <para>
|
---|
| 944 | sends one or more SCSI TEST UNIT READY commands.
|
---|
| 945 | </para>
|
---|
[ab0972f] | 946 | <indexterm zone="sg3_utils sg_turs">
|
---|
| 947 | <primary sortas="b-sg_turs">sg_turs</primary>
|
---|
| 948 | </indexterm>
|
---|
| 949 | </listitem>
|
---|
| 950 | </varlistentry>
|
---|
| 951 |
|
---|
| 952 | <varlistentry id="sg_unmap">
|
---|
| 953 | <term><command>sg_unmap</command></term>
|
---|
| 954 | <listitem>
|
---|
[e355d777] | 955 | <para>
|
---|
| 956 | sends a SCSI UNMAP command.
|
---|
| 957 | </para>
|
---|
[ab0972f] | 958 | <indexterm zone="sg3_utils sg_unmap">
|
---|
| 959 | <primary sortas="b-sg_unmap">sg_unmap</primary>
|
---|
| 960 | </indexterm>
|
---|
| 961 | </listitem>
|
---|
| 962 | </varlistentry>
|
---|
| 963 |
|
---|
| 964 | <varlistentry id="sg_verify">
|
---|
| 965 | <term><command>sg_verify</command></term>
|
---|
| 966 | <listitem>
|
---|
[e355d777] | 967 | <para>
|
---|
[b69a5a5] | 968 | invokes SCSI VERIFY command(s) on a block device.
|
---|
[e355d777] | 969 | </para>
|
---|
[ab0972f] | 970 | <indexterm zone="sg3_utils sg_verify">
|
---|
| 971 | <primary sortas="b-sg_verify">sg_verify</primary>
|
---|
| 972 | </indexterm>
|
---|
| 973 | </listitem>
|
---|
| 974 | </varlistentry>
|
---|
| 975 |
|
---|
| 976 | <varlistentry id="sg_vpd">
|
---|
| 977 | <term><command>sg_vpd</command></term>
|
---|
| 978 | <listitem>
|
---|
[e355d777] | 979 | <para>
|
---|
| 980 | fetches Vital Product Data (VPD) pages using a SCSI INQUIRY
|
---|
| 981 | command.
|
---|
| 982 | </para>
|
---|
[ab0972f] | 983 | <indexterm zone="sg3_utils sg_vpd">
|
---|
| 984 | <primary sortas="b-sg_vpd">sg_vpd</primary>
|
---|
| 985 | </indexterm>
|
---|
| 986 | </listitem>
|
---|
| 987 | </varlistentry>
|
---|
| 988 |
|
---|
| 989 | <varlistentry id="sg_write_buffer">
|
---|
| 990 | <term><command>sg_write_buffer</command></term>
|
---|
| 991 | <listitem>
|
---|
[e355d777] | 992 | <para>
|
---|
| 993 | sends a SCSI WRITE BUFFER command.
|
---|
| 994 | </para>
|
---|
[ab0972f] | 995 | <indexterm zone="sg3_utils sg_write_buffer">
|
---|
| 996 | <primary sortas="b-sg_write_buffer">sg_write_buffer</primary>
|
---|
| 997 | </indexterm>
|
---|
| 998 | </listitem>
|
---|
| 999 | </varlistentry>
|
---|
| 1000 |
|
---|
| 1001 | <varlistentry id="sg_write_long">
|
---|
| 1002 | <term><command>sg_write_long</command></term>
|
---|
| 1003 | <listitem>
|
---|
[e355d777] | 1004 | <para>
|
---|
| 1005 | sends the SCSI WRITE LONG command.
|
---|
| 1006 | </para>
|
---|
[ab0972f] | 1007 | <indexterm zone="sg3_utils sg_write_long">
|
---|
| 1008 | <primary sortas="b-sg_write_long">sg_write_long</primary>
|
---|
| 1009 | </indexterm>
|
---|
| 1010 | </listitem>
|
---|
| 1011 | </varlistentry>
|
---|
| 1012 |
|
---|
| 1013 | <varlistentry id="sg_write_same">
|
---|
| 1014 | <term><command>sg_write_same</command></term>
|
---|
| 1015 | <listitem>
|
---|
[e355d777] | 1016 | <para>
|
---|
| 1017 | sends the SCSI WRITE SAME command.
|
---|
| 1018 | </para>
|
---|
[ab0972f] | 1019 | <indexterm zone="sg3_utils sg_write_same">
|
---|
| 1020 | <primary sortas="b-sg_write_same">sg_write_same</primary>
|
---|
| 1021 | </indexterm>
|
---|
| 1022 | </listitem>
|
---|
| 1023 | </varlistentry>
|
---|
| 1024 |
|
---|
[c93612f2] | 1025 | <varlistentry id="sg_write_verify">
|
---|
| 1026 | <term><command>sg_write_verify</command></term>
|
---|
| 1027 | <listitem>
|
---|
| 1028 | <para>
|
---|
| 1029 | sends the SCSI WRITE AND VERIFY command.
|
---|
| 1030 | </para>
|
---|
[8ef150f] | 1031 | <indexterm zone="sg3_utils sg_write_verify">
|
---|
| 1032 | <primary sortas="b-sg_write_verify">sg_write_verify</primary>
|
---|
| 1033 | </indexterm>
|
---|
| 1034 | </listitem>
|
---|
| 1035 | </varlistentry>
|
---|
| 1036 |
|
---|
| 1037 | <varlistentry id="sg_write_x">
|
---|
| 1038 | <term><command>sg_write_x</command></term>
|
---|
| 1039 | <listitem>
|
---|
| 1040 | <para>
|
---|
| 1041 | performs SCSI WRITE commands on a device.
|
---|
| 1042 | </para>
|
---|
| 1043 | <indexterm zone="sg3_utils sg_write_x">
|
---|
| 1044 | <primary sortas="b-sg_write_x">sg_write_x</primary>
|
---|
[c93612f2] | 1045 | </indexterm>
|
---|
| 1046 | </listitem>
|
---|
| 1047 | </varlistentry>
|
---|
| 1048 |
|
---|
[ab0972f] | 1049 | <varlistentry id="sg_wr_mode">
|
---|
| 1050 | <term><command>sg_wr_mode</command></term>
|
---|
| 1051 | <listitem>
|
---|
[e355d777] | 1052 | <para>
|
---|
| 1053 | writes mode page.
|
---|
| 1054 | </para>
|
---|
[ab0972f] | 1055 | <indexterm zone="sg3_utils sg_wr_mode">
|
---|
| 1056 | <primary sortas="b-sg_wr_mode">sg_wr_mode</primary>
|
---|
| 1057 | </indexterm>
|
---|
| 1058 | </listitem>
|
---|
| 1059 | </varlistentry>
|
---|
| 1060 |
|
---|
[5b38e37] | 1061 | <varlistentry id="sg_xcopy">
|
---|
| 1062 | <term><command>sg_xcopy</command></term>
|
---|
| 1063 | <listitem>
|
---|
| 1064 | <para>
|
---|
| 1065 | copies data to and from files and devices
|
---|
| 1066 | using SCSI EXTENDED COPY (XCOPY).
|
---|
| 1067 | </para>
|
---|
| 1068 | <indexterm zone="sg3_utils sg_xcopy">
|
---|
| 1069 | <primary sortas="b-sg_xcopy">sg_xcopy</primary>
|
---|
| 1070 | </indexterm>
|
---|
| 1071 | </listitem>
|
---|
| 1072 | </varlistentry>
|
---|
| 1073 |
|
---|
[8ef150f] | 1074 | <varlistentry id="sg_zone">
|
---|
| 1075 | <term><command>sg_zone</command></term>
|
---|
| 1076 | <listitem>
|
---|
| 1077 | <para>
|
---|
| 1078 | performs SCSI ZONE commands on a device, such as OPEN, CLOSE, FINISH
|
---|
| 1079 | or SEQUENTIALIZE.
|
---|
| 1080 | </para>
|
---|
| 1081 | <indexterm zone="sg3_utils sg_zone">
|
---|
| 1082 | <primary sortas="b-sg_zone">sg_zone</primary>
|
---|
| 1083 | </indexterm>
|
---|
| 1084 | </listitem>
|
---|
| 1085 | </varlistentry>
|
---|
| 1086 |
|
---|
[ab0972f] | 1087 | <varlistentry id="libsgutils2">
|
---|
[5b38e37] | 1088 | <term><filename class="libraryfile">libsgutils2.so</filename></term>
|
---|
[ab0972f] | 1089 | <listitem>
|
---|
[e355d777] | 1090 | <para>
|
---|
| 1091 | contains the <application>sg3_utils</application> API functions.
|
---|
| 1092 | </para>
|
---|
[ab0972f] | 1093 | <indexterm zone="sg3_utils libsgutils2">
|
---|
[e355d777] | 1094 | <primary sortas="c-libsgutils2">libsgutils2.so</primary>
|
---|
[ab0972f] | 1095 | </indexterm>
|
---|
| 1096 | </listitem>
|
---|
| 1097 | </varlistentry>
|
---|
| 1098 |
|
---|
| 1099 | </variablelist>
|
---|
| 1100 |
|
---|
| 1101 | </sect2>
|
---|
| 1102 |
|
---|
| 1103 | </sect1>
|
---|