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