Skip to content
Snippets Groups Projects
Commit 20cadc81 authored by ballen4705's avatar ballen4705
Browse files

Added more complete description of segment number for SCSI self-test log.

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@435 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 5b16501f
No related branches found
No related tags found
No related merge requests found
\# Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net> \# Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net>
\# \#
\# $Id: smartctl.8,v 1.42 2003/01/05 20:05:32 pjwilliams Exp $ \# $Id: smartctl.8,v 1.43 2003/01/06 00:54:16 ballen4705 Exp $
\# \#
\# This program is free software; you can redistribute it and/or modify it \# This program is free software; you can redistribute it and/or modify it
\# under the terms of the GNU General Public License as published by the Free \# under the terms of the GNU General Public License as published by the Free
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
\# Research Center), Jack Baskin School of Engineering, University of \# Research Center), Jack Baskin School of Engineering, University of
\# California, Santa Cruz. http://ssrc.soe.ucsc.edu/ \# California, Santa Cruz. http://ssrc.soe.ucsc.edu/
\# \#
.TH SMARTCTL 8 "$Date: 2003/01/05 20:05:32 $" "smartmontools-5.1" .TH SMARTCTL 8 "$Date: 2003/01/06 00:54:16 $" "smartmontools-5.1"
.SH NAME .SH NAME
smartctl \- S.M.A.R.T. control and monitor utility smartctl \- S.M.A.R.T. control and monitor utility
.SH SYNOPSIS .SH SYNOPSIS
...@@ -379,28 +379,35 @@ took place. [Note: this time stamp wraps after 2^32 milliseconds, or ...@@ -379,28 +379,35 @@ took place. [Note: this time stamp wraps after 2^32 milliseconds, or
The key ATA disk registers are also recorded in the log. The key ATA disk registers are also recorded in the log.
.I selftest .I selftest
\- prints only the S.M.A.R.T. self-test log. The disk maintains a \- prints only the S.M.A.R.T. self-test log. The disk maintains a log
log showing the results of the self tests, which can be run using showing the results of the self tests, which can be run using the
the '\-t' option described below. The log will show, for each of \'\-t' option described below. For each of the most recent twenty-one
the most recent twenty-one self-tests, the type of self-tests, the log shows the type of test (short or extended,
test (short or extended, off-line or captive) and the final status of off-line or captive) and the final status of the test. If the test
the test. If the test did not complete successfully, the percentage did not complete successfully, then the percentage of the test
of the test remaining is show. The time at which the test took place, remaining is shown. The time at which the test took place, measured
measured in hours of disk lifetime, is shown. If any errors were in hours of disk lifetime, is also printed. If any errors were
detected, the Logical Block Address (LBA) of the first error is printed detected, the Logical Block Address (LBA) of the first error is
in hexadecimal notation. printed in hexadecimal notation.
.I selftest [SCSI] .I selftest [SCSI]
\- the self-test log for a SCSI device has a slightly different format. \- the self-test log for a SCSI device has a slightly different format
The log will show, for each of the most recent twenty self-tests, the type than for an ATA device. For each of the most recent twenty
of test and the status (final or in progress) of the test. SCSI standards self-tests, it shows the type of test and the status (final or in
use the terms foreground and background (rather than ATA's captive and progress) of the test. SCSI standards use the terms 'foreground' and
off-line); and long (rather ATA's extended). The segment number column is \'background' (rather than ATA's corresponding 'captive' and
only relevant when a test fails in the third or later test segment. The \'off-line') and \'short' and 'long' (rather than ATA's corresponding
Logical Block Address (LBA) of the first error is printed in hexadecimal \'short' and 'extended') to describe the type of the test. The printed
notation. If provided, a SCSI sense key (SK), additional sense code (ASC) segment number is only relevant when a test fails in the third or
and additional sense qualifier (ASQ) is output. The self tests can be later test segment. It identifies the test that failed and consists
run using the '\-t' option described below (use ATA's test terminology). of either the number of the segment that failed during the test, or
the number of the test that failed and the number of the segment in
which the test was run, using a vendor-specific method of putting both
numbers into a single byte. The Logical Block Address (LBA) of the
first error is printed in hexadecimal notation. If provided, the SCSI
Sense Key (SK), Additional Sense Code (ASC) and Additional Sense Code
Qualifier (ASQ) are also printed. The self tests can be run using the
\'\-t' option described below (using the ATA test terminology).
.TP .TP
.B \-v N,OPTION, \-\-vendorattribute=N,OPTION .B \-v N,OPTION, \-\-vendorattribute=N,OPTION
...@@ -408,7 +415,8 @@ Sets a vendor-specific display OPTION for Attribute N. Valid ...@@ -408,7 +415,8 @@ Sets a vendor-specific display OPTION for Attribute N. Valid
arguments to this option are: arguments to this option are:
.I help .I help
\- Prints (to STDOUT) a list of all valid arguments to this option. \- Prints (to STDOUT) a list of all valid arguments to this option,
then exits.
.I 9,minutes .I 9,minutes
\- Raw Attribute number 9 is power-on time in minutes. It will be \- Raw Attribute number 9 is power-on time in minutes. It will be
...@@ -668,4 +676,4 @@ Please let us know if there is an on\-line source for this document. ...@@ -668,4 +676,4 @@ Please let us know if there is an on\-line source for this document.
.SH .SH
CVS ID OF THIS PAGE: CVS ID OF THIS PAGE:
$Id: smartctl.8,v 1.42 2003/01/05 20:05:32 pjwilliams Exp $ $Id: smartctl.8,v 1.43 2003/01/06 00:54:16 ballen4705 Exp $
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment