[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 " ">
|
---|
[511f7c8f] | 9 | <!ENTITY sg3_utils-md5sum "11854fedf831adfd39438dc5ac9202e9">
|
---|
| 10 | <!ENTITY sg3_utils-size "1008 KB">
|
---|
| 11 | <!ENTITY sg3_utils-buildsize "31 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 |
|
---|
[66d551c] | 41 | &lfs101_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>
|
---|
[511f7c8f] | 135 | rescan-scsi-bus.sh, scsi_logging_level, scsi_mandat, scsi_readcap,
|
---|
| 136 | scsi_ready, scsi_satl, scsi_start, scsi_stop, scsi_temperature,
|
---|
| 137 | sg_bg_ctl, sg_compare_and_write, sg_copy_results, sg_dd,
|
---|
| 138 | sg_decode_sense, sg_emc_trespass, sg_format,
|
---|
[c93612f2] | 139 | sg_get_config, sg_get_lba_status, sg_ident, sg_inq, sg_logs, sg_luns,
|
---|
| 140 | sg_map, sg_map26, sg_modes, sg_opcodes, sg_persist, sg_prevent,
|
---|
[8ef150f] | 141 | sg_raw, sg_rbuf, sg_rdac, sg_read, sg_read_attr, sg_read_block_limits,
|
---|
[c93612f2] | 142 | sg_read_buffer, sg_read_long, sg_readcap, sg_reassign, sg_referrals,
|
---|
[511f7c8f] | 143 | sg_rep_pip, sg_rep_zones, sg_requests, sg_reset, sg_reset_wp,
|
---|
| 144 | sg_rmsn, sg_rtpg, sg_safte, sg_sanitize, sg_sat_identify,
|
---|
| 145 | sg_sat_phy_event, sg_sat_read_gplog, sg_sat_set_features, sg_scan,
|
---|
| 146 | sg_seek, sg_senddiag, sg_ses, sg_ses_microcode, sg_start, sg_stpg,
|
---|
| 147 | sg_stream_ctl, sg_sync, sg_test_rwbuf, sg_timestamp,
|
---|
[8ef150f] | 148 | sg_turs, sg_unmap, sg_verify, sg_vpd, sg_wr_mode, sg_write_buffer,
|
---|
| 149 | sg_write_long, sg_write_same, sg_write_verify, sg_write_x, sg_xcopy, sg_zone,
|
---|
| 150 | sginfo, sgm_dd, and sgp_dd
|
---|
[e355d777] | 151 | </seg>
|
---|
| 152 | <seg>
|
---|
| 153 | libsgutils2.so
|
---|
| 154 | </seg>
|
---|
[c3c56b2] | 155 | <seg>
|
---|
| 156 | None
|
---|
| 157 | </seg>
|
---|
[ab0972f] | 158 | </seglistitem>
|
---|
| 159 | </segmentedlist>
|
---|
| 160 |
|
---|
| 161 | <variablelist>
|
---|
| 162 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 163 | <?dbfo list-presentation="list"?>
|
---|
| 164 | <?dbhtml list-presentation="table"?>
|
---|
| 165 |
|
---|
[511f7c8f] | 166 | <varlistentry id="rescan-scsi-bus.sh">
|
---|
| 167 | <term><command>rescan-scsi-bus.sh</command></term>
|
---|
| 168 | <listitem>
|
---|
| 169 | <para>
|
---|
| 170 | adds or removes SCSI devices without having to reboot
|
---|
| 171 | </para>
|
---|
| 172 | <indexterm zone="sg3_utils rescan-scsi-bus.sh">
|
---|
| 173 | <primary sortas="b-rescan-scsi-bus.sh">rescan-scsi-bus.sh</primary>
|
---|
| 174 | </indexterm>
|
---|
| 175 | </listitem>
|
---|
| 176 | </varlistentry>
|
---|
| 177 |
|
---|
[af5248e2] | 178 | <varlistentry id="scsi_logging_level">
|
---|
| 179 | <term><command>scsi_logging_level</command></term>
|
---|
| 180 | <listitem>
|
---|
| 181 | <para>
|
---|
[4c24eb0a] | 182 | accesses Linux SCSI logging level information
|
---|
[af5248e2] | 183 | </para>
|
---|
| 184 | <indexterm zone="sg3_utils scsi_logging_level">
|
---|
| 185 | <primary sortas="b-scsi_logging_level">scsi_logging_level</primary>
|
---|
| 186 | </indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
| 189 |
|
---|
| 190 | <varlistentry id="scsi_mandat">
|
---|
| 191 | <term><command>scsi_mandat</command></term>
|
---|
| 192 | <listitem>
|
---|
| 193 | <para>
|
---|
[4c24eb0a] | 194 | checks SCSI device support for mandatory commands
|
---|
[af5248e2] | 195 | </para>
|
---|
| 196 | <indexterm zone="sg3_utils scsi_mandat">
|
---|
| 197 | <primary sortas="b-scsi_mandat">scsi_mandat</primary>
|
---|
| 198 | </indexterm>
|
---|
| 199 | </listitem>
|
---|
| 200 | </varlistentry>
|
---|
| 201 |
|
---|
| 202 | <varlistentry id="scsi_readcap">
|
---|
| 203 | <term><command>scsi_readcap</command></term>
|
---|
| 204 | <listitem>
|
---|
| 205 | <para>
|
---|
[4c24eb0a] | 206 | does the SCSI READ CAPACITY command on disks
|
---|
[af5248e2] | 207 | </para>
|
---|
| 208 | <indexterm zone="sg3_utils scsi_readcap">
|
---|
| 209 | <primary sortas="b-scsi_readcap">scsi_readcap</primary>
|
---|
| 210 | </indexterm>
|
---|
| 211 | </listitem>
|
---|
| 212 | </varlistentry>
|
---|
| 213 |
|
---|
| 214 | <varlistentry id="scsi_ready">
|
---|
| 215 | <term><command>scsi_ready</command></term>
|
---|
| 216 | <listitem>
|
---|
| 217 | <para>
|
---|
[4c24eb0a] | 218 | does the SCSI TEST UNIT READY on devices
|
---|
[af5248e2] | 219 | </para>
|
---|
| 220 | <indexterm zone="sg3_utils scsi_ready">
|
---|
| 221 | <primary sortas="b-scsi_ready">scsi_ready</primary>
|
---|
| 222 | </indexterm>
|
---|
| 223 | </listitem>
|
---|
| 224 | </varlistentry>
|
---|
| 225 |
|
---|
| 226 | <varlistentry id="scsi_satl">
|
---|
| 227 | <term><command>scsi_satl</command></term>
|
---|
| 228 | <listitem>
|
---|
| 229 | <para>
|
---|
[4c24eb0a] | 230 | checks for SCSI to ATA Translation (SAT) device support
|
---|
[af5248e2] | 231 | </para>
|
---|
| 232 | <indexterm zone="sg3_utils scsi_satl">
|
---|
| 233 | <primary sortas="b-scsi_satl">scsi_satl</primary>
|
---|
| 234 | </indexterm>
|
---|
| 235 | </listitem>
|
---|
| 236 | </varlistentry>
|
---|
| 237 |
|
---|
| 238 | <varlistentry id="scsi_start">
|
---|
| 239 | <term><command>scsi_start</command></term>
|
---|
| 240 | <listitem>
|
---|
| 241 | <para>
|
---|
[4c24eb0a] | 242 | starts one or more SCSI disks
|
---|
[af5248e2] | 243 | </para>
|
---|
| 244 | <indexterm zone="sg3_utils scsi_start">
|
---|
| 245 | <primary sortas="b-scsi_start">scsi_start</primary>
|
---|
| 246 | </indexterm>
|
---|
| 247 | </listitem>
|
---|
| 248 | </varlistentry>
|
---|
| 249 |
|
---|
| 250 | <varlistentry id="scsi_stop">
|
---|
| 251 | <term><command>scsi_stop</command></term>
|
---|
| 252 | <listitem>
|
---|
| 253 | <para>
|
---|
[4c24eb0a] | 254 | stops one or more SCSI disks
|
---|
[af5248e2] | 255 | </para>
|
---|
| 256 | <indexterm zone="sg3_utils scsi_stop">
|
---|
| 257 | <primary sortas="b-scsi_stop">scsi_stop</primary>
|
---|
| 258 | </indexterm>
|
---|
| 259 | </listitem>
|
---|
| 260 | </varlistentry>
|
---|
| 261 |
|
---|
| 262 | <varlistentry id="scsi_temperature">
|
---|
| 263 | <term><command>scsi_temperature</command></term>
|
---|
| 264 | <listitem>
|
---|
| 265 | <para>
|
---|
[4c24eb0a] | 266 | fetches the temperature of a SCSI device
|
---|
[af5248e2] | 267 | </para>
|
---|
| 268 | <indexterm zone="sg3_utils scsi_temperature">
|
---|
| 269 | <primary sortas="b-scsi_temperature">scsi_temperature</primary>
|
---|
| 270 | </indexterm>
|
---|
| 271 | </listitem>
|
---|
| 272 | </varlistentry>
|
---|
| 273 |
|
---|
[8ef150f] | 274 | <varlistentry id="sg_bg_ctl">
|
---|
| 275 | <term><command>sg_bg_ctl</command></term>
|
---|
| 276 | <listitem>
|
---|
| 277 | <para>
|
---|
| 278 | performs a SCSI BACKGROUND CONTROL command on a device to perform
|
---|
[4c24eb0a] | 279 | "advanced background operations"
|
---|
[8ef150f] | 280 | </para>
|
---|
| 281 | <indexterm zone="sg3_utils sg_bg_ctl">
|
---|
| 282 | <primary sortas="b-sg_bg_ctl">sg_bg_ctl</primary>
|
---|
| 283 | </indexterm>
|
---|
| 284 | </listitem>
|
---|
| 285 | </varlistentry>
|
---|
| 286 |
|
---|
[5b38e37] | 287 | <varlistentry id="sg_compare_and_write">
|
---|
| 288 | <term><command>sg_compare_and_write</command></term>
|
---|
| 289 | <listitem>
|
---|
| 290 | <para>
|
---|
[4c24eb0a] | 291 | sends the SCSI COMPARE AND WRITE command to device
|
---|
[5b38e37] | 292 | </para>
|
---|
| 293 | <indexterm zone="sg3_utils sg_compare_and_write">
|
---|
| 294 | <primary sortas="b-sg_compare_and_write">sg_compare_and_write</primary>
|
---|
| 295 | </indexterm>
|
---|
| 296 | </listitem>
|
---|
| 297 | </varlistentry>
|
---|
| 298 |
|
---|
| 299 | <varlistentry id="sg_copy_results">
|
---|
| 300 | <term><command>sg_copy_results</command></term>
|
---|
| 301 | <listitem>
|
---|
| 302 | <para>
|
---|
[4c24eb0a] | 303 | sends the SCSI RECEIVE COPY RESULTS command (XCOPY related)
|
---|
[5b38e37] | 304 | </para>
|
---|
| 305 | <indexterm zone="sg3_utils sg_copy_results">
|
---|
| 306 | <primary sortas="b-sg_copy_results">sg_copy_results</primary>
|
---|
| 307 | </indexterm>
|
---|
| 308 | </listitem>
|
---|
| 309 | </varlistentry>
|
---|
| 310 |
|
---|
[ab0972f] | 311 | <varlistentry id="sg_dd">
|
---|
| 312 | <term><command>sg_dd</command></term>
|
---|
| 313 | <listitem>
|
---|
[e355d777] | 314 | <para>
|
---|
| 315 | copies data to and from files and devices. Specialised for
|
---|
[4c24eb0a] | 316 | devices that understand the SCSI command set
|
---|
[e355d777] | 317 | </para>
|
---|
[ab0972f] | 318 | <indexterm zone="sg3_utils sg_dd">
|
---|
| 319 | <primary sortas="b-sg_dd">sg_dd</primary>
|
---|
| 320 | </indexterm>
|
---|
| 321 | </listitem>
|
---|
| 322 | </varlistentry>
|
---|
| 323 |
|
---|
[e355d777] | 324 | <varlistentry id="sg_decode_sense">
|
---|
| 325 | <term><command>sg_decode_sense</command></term>
|
---|
| 326 | <listitem>
|
---|
| 327 | <para>
|
---|
| 328 | takes SCSI sense data in binary or as a sequence
|
---|
[4c24eb0a] | 329 | of ASCII hexadecimal bytes and decodes it
|
---|
[e355d777] | 330 | </para>
|
---|
| 331 | <indexterm zone="sg3_utils sg_decode_sense">
|
---|
| 332 | <primary sortas="b-sg_decode_sense">sg_decode_sense</primary>
|
---|
| 333 | </indexterm>
|
---|
| 334 | </listitem>
|
---|
| 335 | </varlistentry>
|
---|
| 336 |
|
---|
[ab0972f] | 337 | <varlistentry id="sg_emc_trespass">
|
---|
| 338 | <term><command>sg_emc_trespass</command></term>
|
---|
| 339 | <listitem>
|
---|
[e355d777] | 340 | <para>
|
---|
| 341 | changes ownership of a LUN from another Service-Processor to
|
---|
[4c24eb0a] | 342 | this one
|
---|
[e355d777] | 343 | </para>
|
---|
[ab0972f] | 344 | <indexterm zone="sg3_utils sg_emc_trespass">
|
---|
| 345 | <primary sortas="b-sg_emc_trespass">sg_emc_trespass</primary>
|
---|
| 346 | </indexterm>
|
---|
| 347 | </listitem>
|
---|
| 348 | </varlistentry>
|
---|
| 349 |
|
---|
| 350 | <varlistentry id="sg_format">
|
---|
| 351 | <term><command>sg_format</command></term>
|
---|
| 352 | <listitem>
|
---|
[e355d777] | 353 | <para>
|
---|
[4c24eb0a] | 354 | formats or resizes a SCSI disk (perhaps changes its block size)
|
---|
[e355d777] | 355 | </para>
|
---|
[ab0972f] | 356 | <indexterm zone="sg3_utils sg_format">
|
---|
| 357 | <primary sortas="b-sg_format">sg_format</primary>
|
---|
| 358 | </indexterm>
|
---|
| 359 | </listitem>
|
---|
| 360 | </varlistentry>
|
---|
| 361 |
|
---|
| 362 | <varlistentry id="sg_get_config">
|
---|
| 363 | <term><command>sg_get_config</command></term>
|
---|
| 364 | <listitem>
|
---|
[e355d777] | 365 | <para>
|
---|
[4c24eb0a] | 366 | sends a SCSI GET CONFIGURATION command (MMC-4 +)
|
---|
[e355d777] | 367 | </para>
|
---|
[ab0972f] | 368 | <indexterm zone="sg3_utils sg_get_config">
|
---|
| 369 | <primary sortas="b-sg_get_config">sg_get_config</primary>
|
---|
| 370 | </indexterm>
|
---|
| 371 | </listitem>
|
---|
| 372 | </varlistentry>
|
---|
| 373 |
|
---|
[ba718791] | 374 | <varlistentry id="sg_get_elem_status">
|
---|
| 375 | <term><command>sg_get_elem_status</command></term>
|
---|
| 376 | <listitem>
|
---|
| 377 | <para>
|
---|
[4c24eb0a] | 378 | sends a SCSI GET PHYSICAL ELEMENT STATUS command to a device
|
---|
[ba718791] | 379 | </para>
|
---|
| 380 | <indexterm zone="sg3_utils sg_get_elem_status">
|
---|
| 381 | <primary sortas="b-sg_get_elem_status">sg_get_elem_status</primary>
|
---|
| 382 | </indexterm>
|
---|
| 383 | </listitem>
|
---|
| 384 | </varlistentry>
|
---|
| 385 |
|
---|
[ab0972f] | 386 | <varlistentry id="sg_get_lba_status">
|
---|
| 387 | <term><command>sg_get_lba_status</command></term>
|
---|
| 388 | <listitem>
|
---|
[e355d777] | 389 | <para>
|
---|
[4c24eb0a] | 390 | sends the SCSI GET LBA STATUS command
|
---|
[e355d777] | 391 | </para>
|
---|
[ab0972f] | 392 | <indexterm zone="sg3_utils sg_get_lba_status">
|
---|
| 393 | <primary sortas="b-sg_get_lba_status">sg_get_lba_status</primary>
|
---|
| 394 | </indexterm>
|
---|
| 395 | </listitem>
|
---|
| 396 | </varlistentry>
|
---|
| 397 |
|
---|
| 398 | <varlistentry id="sg_ident">
|
---|
| 399 | <term><command>sg_ident</command></term>
|
---|
| 400 | <listitem>
|
---|
[e355d777] | 401 | <para>
|
---|
[4c24eb0a] | 402 | sends a SCSI REPORT or SET IDENTIFYING INFORMATION command
|
---|
[e355d777] | 403 | </para>
|
---|
[ab0972f] | 404 | <indexterm zone="sg3_utils sg_ident">
|
---|
| 405 | <primary sortas="b-sg_ident">sg_ident</primary>
|
---|
| 406 | </indexterm>
|
---|
| 407 | </listitem>
|
---|
| 408 | </varlistentry>
|
---|
| 409 |
|
---|
| 410 | <varlistentry id="sginfo">
|
---|
| 411 | <term><command>sginfo</command></term>
|
---|
| 412 | <listitem>
|
---|
[e355d777] | 413 | <para>
|
---|
[4c24eb0a] | 414 | access mode page information for a SCSI (or ATAPI) device
|
---|
[e355d777] | 415 | </para>
|
---|
[ab0972f] | 416 | <indexterm zone="sg3_utils sginfo">
|
---|
| 417 | <primary sortas="b-sginfo">sginfo</primary>
|
---|
| 418 | </indexterm>
|
---|
| 419 | </listitem>
|
---|
| 420 | </varlistentry>
|
---|
| 421 |
|
---|
| 422 | <varlistentry id="sg_inq">
|
---|
| 423 | <term><command>sg_inq</command></term>
|
---|
| 424 | <listitem>
|
---|
[e355d777] | 425 | <para>
|
---|
| 426 | sends a SCSI INQUIRY or ATA IDENTIFY (PACKET) DEVICE command and
|
---|
[4c24eb0a] | 427 | outputs the response
|
---|
[e355d777] | 428 | </para>
|
---|
[ab0972f] | 429 | <indexterm zone="sg3_utils sg_inq">
|
---|
| 430 | <primary sortas="b-sg_inq">sg_inq</primary>
|
---|
| 431 | </indexterm>
|
---|
| 432 | </listitem>
|
---|
| 433 | </varlistentry>
|
---|
| 434 |
|
---|
| 435 | <varlistentry id="sg_logs">
|
---|
| 436 | <term><command>sg_logs</command></term>
|
---|
| 437 | <listitem>
|
---|
[e355d777] | 438 | <para>
|
---|
[4c24eb0a] | 439 | access log pages with SCSI LOG SENSE command
|
---|
[e355d777] | 440 | </para>
|
---|
[ab0972f] | 441 | <indexterm zone="sg3_utils sg_logs">
|
---|
| 442 | <primary sortas="b-sg_logs">sg_logs</primary>
|
---|
| 443 | </indexterm>
|
---|
| 444 | </listitem>
|
---|
| 445 | </varlistentry>
|
---|
| 446 |
|
---|
| 447 | <varlistentry id="sg_luns">
|
---|
| 448 | <term><command>sg_luns</command></term>
|
---|
| 449 | <listitem>
|
---|
[e355d777] | 450 | <para>
|
---|
[4c24eb0a] | 451 | sends the SCSI REPORT LUNS command
|
---|
[e355d777] | 452 | </para>
|
---|
[ab0972f] | 453 | <indexterm zone="sg3_utils sg_luns">
|
---|
| 454 | <primary sortas="b-sg_luns">sg_luns</primary>
|
---|
| 455 | </indexterm>
|
---|
| 456 | </listitem>
|
---|
| 457 | </varlistentry>
|
---|
| 458 |
|
---|
| 459 | <varlistentry id="sg_map">
|
---|
| 460 | <term><command>sg_map</command></term>
|
---|
| 461 | <listitem>
|
---|
[e355d777] | 462 | <para>
|
---|
[4c24eb0a] | 463 | displays mapping between linux sg and other SCSI devices
|
---|
[e355d777] | 464 | </para>
|
---|
[ab0972f] | 465 | <indexterm zone="sg3_utils sg_map">
|
---|
| 466 | <primary sortas="b-sg_map">sg_map</primary>
|
---|
| 467 | </indexterm>
|
---|
| 468 | </listitem>
|
---|
| 469 | </varlistentry>
|
---|
| 470 |
|
---|
| 471 | <varlistentry id="sg_map26">
|
---|
| 472 | <term><command>sg_map26</command></term>
|
---|
| 473 | <listitem>
|
---|
[e355d777] | 474 | <para>
|
---|
[4c24eb0a] | 475 | maps a special file to a SCSI generic (sg) device (or vice versa)
|
---|
[e355d777] | 476 | </para>
|
---|
[ab0972f] | 477 | <indexterm zone="sg3_utils sg_map26">
|
---|
| 478 | <primary sortas="b-sg_map26">sg_map26</primary>
|
---|
| 479 | </indexterm>
|
---|
| 480 | </listitem>
|
---|
| 481 | </varlistentry>
|
---|
| 482 |
|
---|
| 483 | <varlistentry id="sgm_dd">
|
---|
| 484 | <term><command>sgm_dd</command></term>
|
---|
| 485 | <listitem>
|
---|
[e355d777] | 486 | <para>
|
---|
| 487 | copies data to and from files and devices. Specialized for
|
---|
| 488 | devices that understand the SCSI command set and does memory mapped
|
---|
[4c24eb0a] | 489 | transfers from sg devices
|
---|
[e355d777] | 490 | </para>
|
---|
[ab0972f] | 491 | <indexterm zone="sg3_utils sgm_dd">
|
---|
| 492 | <primary sortas="b-sgm_dd">sgm_dd</primary>
|
---|
| 493 | </indexterm>
|
---|
| 494 | </listitem>
|
---|
| 495 | </varlistentry>
|
---|
| 496 |
|
---|
| 497 | <varlistentry id="sg_modes">
|
---|
| 498 | <term><command>sg_modes</command></term>
|
---|
| 499 | <listitem>
|
---|
[e355d777] | 500 | <para>
|
---|
[511f7c8f] | 501 | reads mode pages with the SCSI MODE SENSE command
|
---|
[e355d777] | 502 | </para>
|
---|
[ab0972f] | 503 | <indexterm zone="sg3_utils sg_modes">
|
---|
| 504 | <primary sortas="b-sg_modes">sg_modes</primary>
|
---|
| 505 | </indexterm>
|
---|
| 506 | </listitem>
|
---|
| 507 | </varlistentry>
|
---|
| 508 |
|
---|
| 509 | <varlistentry id="sg_opcodes">
|
---|
| 510 | <term><command>sg_opcodes</command></term>
|
---|
| 511 | <listitem>
|
---|
[e355d777] | 512 | <para>
|
---|
| 513 | reports information on supported SCSI commands or task
|
---|
[4c24eb0a] | 514 | management functions
|
---|
[e355d777] | 515 | </para>
|
---|
[ab0972f] | 516 | <indexterm zone="sg3_utils sg_opcodes">
|
---|
| 517 | <primary sortas="b-sg_opcodes">sg_opcodes</primary>
|
---|
| 518 | </indexterm>
|
---|
| 519 | </listitem>
|
---|
| 520 | </varlistentry>
|
---|
| 521 |
|
---|
| 522 | <varlistentry id="sgp_dd">
|
---|
| 523 | <term><command>sgp_dd</command></term>
|
---|
| 524 | <listitem>
|
---|
[e355d777] | 525 | <para>
|
---|
| 526 | copies data to and from files and devices. Specialized for
|
---|
[4c24eb0a] | 527 | devices that understand the SCSI command set
|
---|
[e355d777] | 528 | </para>
|
---|
[ab0972f] | 529 | <indexterm zone="sg3_utils sgp_dd">
|
---|
| 530 | <primary sortas="b-sgp_dd">sgp_dd</primary>
|
---|
| 531 | </indexterm>
|
---|
| 532 | </listitem>
|
---|
| 533 | </varlistentry>
|
---|
| 534 |
|
---|
| 535 | <varlistentry id="sg_persist">
|
---|
| 536 | <term><command>sg_persist</command></term>
|
---|
| 537 | <listitem>
|
---|
[e355d777] | 538 | <para>
|
---|
| 539 | sends a SCSI PERSISTENT RESERVE (IN or OUT) command to
|
---|
[4c24eb0a] | 540 | manipulate registrations and reservations
|
---|
[e355d777] | 541 | </para>
|
---|
[ab0972f] | 542 | <indexterm zone="sg3_utils sg_persist">
|
---|
| 543 | <primary sortas="b-sg_persist">sg_persist</primary>
|
---|
| 544 | </indexterm>
|
---|
| 545 | </listitem>
|
---|
| 546 | </varlistentry>
|
---|
| 547 |
|
---|
| 548 | <varlistentry id="sg_prevent">
|
---|
| 549 | <term><command>sg_prevent</command></term>
|
---|
| 550 | <listitem>
|
---|
[e355d777] | 551 | <para>
|
---|
[4c24eb0a] | 552 | sends a SCSI PREVENT ALLOW MEDIUM REMOVAL command
|
---|
[e355d777] | 553 | </para>
|
---|
[ab0972f] | 554 | <indexterm zone="sg3_utils sg_prevent">
|
---|
| 555 | <primary sortas="b-sg_prevent">sg_prevent</primary>
|
---|
| 556 | </indexterm>
|
---|
| 557 | </listitem>
|
---|
| 558 | </varlistentry>
|
---|
| 559 |
|
---|
| 560 | <varlistentry id="sg_raw">
|
---|
| 561 | <term><command>sg_raw</command></term>
|
---|
| 562 | <listitem>
|
---|
[e355d777] | 563 | <para>
|
---|
[4c24eb0a] | 564 | sends an arbitrary SCSI command to a device
|
---|
[e355d777] | 565 | </para>
|
---|
[ab0972f] | 566 | <indexterm zone="sg3_utils sg_raw">
|
---|
| 567 | <primary sortas="b-sg_raw">sg_raw</primary>
|
---|
| 568 | </indexterm>
|
---|
| 569 | </listitem>
|
---|
| 570 | </varlistentry>
|
---|
| 571 |
|
---|
| 572 | <varlistentry id="sg_rbuf">
|
---|
| 573 | <term><command>sg_rbuf</command></term>
|
---|
| 574 | <listitem>
|
---|
[e355d777] | 575 | <para>
|
---|
[511f7c8f] | 576 | reads data using the SCSI READ BUFFER command
|
---|
[e355d777] | 577 | </para>
|
---|
[ab0972f] | 578 | <indexterm zone="sg3_utils sg_rbuf">
|
---|
| 579 | <primary sortas="b-sg_rbuf">sg_rbuf</primary>
|
---|
| 580 | </indexterm>
|
---|
| 581 | </listitem>
|
---|
| 582 | </varlistentry>
|
---|
| 583 |
|
---|
| 584 | <varlistentry id="sg_rdac">
|
---|
| 585 | <term><command>sg_rdac</command></term>
|
---|
| 586 | <listitem>
|
---|
[e355d777] | 587 | <para>
|
---|
[511f7c8f] | 588 | displays or modifies the RDAC Redundant Controller Page
|
---|
[e355d777] | 589 | </para>
|
---|
[ab0972f] | 590 | <indexterm zone="sg3_utils sg_rdac">
|
---|
| 591 | <primary sortas="b-sg_rdac">sg_rdac</primary>
|
---|
| 592 | </indexterm>
|
---|
| 593 | </listitem>
|
---|
| 594 | </varlistentry>
|
---|
| 595 |
|
---|
| 596 | <varlistentry id="sg_read">
|
---|
| 597 | <term><command>sg_read</command></term>
|
---|
| 598 | <listitem>
|
---|
[e355d777] | 599 | <para>
|
---|
[4c24eb0a] | 600 | reads blocks of data continually from the same offset
|
---|
[e355d777] | 601 | </para>
|
---|
[ab0972f] | 602 | <indexterm zone="sg3_utils sg_read">
|
---|
| 603 | <primary sortas="b-sg_read">sg_read</primary>
|
---|
| 604 | </indexterm>
|
---|
| 605 | </listitem>
|
---|
| 606 | </varlistentry>
|
---|
| 607 |
|
---|
[8ef150f] | 608 | <varlistentry id="sg_read_attr">
|
---|
| 609 | <term><command>sg_read_attr</command></term>
|
---|
| 610 | <listitem>
|
---|
| 611 | <para>
|
---|
[4c24eb0a] | 612 | performs a SCSI READ ATTRIBUTE command on a device
|
---|
[8ef150f] | 613 | </para>
|
---|
| 614 | <indexterm zone="sg3_utils sg_read_attr">
|
---|
| 615 | <primary sortas="b-sg_read_attr">sg_read_attr</primary>
|
---|
| 616 | </indexterm>
|
---|
| 617 | </listitem>
|
---|
| 618 | </varlistentry>
|
---|
| 619 |
|
---|
[ab0972f] | 620 | <varlistentry id="sg_read_block_limits">
|
---|
| 621 | <term><command>sg_read_block_limits</command></term>
|
---|
| 622 | <listitem>
|
---|
[e355d777] | 623 | <para>
|
---|
[4c24eb0a] | 624 | sends a SCSI READ BLOCK LIMITS command
|
---|
[e355d777] | 625 | </para>
|
---|
[ab0972f] | 626 | <indexterm zone="sg3_utils sg_read_block_limits">
|
---|
| 627 | <primary sortas="b-sg_read_block_limits">sg_read_block_limits</primary>
|
---|
| 628 | </indexterm>
|
---|
| 629 | </listitem>
|
---|
| 630 | </varlistentry>
|
---|
| 631 |
|
---|
| 632 | <varlistentry id="sg_read_buffer">
|
---|
| 633 | <term><command>sg_read_buffer</command></term>
|
---|
| 634 | <listitem>
|
---|
[e355d777] | 635 | <para>
|
---|
[4c24eb0a] | 636 | sends a SCSI READ BUFFER command
|
---|
[e355d777] | 637 | </para>
|
---|
[ab0972f] | 638 | <indexterm zone="sg3_utils sg_read_buffer">
|
---|
| 639 | <primary sortas="b-sg_read_buffer">sg_read_buffer</primary>
|
---|
| 640 | </indexterm>
|
---|
| 641 | </listitem>
|
---|
| 642 | </varlistentry>
|
---|
| 643 |
|
---|
| 644 | <varlistentry id="sg_readcap">
|
---|
| 645 | <term><command>sg_readcap</command></term>
|
---|
| 646 | <listitem>
|
---|
[e355d777] | 647 | <para>
|
---|
[4c24eb0a] | 648 | sends a SCSI READ CAPACITY command
|
---|
[e355d777] | 649 | </para>
|
---|
[ab0972f] | 650 | <indexterm zone="sg3_utils sg_readcap">
|
---|
| 651 | <primary sortas="b-sg_readcap">sg_readcap</primary>
|
---|
| 652 | </indexterm>
|
---|
| 653 | </listitem>
|
---|
| 654 | </varlistentry>
|
---|
| 655 |
|
---|
| 656 | <varlistentry id="sg_read_long">
|
---|
| 657 | <term><command>sg_read_long</command></term>
|
---|
| 658 | <listitem>
|
---|
[e355d777] | 659 | <para>
|
---|
[4c24eb0a] | 660 | sends a SCSI READ LONG command
|
---|
[e355d777] | 661 | </para>
|
---|
[ab0972f] | 662 | <indexterm zone="sg3_utils sg_read_long">
|
---|
| 663 | <primary sortas="b-sg_read_long">sg_read_long</primary>
|
---|
| 664 | </indexterm>
|
---|
| 665 | </listitem>
|
---|
| 666 | </varlistentry>
|
---|
| 667 |
|
---|
| 668 | <varlistentry id="sg_reassign">
|
---|
| 669 | <term><command>sg_reassign</command></term>
|
---|
| 670 | <listitem>
|
---|
[e355d777] | 671 | <para>
|
---|
[4c24eb0a] | 672 | sends a SCSI REASSIGN BLOCKS command
|
---|
[e355d777] | 673 | </para>
|
---|
[ab0972f] | 674 | <indexterm zone="sg3_utils sg_reassign">
|
---|
| 675 | <primary sortas="b-sg_reassign">sg_reassign</primary>
|
---|
| 676 | </indexterm>
|
---|
| 677 | </listitem>
|
---|
| 678 | </varlistentry>
|
---|
| 679 |
|
---|
[e355d777] | 680 | <varlistentry id="sg_referrals">
|
---|
| 681 | <term><command>sg_referrals</command></term>
|
---|
| 682 | <listitem>
|
---|
| 683 | <para>
|
---|
[511f7c8f] | 684 | sends a SCSI REPORT REFERRALS command
|
---|
[e355d777] | 685 | </para>
|
---|
| 686 | <indexterm zone="sg3_utils sg_referrals">
|
---|
| 687 | <primary sortas="b-sg_referrals">sg_referrals</primary>
|
---|
| 688 | </indexterm>
|
---|
| 689 | </listitem>
|
---|
| 690 | </varlistentry>
|
---|
| 691 |
|
---|
[511f7c8f] | 692 | <varlistentry id="sg_rep_pip">
|
---|
| 693 | <term><command>sg_rep_pip</command></term>
|
---|
| 694 | <listitem>
|
---|
| 695 | <para>
|
---|
| 696 | sends a SCSI REPORT PROVISIONING INITIALIZATION PATTERN command
|
---|
| 697 | </para>
|
---|
| 698 | <indexterm zone="sg3_utils sg_rep_pip">
|
---|
| 699 | <primary sortas="b-sg_rep_pip">sg_rep_pip</primary>
|
---|
| 700 | </indexterm>
|
---|
| 701 | </listitem>
|
---|
| 702 | </varlistentry>
|
---|
| 703 |
|
---|
[c93612f2] | 704 | <varlistentry id="sg_rep_zones">
|
---|
| 705 | <term><command>sg_rep_zones</command></term>
|
---|
| 706 | <listitem>
|
---|
| 707 | <para>
|
---|
[4c24eb0a] | 708 | sends a SCSI REPORT ZONES command
|
---|
[c93612f2] | 709 | </para>
|
---|
| 710 | <indexterm zone="sg3_utils sg_rep_zones">
|
---|
| 711 | <primary sortas="b-sg_rep_zones">sg_rep_zones</primary>
|
---|
| 712 | </indexterm>
|
---|
| 713 | </listitem>
|
---|
| 714 | </varlistentry>
|
---|
| 715 |
|
---|
[ab0972f] | 716 | <varlistentry id="sg_requests">
|
---|
| 717 | <term><command>sg_requests</command></term>
|
---|
| 718 | <listitem>
|
---|
[e355d777] | 719 | <para>
|
---|
[4c24eb0a] | 720 | sends one or more SCSI REQUEST SENSE commands
|
---|
[e355d777] | 721 | </para>
|
---|
[ab0972f] | 722 | <indexterm zone="sg3_utils sg_requests">
|
---|
| 723 | <primary sortas="b-sg_requests">sg_requests</primary>
|
---|
| 724 | </indexterm>
|
---|
| 725 | </listitem>
|
---|
| 726 | </varlistentry>
|
---|
| 727 |
|
---|
| 728 | <varlistentry id="sg_reset">
|
---|
| 729 | <term><command>sg_reset</command></term>
|
---|
| 730 | <listitem>
|
---|
[e355d777] | 731 | <para>
|
---|
[511f7c8f] | 732 | sends a SCSI device, target, bus or host reset; or checks reset state
|
---|
[e355d777] | 733 | </para>
|
---|
[ab0972f] | 734 | <indexterm zone="sg3_utils sg_reset">
|
---|
| 735 | <primary sortas="b-sg_reset">sg_reset</primary>
|
---|
| 736 | </indexterm>
|
---|
| 737 | </listitem>
|
---|
| 738 | </varlistentry>
|
---|
| 739 |
|
---|
[c93612f2] | 740 | <varlistentry id="sg_reset_wp">
|
---|
| 741 | <term><command>sg_reset_wp</command></term>
|
---|
| 742 | <listitem>
|
---|
| 743 | <para>
|
---|
[4c24eb0a] | 744 | sends a SCSI RESET WRITE POINTER command
|
---|
[c93612f2] | 745 | </para>
|
---|
| 746 | <indexterm zone="sg3_utils sg_reset_wp">
|
---|
| 747 | <primary sortas="b-sg_reset_wp">sg_reset_wp</primary>
|
---|
| 748 | </indexterm>
|
---|
| 749 | </listitem>
|
---|
| 750 | </varlistentry>
|
---|
| 751 |
|
---|
[ab0972f] | 752 | <varlistentry id="sg_rmsn">
|
---|
| 753 | <term><command>sg_rmsn</command></term>
|
---|
| 754 | <listitem>
|
---|
[e355d777] | 755 | <para>
|
---|
[4c24eb0a] | 756 | sends a SCSI READ MEDIA SERIAL NUMBER command
|
---|
[e355d777] | 757 | </para>
|
---|
[ab0972f] | 758 | <indexterm zone="sg3_utils sg_rmsn">
|
---|
| 759 | <primary sortas="b-sg_rmsn">sg_rmsn</primary>
|
---|
| 760 | </indexterm>
|
---|
| 761 | </listitem>
|
---|
| 762 | </varlistentry>
|
---|
| 763 |
|
---|
| 764 | <varlistentry id="sg_rtpg">
|
---|
| 765 | <term><command>sg_rtpg</command></term>
|
---|
| 766 | <listitem>
|
---|
[e355d777] | 767 | <para>
|
---|
[4c24eb0a] | 768 | sends a SCSI REPORT TARGET PORT GROUPS command
|
---|
[e355d777] | 769 | </para>
|
---|
[ab0972f] | 770 | <indexterm zone="sg3_utils sg_rtpg">
|
---|
| 771 | <primary sortas="b-sg_rtpg">sg_rtpg</primary>
|
---|
| 772 | </indexterm>
|
---|
| 773 | </listitem>
|
---|
| 774 | </varlistentry>
|
---|
| 775 |
|
---|
| 776 | <varlistentry id="sg_safte">
|
---|
| 777 | <term><command>sg_safte</command></term>
|
---|
| 778 | <listitem>
|
---|
[e355d777] | 779 | <para>
|
---|
[511f7c8f] | 780 | fetches status information from a SCSI Accessed Fault-Tolerant
|
---|
| 781 | Enclosure (SAF-TE) device
|
---|
[e355d777] | 782 | </para>
|
---|
[ab0972f] | 783 | <indexterm zone="sg3_utils sg_safte">
|
---|
| 784 | <primary sortas="b-sg_safte">sg_safte</primary>
|
---|
| 785 | </indexterm>
|
---|
| 786 | </listitem>
|
---|
| 787 | </varlistentry>
|
---|
| 788 |
|
---|
[e355d777] | 789 | <varlistentry id="sg_sanitize">
|
---|
| 790 | <term><command>sg_sanitize</command></term>
|
---|
| 791 | <listitem>
|
---|
| 792 | <para>
|
---|
[4c24eb0a] | 793 | sends a SCSI SANITIZE command
|
---|
[e355d777] | 794 | </para>
|
---|
| 795 | <indexterm zone="sg3_utils sg_sanitize">
|
---|
| 796 | <primary sortas="b-sg_sanitize">sg_sanitize</primary>
|
---|
| 797 | </indexterm>
|
---|
| 798 | </listitem>
|
---|
| 799 | </varlistentry>
|
---|
| 800 |
|
---|
[ab0972f] | 801 | <varlistentry id="sg_sat_identify">
|
---|
| 802 | <term><command>sg_sat_identify</command></term>
|
---|
| 803 | <listitem>
|
---|
[e355d777] | 804 | <para>
|
---|
[b69a5a5] | 805 | sends an ATA IDENTIFY (PACKET) DEVICE command via a SCSI to ATA
|
---|
[4c24eb0a] | 806 | Translation (SAT) layer
|
---|
[e355d777] | 807 | </para>
|
---|
[ab0972f] | 808 | <indexterm zone="sg3_utils sg_sat_identify">
|
---|
| 809 | <primary sortas="b-sg_sat_identify">sg_sat_identify</primary>
|
---|
| 810 | </indexterm>
|
---|
| 811 | </listitem>
|
---|
| 812 | </varlistentry>
|
---|
| 813 |
|
---|
| 814 | <varlistentry id="sg_sat_phy_event">
|
---|
| 815 | <term><command>sg_sat_phy_event</command></term>
|
---|
| 816 | <listitem>
|
---|
[e355d777] | 817 | <para>
|
---|
| 818 | sends an ATA READ LOG EXT command via a SAT pass through to
|
---|
[4c24eb0a] | 819 | fetch log page 11h which contains SATA phy event counters
|
---|
[e355d777] | 820 | </para>
|
---|
[ab0972f] | 821 | <indexterm zone="sg3_utils sg_sat_phy_event">
|
---|
| 822 | <primary sortas="b-sg_sat_phy_event">sg_sat_phy_event</primary>
|
---|
| 823 | </indexterm>
|
---|
| 824 | </listitem>
|
---|
| 825 | </varlistentry>
|
---|
| 826 |
|
---|
[c93612f2] | 827 |
|
---|
| 828 | <varlistentry id="sg_sat_read_gplog">
|
---|
| 829 | <term><command>sg_sat_read_gplog</command></term>
|
---|
| 830 | <listitem>
|
---|
| 831 | <para>
|
---|
[511f7c8f] | 832 | sends an ATA READ LOG EXT command via a SCSI to ATA Translation
|
---|
[4c24eb0a] | 833 | (SAT) layer
|
---|
[c93612f2] | 834 | </para>
|
---|
| 835 | <indexterm zone="sg3_utils sg_sat_read_gplog">
|
---|
| 836 | <primary sortas="b-sg_sat_read_gplog">sg_sat_read_gplog</primary>
|
---|
| 837 | </indexterm>
|
---|
| 838 | </listitem>
|
---|
| 839 | </varlistentry>
|
---|
[ab0972f] | 840 | <varlistentry id="sg_sat_set_features">
|
---|
| 841 | <term><command>sg_sat_set_features</command></term>
|
---|
| 842 | <listitem>
|
---|
[e355d777] | 843 | <para>
|
---|
[b69a5a5] | 844 | sends an ATA SET FEATURES command via a SCSI to ATA Translation
|
---|
[4c24eb0a] | 845 | (SAT) layer
|
---|
[e355d777] | 846 | </para>
|
---|
[ab0972f] | 847 | <indexterm zone="sg3_utils sg_sat_set_features">
|
---|
| 848 | <primary sortas="b-sg_sat_set_features">sg_sat_set_features</primary>
|
---|
| 849 | </indexterm>
|
---|
| 850 | </listitem>
|
---|
| 851 | </varlistentry>
|
---|
| 852 |
|
---|
| 853 | <varlistentry id="sg_scan">
|
---|
| 854 | <term><command>sg_scan</command></term>
|
---|
| 855 | <listitem>
|
---|
[e355d777] | 856 | <para>
|
---|
| 857 | does a scan of sg devices (or given SCSI/ATAPI/ATA devices) and
|
---|
[4c24eb0a] | 858 | prints the results
|
---|
[e355d777] | 859 | </para>
|
---|
[ab0972f] | 860 | <indexterm zone="sg3_utils sg_scan">
|
---|
| 861 | <primary sortas="b-sg_scan">sg_scan</primary>
|
---|
| 862 | </indexterm>
|
---|
| 863 | </listitem>
|
---|
| 864 | </varlistentry>
|
---|
| 865 |
|
---|
[8ef150f] | 866 | <varlistentry id="sg_seek">
|
---|
| 867 | <term><command>sg_seek</command></term>
|
---|
| 868 | <listitem>
|
---|
| 869 | <para>
|
---|
[4c24eb0a] | 870 | performs a SCSI SEEK or PRE-FETCH command on a device and it's cache
|
---|
[8ef150f] | 871 | </para>
|
---|
| 872 | <indexterm zone="sg3_utils sg_seek">
|
---|
| 873 | <primary sortas="b-sg_seek">sg_seek</primary>
|
---|
| 874 | </indexterm>
|
---|
| 875 | </listitem>
|
---|
| 876 | </varlistentry>
|
---|
| 877 |
|
---|
[ab0972f] | 878 | <varlistentry id="sg_senddiag">
|
---|
| 879 | <term><command>sg_senddiag</command></term>
|
---|
| 880 | <listitem>
|
---|
[e355d777] | 881 | <para>
|
---|
[4c24eb0a] | 882 | performs a SCSI SEND DIAGNOSTIC command
|
---|
[e355d777] | 883 | </para>
|
---|
[ab0972f] | 884 | <indexterm zone="sg3_utils sg_senddiag">
|
---|
| 885 | <primary sortas="b-sg_senddiag">sg_senddiag</primary>
|
---|
| 886 | </indexterm>
|
---|
| 887 | </listitem>
|
---|
| 888 | </varlistentry>
|
---|
| 889 |
|
---|
| 890 | <varlistentry id="sg_ses">
|
---|
| 891 | <term><command>sg_ses</command></term>
|
---|
| 892 | <listitem>
|
---|
[e355d777] | 893 | <para>
|
---|
[511f7c8f] | 894 | sends controls and fetches the current status from a SCSI Enclosure
|
---|
| 895 | Services (SES) device
|
---|
[e355d777] | 896 | </para>
|
---|
[ab0972f] | 897 | <indexterm zone="sg3_utils sg_ses">
|
---|
| 898 | <primary sortas="b-sg_ses">sg_ses</primary>
|
---|
| 899 | </indexterm>
|
---|
| 900 | </listitem>
|
---|
| 901 | </varlistentry>
|
---|
| 902 |
|
---|
[c93612f2] | 903 | <varlistentry id="sg_ses_microcode">
|
---|
| 904 | <term><command>sg_ses_microcode</command></term>
|
---|
| 905 | <listitem>
|
---|
| 906 | <para>
|
---|
[4c24eb0a] | 907 | sends microcode to a SCSI enclosure
|
---|
[c93612f2] | 908 | </para>
|
---|
| 909 | <indexterm zone="sg3_utils sg_ses_microcode">
|
---|
| 910 | <primary sortas="b-sg_ses_microcode">sg_ses_microcode</primary>
|
---|
| 911 | </indexterm>
|
---|
| 912 | </listitem>
|
---|
| 913 | </varlistentry>
|
---|
| 914 |
|
---|
[ab0972f] | 915 | <varlistentry id="sg_start">
|
---|
| 916 | <term><command>sg_start</command></term>
|
---|
| 917 | <listitem>
|
---|
[e355d777] | 918 | <para>
|
---|
[b69a5a5] | 919 | sends a SCSI START STOP UNIT command to start, stop, load or eject
|
---|
[4c24eb0a] | 920 | medium
|
---|
[e355d777] | 921 | </para>
|
---|
[ab0972f] | 922 | <indexterm zone="sg3_utils sg_start">
|
---|
| 923 | <primary sortas="b-sg_start">sg_start</primary>
|
---|
| 924 | </indexterm>
|
---|
| 925 | </listitem>
|
---|
| 926 | </varlistentry>
|
---|
| 927 |
|
---|
| 928 | <varlistentry id="sg_stpg">
|
---|
| 929 | <term><command>sg_stpg</command></term>
|
---|
| 930 | <listitem>
|
---|
[e355d777] | 931 | <para>
|
---|
[4c24eb0a] | 932 | sends a SCSI SET TARGET PORT GROUPS command
|
---|
[e355d777] | 933 | </para>
|
---|
[ab0972f] | 934 | <indexterm zone="sg3_utils sg_stpg">
|
---|
| 935 | <primary sortas="b-sg_stpg">sg_stpg</primary>
|
---|
| 936 | </indexterm>
|
---|
| 937 | </listitem>
|
---|
| 938 | </varlistentry>
|
---|
| 939 |
|
---|
[8ef150f] | 940 | <varlistentry id="sg_stream_ctl">
|
---|
| 941 | <term><command>sg_stream_ctl</command></term>
|
---|
| 942 | <listitem>
|
---|
| 943 | <para>
|
---|
| 944 | performs a SCSI STREAM CONTROL or GET STREAM STATUS command on a device
|
---|
[4c24eb0a] | 945 | to open or close an I/O stream
|
---|
[8ef150f] | 946 | </para>
|
---|
| 947 | <indexterm zone="sg3_utils sg_stream_ctl">
|
---|
[36b17b5] | 948 | <primary sortas="b-sg_stream_ctl">sg_stream_ctl</primary>
|
---|
[8ef150f] | 949 | </indexterm>
|
---|
| 950 | </listitem>
|
---|
| 951 | </varlistentry>
|
---|
| 952 |
|
---|
[ab0972f] | 953 | <varlistentry id="sg_sync">
|
---|
| 954 | <term><command>sg_sync</command></term>
|
---|
| 955 | <listitem>
|
---|
[e355d777] | 956 | <para>
|
---|
[511f7c8f] | 957 | sends a SCSI command to synchronize the cache
|
---|
[e355d777] | 958 | </para>
|
---|
[ab0972f] | 959 | <indexterm zone="sg3_utils sg_sync">
|
---|
| 960 | <primary sortas="b-sg_sync">sg_sync</primary>
|
---|
| 961 | </indexterm>
|
---|
| 962 | </listitem>
|
---|
| 963 | </varlistentry>
|
---|
| 964 |
|
---|
| 965 | <varlistentry id="sg_test_rwbuf">
|
---|
| 966 | <term><command>sg_test_rwbuf</command></term>
|
---|
| 967 | <listitem>
|
---|
[e355d777] | 968 | <para>
|
---|
| 969 | tests the SCSI host adapter by issuing write and read operations
|
---|
[4c24eb0a] | 970 | on a device's buffer and calculating checksums
|
---|
[e355d777] | 971 | </para>
|
---|
[ab0972f] | 972 | <indexterm zone="sg3_utils sg_test_rwbuf">
|
---|
| 973 | <primary sortas="b-sg_test_rwbuf">sg_test_rwbuf</primary>
|
---|
| 974 | </indexterm>
|
---|
| 975 | </listitem>
|
---|
| 976 | </varlistentry>
|
---|
| 977 |
|
---|
[511f7c8f] | 978 | <varlistentry id="sg_timestamp">
|
---|
| 979 | <term><command>sg_timestamp</command></term>
|
---|
| 980 | <listitem>
|
---|
| 981 | <para>
|
---|
| 982 | reports or sets the timestamp on a SCSI device
|
---|
| 983 | </para>
|
---|
| 984 | <indexterm zone="sg3_utils sg_timestamp">
|
---|
| 985 | <primary sortas="b-sg_timestamp">sg_timestamp</primary>
|
---|
| 986 | </indexterm>
|
---|
| 987 | </listitem>
|
---|
| 988 | </varlistentry>
|
---|
| 989 |
|
---|
[ab0972f] | 990 | <varlistentry id="sg_turs">
|
---|
| 991 | <term><command>sg_turs</command></term>
|
---|
| 992 | <listitem>
|
---|
[e355d777] | 993 | <para>
|
---|
[4c24eb0a] | 994 | sends one or more SCSI TEST UNIT READY commands
|
---|
[e355d777] | 995 | </para>
|
---|
[ab0972f] | 996 | <indexterm zone="sg3_utils sg_turs">
|
---|
| 997 | <primary sortas="b-sg_turs">sg_turs</primary>
|
---|
| 998 | </indexterm>
|
---|
| 999 | </listitem>
|
---|
| 1000 | </varlistentry>
|
---|
| 1001 |
|
---|
| 1002 | <varlistentry id="sg_unmap">
|
---|
| 1003 | <term><command>sg_unmap</command></term>
|
---|
| 1004 | <listitem>
|
---|
[e355d777] | 1005 | <para>
|
---|
[4c24eb0a] | 1006 | sends a SCSI UNMAP command
|
---|
[e355d777] | 1007 | </para>
|
---|
[ab0972f] | 1008 | <indexterm zone="sg3_utils sg_unmap">
|
---|
| 1009 | <primary sortas="b-sg_unmap">sg_unmap</primary>
|
---|
| 1010 | </indexterm>
|
---|
| 1011 | </listitem>
|
---|
| 1012 | </varlistentry>
|
---|
| 1013 |
|
---|
| 1014 | <varlistentry id="sg_verify">
|
---|
| 1015 | <term><command>sg_verify</command></term>
|
---|
| 1016 | <listitem>
|
---|
[e355d777] | 1017 | <para>
|
---|
[4c24eb0a] | 1018 | invokes SCSI VERIFY command(s) on a block device
|
---|
[e355d777] | 1019 | </para>
|
---|
[ab0972f] | 1020 | <indexterm zone="sg3_utils sg_verify">
|
---|
| 1021 | <primary sortas="b-sg_verify">sg_verify</primary>
|
---|
| 1022 | </indexterm>
|
---|
| 1023 | </listitem>
|
---|
| 1024 | </varlistentry>
|
---|
| 1025 |
|
---|
| 1026 | <varlistentry id="sg_vpd">
|
---|
| 1027 | <term><command>sg_vpd</command></term>
|
---|
| 1028 | <listitem>
|
---|
[e355d777] | 1029 | <para>
|
---|
| 1030 | fetches Vital Product Data (VPD) pages using a SCSI INQUIRY
|
---|
[4c24eb0a] | 1031 | command
|
---|
[e355d777] | 1032 | </para>
|
---|
[ab0972f] | 1033 | <indexterm zone="sg3_utils sg_vpd">
|
---|
| 1034 | <primary sortas="b-sg_vpd">sg_vpd</primary>
|
---|
| 1035 | </indexterm>
|
---|
| 1036 | </listitem>
|
---|
| 1037 | </varlistentry>
|
---|
| 1038 |
|
---|
| 1039 | <varlistentry id="sg_write_buffer">
|
---|
| 1040 | <term><command>sg_write_buffer</command></term>
|
---|
| 1041 | <listitem>
|
---|
[e355d777] | 1042 | <para>
|
---|
[4c24eb0a] | 1043 | sends a SCSI WRITE BUFFER command
|
---|
[e355d777] | 1044 | </para>
|
---|
[ab0972f] | 1045 | <indexterm zone="sg3_utils sg_write_buffer">
|
---|
| 1046 | <primary sortas="b-sg_write_buffer">sg_write_buffer</primary>
|
---|
| 1047 | </indexterm>
|
---|
| 1048 | </listitem>
|
---|
| 1049 | </varlistentry>
|
---|
| 1050 |
|
---|
| 1051 | <varlistentry id="sg_write_long">
|
---|
| 1052 | <term><command>sg_write_long</command></term>
|
---|
| 1053 | <listitem>
|
---|
[e355d777] | 1054 | <para>
|
---|
[511f7c8f] | 1055 | sends a SCSI WRITE LONG command
|
---|
[e355d777] | 1056 | </para>
|
---|
[ab0972f] | 1057 | <indexterm zone="sg3_utils sg_write_long">
|
---|
| 1058 | <primary sortas="b-sg_write_long">sg_write_long</primary>
|
---|
| 1059 | </indexterm>
|
---|
| 1060 | </listitem>
|
---|
| 1061 | </varlistentry>
|
---|
| 1062 |
|
---|
| 1063 | <varlistentry id="sg_write_same">
|
---|
| 1064 | <term><command>sg_write_same</command></term>
|
---|
| 1065 | <listitem>
|
---|
[e355d777] | 1066 | <para>
|
---|
[511f7c8f] | 1067 | sends a SCSI WRITE SAME command
|
---|
[e355d777] | 1068 | </para>
|
---|
[ab0972f] | 1069 | <indexterm zone="sg3_utils sg_write_same">
|
---|
| 1070 | <primary sortas="b-sg_write_same">sg_write_same</primary>
|
---|
| 1071 | </indexterm>
|
---|
| 1072 | </listitem>
|
---|
| 1073 | </varlistentry>
|
---|
| 1074 |
|
---|
[c93612f2] | 1075 | <varlistentry id="sg_write_verify">
|
---|
| 1076 | <term><command>sg_write_verify</command></term>
|
---|
| 1077 | <listitem>
|
---|
| 1078 | <para>
|
---|
[511f7c8f] | 1079 | sends a SCSI WRITE AND VERIFY command
|
---|
[c93612f2] | 1080 | </para>
|
---|
[8ef150f] | 1081 | <indexterm zone="sg3_utils sg_write_verify">
|
---|
| 1082 | <primary sortas="b-sg_write_verify">sg_write_verify</primary>
|
---|
| 1083 | </indexterm>
|
---|
| 1084 | </listitem>
|
---|
| 1085 | </varlistentry>
|
---|
| 1086 |
|
---|
| 1087 | <varlistentry id="sg_write_x">
|
---|
| 1088 | <term><command>sg_write_x</command></term>
|
---|
| 1089 | <listitem>
|
---|
| 1090 | <para>
|
---|
[4c24eb0a] | 1091 | performs SCSI WRITE commands on a device
|
---|
[8ef150f] | 1092 | </para>
|
---|
| 1093 | <indexterm zone="sg3_utils sg_write_x">
|
---|
| 1094 | <primary sortas="b-sg_write_x">sg_write_x</primary>
|
---|
[c93612f2] | 1095 | </indexterm>
|
---|
| 1096 | </listitem>
|
---|
| 1097 | </varlistentry>
|
---|
| 1098 |
|
---|
[ab0972f] | 1099 | <varlistentry id="sg_wr_mode">
|
---|
| 1100 | <term><command>sg_wr_mode</command></term>
|
---|
| 1101 | <listitem>
|
---|
[e355d777] | 1102 | <para>
|
---|
[511f7c8f] | 1103 | writes mode pages
|
---|
[e355d777] | 1104 | </para>
|
---|
[ab0972f] | 1105 | <indexterm zone="sg3_utils sg_wr_mode">
|
---|
| 1106 | <primary sortas="b-sg_wr_mode">sg_wr_mode</primary>
|
---|
| 1107 | </indexterm>
|
---|
| 1108 | </listitem>
|
---|
| 1109 | </varlistentry>
|
---|
| 1110 |
|
---|
[5b38e37] | 1111 | <varlistentry id="sg_xcopy">
|
---|
| 1112 | <term><command>sg_xcopy</command></term>
|
---|
| 1113 | <listitem>
|
---|
| 1114 | <para>
|
---|
| 1115 | copies data to and from files and devices
|
---|
[4c24eb0a] | 1116 | using SCSI EXTENDED COPY (XCOPY)
|
---|
[5b38e37] | 1117 | </para>
|
---|
| 1118 | <indexterm zone="sg3_utils sg_xcopy">
|
---|
| 1119 | <primary sortas="b-sg_xcopy">sg_xcopy</primary>
|
---|
| 1120 | </indexterm>
|
---|
| 1121 | </listitem>
|
---|
| 1122 | </varlistentry>
|
---|
| 1123 |
|
---|
[8ef150f] | 1124 | <varlistentry id="sg_zone">
|
---|
| 1125 | <term><command>sg_zone</command></term>
|
---|
| 1126 | <listitem>
|
---|
| 1127 | <para>
|
---|
| 1128 | performs SCSI ZONE commands on a device, such as OPEN, CLOSE, FINISH
|
---|
[4c24eb0a] | 1129 | or SEQUENTIALIZE
|
---|
[8ef150f] | 1130 | </para>
|
---|
| 1131 | <indexterm zone="sg3_utils sg_zone">
|
---|
| 1132 | <primary sortas="b-sg_zone">sg_zone</primary>
|
---|
| 1133 | </indexterm>
|
---|
| 1134 | </listitem>
|
---|
| 1135 | </varlistentry>
|
---|
| 1136 |
|
---|
[ab0972f] | 1137 | <varlistentry id="libsgutils2">
|
---|
[5b38e37] | 1138 | <term><filename class="libraryfile">libsgutils2.so</filename></term>
|
---|
[ab0972f] | 1139 | <listitem>
|
---|
[e355d777] | 1140 | <para>
|
---|
[4c24eb0a] | 1141 | contains the <application>sg3_utils</application> API functions
|
---|
[e355d777] | 1142 | </para>
|
---|
[ab0972f] | 1143 | <indexterm zone="sg3_utils libsgutils2">
|
---|
[e355d777] | 1144 | <primary sortas="c-libsgutils2">libsgutils2.so</primary>
|
---|
[ab0972f] | 1145 | </indexterm>
|
---|
| 1146 | </listitem>
|
---|
| 1147 | </varlistentry>
|
---|
| 1148 |
|
---|
| 1149 | </variablelist>
|
---|
| 1150 |
|
---|
| 1151 | </sect2>
|
---|
| 1152 |
|
---|
| 1153 | </sect1>
|
---|