source: general/sysutils/sg3_utils.xml@ ac8c7d4

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ac8c7d4 was c8385bb7, checked in by Douglas R. Reno <renodr@…>, 7 years ago

Tags and some text updates

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19079 af4574ff-66df-0310-9fd7-8a98e5e911e0

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