source: general/sysutils/sg3_utils.xml@ 511f7c8f

11.0 11.1 11.2 lazarus plabs/python-mods qt5new trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 511f7c8f was 511f7c8f, checked in by Douglas R. Reno <renodr@…>, 21 months ago

Update to glib-2.66.8
Update to libgweather-3.38.2
Update to sg3_utils-1.46
Update to graphviz-2.47.0

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

  • Property mode set to 100644
File size: 36.4 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 "11854fedf831adfd39438dc5ac9202e9">
10 <!ENTITY sg3_utils-size "1008 KB">
11 <!ENTITY sg3_utils-buildsize "31 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 &lfs101_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<!-- No longer needed as 1.44 fixes the sysmacros.h use
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>
87-->
88
89 <para condition="html" role="usernotes">User Notes:
90 <ulink url="&blfs-wiki;/sg3_utils"/>
91 </para>
92 </sect2>
93
94 <sect2 role="installation">
95 <title>Installation of sg3_utils</title>
96
97 <para>
98 Install <application>sg3_utils</application> by running the following
99 commands:
100 </para>
101
102<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
103make</userinput></screen>
104
105 <para>
106 This package does not come with a test suite.
107 </para>
108
109 <para>
110 Now, as the <systemitem class="username">root</systemitem> user:
111 </para>
112
113<screen role="root"><userinput>make install</userinput></screen>
114
115 </sect2>
116
117 <sect2 role="commands">
118 <title>Command Explanations</title>
119
120 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
121 href="../../xincludes/static-libraries.xml"/>
122
123 </sect2>
124
125 <sect2 role="content">
126 <title>Contents</title>
127
128 <segmentedlist>
129 <segtitle>Installed Programs</segtitle>
130 <segtitle>Installed Library</segtitle>
131 <segtitle>Installed Directories</segtitle>
132
133 <seglistitem>
134 <seg>
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,
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,
141 sg_raw, sg_rbuf, sg_rdac, sg_read, sg_read_attr, sg_read_block_limits,
142 sg_read_buffer, sg_read_long, sg_readcap, sg_reassign, sg_referrals,
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,
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
151 </seg>
152 <seg>
153 libsgutils2.so
154 </seg>
155 <seg>
156 None
157 </seg>
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
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
178 <varlistentry id="scsi_logging_level">
179 <term><command>scsi_logging_level</command></term>
180 <listitem>
181 <para>
182 accesses Linux SCSI logging level information
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>
194 checks SCSI device support for mandatory commands
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>
206 does the SCSI READ CAPACITY command on disks
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>
218 does the SCSI TEST UNIT READY on devices
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>
230 checks for SCSI to ATA Translation (SAT) device support
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>
242 starts one or more SCSI disks
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>
254 stops one or more SCSI disks
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>
266 fetches the temperature of a SCSI device
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
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
279 "advanced background operations"
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
287 <varlistentry id="sg_compare_and_write">
288 <term><command>sg_compare_and_write</command></term>
289 <listitem>
290 <para>
291 sends the SCSI COMPARE AND WRITE command to device
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>
303 sends the SCSI RECEIVE COPY RESULTS command (XCOPY related)
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
311 <varlistentry id="sg_dd">
312 <term><command>sg_dd</command></term>
313 <listitem>
314 <para>
315 copies data to and from files and devices. Specialised for
316 devices that understand the SCSI command set
317 </para>
318 <indexterm zone="sg3_utils sg_dd">
319 <primary sortas="b-sg_dd">sg_dd</primary>
320 </indexterm>
321 </listitem>
322 </varlistentry>
323
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
329 of ASCII hexadecimal bytes and decodes it
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
337 <varlistentry id="sg_emc_trespass">
338 <term><command>sg_emc_trespass</command></term>
339 <listitem>
340 <para>
341 changes ownership of a LUN from another Service-Processor to
342 this one
343 </para>
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>
353 <para>
354 formats or resizes a SCSI disk (perhaps changes its block size)
355 </para>
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>
365 <para>
366 sends a SCSI GET CONFIGURATION command (MMC-4 +)
367 </para>
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
374 <varlistentry id="sg_get_elem_status">
375 <term><command>sg_get_elem_status</command></term>
376 <listitem>
377 <para>
378 sends a SCSI GET PHYSICAL ELEMENT STATUS command to a device
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
386 <varlistentry id="sg_get_lba_status">
387 <term><command>sg_get_lba_status</command></term>
388 <listitem>
389 <para>
390 sends the SCSI GET LBA STATUS command
391 </para>
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>
401 <para>
402 sends a SCSI REPORT or SET IDENTIFYING INFORMATION command
403 </para>
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>
413 <para>
414 access mode page information for a SCSI (or ATAPI) device
415 </para>
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>
425 <para>
426 sends a SCSI INQUIRY or ATA IDENTIFY (PACKET) DEVICE command and
427 outputs the response
428 </para>
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>
438 <para>
439 access log pages with SCSI LOG SENSE command
440 </para>
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>
450 <para>
451 sends the SCSI REPORT LUNS command
452 </para>
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>
462 <para>
463 displays mapping between linux sg and other SCSI devices
464 </para>
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>
474 <para>
475 maps a special file to a SCSI generic (sg) device (or vice versa)
476 </para>
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>
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
489 transfers from sg devices
490 </para>
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>
500 <para>
501 reads mode pages with the SCSI MODE SENSE command
502 </para>
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>
512 <para>
513 reports information on supported SCSI commands or task
514 management functions
515 </para>
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>
525 <para>
526 copies data to and from files and devices. Specialized for
527 devices that understand the SCSI command set
528 </para>
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>
538 <para>
539 sends a SCSI PERSISTENT RESERVE (IN or OUT) command to
540 manipulate registrations and reservations
541 </para>
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>
551 <para>
552 sends a SCSI PREVENT ALLOW MEDIUM REMOVAL command
553 </para>
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>
563 <para>
564 sends an arbitrary SCSI command to a device
565 </para>
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>
575 <para>
576 reads data using the SCSI READ BUFFER command
577 </para>
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>
587 <para>
588 displays or modifies the RDAC Redundant Controller Page
589 </para>
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>
599 <para>
600 reads blocks of data continually from the same offset
601 </para>
602 <indexterm zone="sg3_utils sg_read">
603 <primary sortas="b-sg_read">sg_read</primary>
604 </indexterm>
605 </listitem>
606 </varlistentry>
607
608 <varlistentry id="sg_read_attr">
609 <term><command>sg_read_attr</command></term>
610 <listitem>
611 <para>
612 performs a SCSI READ ATTRIBUTE command on a device
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
620 <varlistentry id="sg_read_block_limits">
621 <term><command>sg_read_block_limits</command></term>
622 <listitem>
623 <para>
624 sends a SCSI READ BLOCK LIMITS command
625 </para>
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>
635 <para>
636 sends a SCSI READ BUFFER command
637 </para>
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>
647 <para>
648 sends a SCSI READ CAPACITY command
649 </para>
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>
659 <para>
660 sends a SCSI READ LONG command
661 </para>
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>
671 <para>
672 sends a SCSI REASSIGN BLOCKS command
673 </para>
674 <indexterm zone="sg3_utils sg_reassign">
675 <primary sortas="b-sg_reassign">sg_reassign</primary>
676 </indexterm>
677 </listitem>
678 </varlistentry>
679
680 <varlistentry id="sg_referrals">
681 <term><command>sg_referrals</command></term>
682 <listitem>
683 <para>
684 sends a SCSI REPORT REFERRALS command
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
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
704 <varlistentry id="sg_rep_zones">
705 <term><command>sg_rep_zones</command></term>
706 <listitem>
707 <para>
708 sends a SCSI REPORT ZONES command
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
716 <varlistentry id="sg_requests">
717 <term><command>sg_requests</command></term>
718 <listitem>
719 <para>
720 sends one or more SCSI REQUEST SENSE commands
721 </para>
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>
731 <para>
732 sends a SCSI device, target, bus or host reset; or checks reset state
733 </para>
734 <indexterm zone="sg3_utils sg_reset">
735 <primary sortas="b-sg_reset">sg_reset</primary>
736 </indexterm>
737 </listitem>
738 </varlistentry>
739
740 <varlistentry id="sg_reset_wp">
741 <term><command>sg_reset_wp</command></term>
742 <listitem>
743 <para>
744 sends a SCSI RESET WRITE POINTER command
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
752 <varlistentry id="sg_rmsn">
753 <term><command>sg_rmsn</command></term>
754 <listitem>
755 <para>
756 sends a SCSI READ MEDIA SERIAL NUMBER command
757 </para>
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>
767 <para>
768 sends a SCSI REPORT TARGET PORT GROUPS command
769 </para>
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>
779 <para>
780 fetches status information from a SCSI Accessed Fault-Tolerant
781 Enclosure (SAF-TE) device
782 </para>
783 <indexterm zone="sg3_utils sg_safte">
784 <primary sortas="b-sg_safte">sg_safte</primary>
785 </indexterm>
786 </listitem>
787 </varlistentry>
788
789 <varlistentry id="sg_sanitize">
790 <term><command>sg_sanitize</command></term>
791 <listitem>
792 <para>
793 sends a SCSI SANITIZE command
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
801 <varlistentry id="sg_sat_identify">
802 <term><command>sg_sat_identify</command></term>
803 <listitem>
804 <para>
805 sends an ATA IDENTIFY (PACKET) DEVICE command via a SCSI to ATA
806 Translation (SAT) layer
807 </para>
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>
817 <para>
818 sends an ATA READ LOG EXT command via a SAT pass through to
819 fetch log page 11h which contains SATA phy event counters
820 </para>
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
827
828 <varlistentry id="sg_sat_read_gplog">
829 <term><command>sg_sat_read_gplog</command></term>
830 <listitem>
831 <para>
832 sends an ATA READ LOG EXT command via a SCSI to ATA Translation
833 (SAT) layer
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>
840 <varlistentry id="sg_sat_set_features">
841 <term><command>sg_sat_set_features</command></term>
842 <listitem>
843 <para>
844 sends an ATA SET FEATURES command via a SCSI to ATA Translation
845 (SAT) layer
846 </para>
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>
856 <para>
857 does a scan of sg devices (or given SCSI/ATAPI/ATA devices) and
858 prints the results
859 </para>
860 <indexterm zone="sg3_utils sg_scan">
861 <primary sortas="b-sg_scan">sg_scan</primary>
862 </indexterm>
863 </listitem>
864 </varlistentry>
865
866 <varlistentry id="sg_seek">
867 <term><command>sg_seek</command></term>
868 <listitem>
869 <para>
870 performs a SCSI SEEK or PRE-FETCH command on a device and it's cache
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
878 <varlistentry id="sg_senddiag">
879 <term><command>sg_senddiag</command></term>
880 <listitem>
881 <para>
882 performs a SCSI SEND DIAGNOSTIC command
883 </para>
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>
893 <para>
894 sends controls and fetches the current status from a SCSI Enclosure
895 Services (SES) device
896 </para>
897 <indexterm zone="sg3_utils sg_ses">
898 <primary sortas="b-sg_ses">sg_ses</primary>
899 </indexterm>
900 </listitem>
901 </varlistentry>
902
903 <varlistentry id="sg_ses_microcode">
904 <term><command>sg_ses_microcode</command></term>
905 <listitem>
906 <para>
907 sends microcode to a SCSI enclosure
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
915 <varlistentry id="sg_start">
916 <term><command>sg_start</command></term>
917 <listitem>
918 <para>
919 sends a SCSI START STOP UNIT command to start, stop, load or eject
920 medium
921 </para>
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>
931 <para>
932 sends a SCSI SET TARGET PORT GROUPS command
933 </para>
934 <indexterm zone="sg3_utils sg_stpg">
935 <primary sortas="b-sg_stpg">sg_stpg</primary>
936 </indexterm>
937 </listitem>
938 </varlistentry>
939
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
945 to open or close an I/O stream
946 </para>
947 <indexterm zone="sg3_utils sg_stream_ctl">
948 <primary sortas="b-sg_stream_ctl">sg_stream_ctl</primary>
949 </indexterm>
950 </listitem>
951 </varlistentry>
952
953 <varlistentry id="sg_sync">
954 <term><command>sg_sync</command></term>
955 <listitem>
956 <para>
957 sends a SCSI command to synchronize the cache
958 </para>
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>
968 <para>
969 tests the SCSI host adapter by issuing write and read operations
970 on a device's buffer and calculating checksums
971 </para>
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
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
990 <varlistentry id="sg_turs">
991 <term><command>sg_turs</command></term>
992 <listitem>
993 <para>
994 sends one or more SCSI TEST UNIT READY commands
995 </para>
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>
1005 <para>
1006 sends a SCSI UNMAP command
1007 </para>
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>
1017 <para>
1018 invokes SCSI VERIFY command(s) on a block device
1019 </para>
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>
1029 <para>
1030 fetches Vital Product Data (VPD) pages using a SCSI INQUIRY
1031 command
1032 </para>
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>
1042 <para>
1043 sends a SCSI WRITE BUFFER command
1044 </para>
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>
1054 <para>
1055 sends a SCSI WRITE LONG command
1056 </para>
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>
1066 <para>
1067 sends a SCSI WRITE SAME command
1068 </para>
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
1075 <varlistentry id="sg_write_verify">
1076 <term><command>sg_write_verify</command></term>
1077 <listitem>
1078 <para>
1079 sends a SCSI WRITE AND VERIFY command
1080 </para>
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>
1091 performs SCSI WRITE commands on a device
1092 </para>
1093 <indexterm zone="sg3_utils sg_write_x">
1094 <primary sortas="b-sg_write_x">sg_write_x</primary>
1095 </indexterm>
1096 </listitem>
1097 </varlistentry>
1098
1099 <varlistentry id="sg_wr_mode">
1100 <term><command>sg_wr_mode</command></term>
1101 <listitem>
1102 <para>
1103 writes mode pages
1104 </para>
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
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
1116 using SCSI EXTENDED COPY (XCOPY)
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
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
1129 or SEQUENTIALIZE
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
1137 <varlistentry id="libsgutils2">
1138 <term><filename class="libraryfile">libsgutils2.so</filename></term>
1139 <listitem>
1140 <para>
1141 contains the <application>sg3_utils</application> API functions
1142 </para>
1143 <indexterm zone="sg3_utils libsgutils2">
1144 <primary sortas="c-libsgutils2">libsgutils2.so</primary>
1145 </indexterm>
1146 </listitem>
1147 </varlistentry>
1148
1149 </variablelist>
1150
1151 </sect2>
1152
1153</sect1>
Note: See TracBrowser for help on using the repository browser.