sgdefects man page on SuSE

Man page or keyword search:  
man Server   14857 pages
apropos Keyword Search (all sections)
Output format
SuSE logo
[printable version]

SGDEFECTS(8)							  SGDEFECTS(8)

NAME
       sgdefects - get SCSI device defect lists

SYNOPSIS
       sgdefects [-aelnvx]

DESCRIPTION
       Sgdefects  is  a	 program  that uses the SCSI Generic interface to send
       specific SCSI commands to obtain the device defect lists.  This is use‐
       ful  for analyzing a device's grown defects over time to predict when a
       failure may occur.  The SCSI Generic interface requires that the kernel
       .config file have CONFIG_CHR_DEV_SG set.

       A  log  file,  named sgdefects.log is created in the /var/log directory
       which logs the status of the functions and any errors.

OPTIONS
       Command line options are described below.

       -?     This option displays a summary of the commands accepted by sgde‐
	      fects

       -a     Causes  the  functions to be performed automatically on all con‐
	      nected SCSI devices.

       -e     Causes any file writes to be avoided, such as the log file.

       -i N   Autorun for the device at Index N, as shown in the 'Num' column.

       -l     By default, the primary defect list is only obtained if the ker‐
	      nel  version  is	2.4  or greater.  If this option is specified,
	      both the primary defect list and the grown defect list  will  be
	      obtained, regardless of the kernel version.

       -n     Naming.	By  default, the device names are displayed as numeric
	      sequences (/dev/sg0).  This option shows	the  device  names  as
	      alphabetic sequences (/dev/sga).

       -v     Causes  the defect values to be listed in addition to the defect
	      counts.  The hex values will be written to the  log  file	 sgde‐
	      fects.log

       -x     Causes extra debug messages to be displayed.

SEE ALSO
       sgdiag(8) sgdskfl(8) sgmode(8)

WARNINGS
       On some systems with older scsi drivers, the primary defect list cannot
       be returned without errors.

       See http://sourceforge.net/projects/scsirastools/ for a	bug  list  and
       any later versions of this utility.

COPYRIGHT
       Copyright (C) 2001-2002 Intel Corp.

       sgdefects is open source software.  You can redistribute it and/or mod‐
       ify it under the terms of  the  BSD  License.   See  the	 COPYING  file
       included	 with this software package for more details regarding distri‐
       bution.

       sgdefects is distributed in the hope that it will be useful, but	 WITH‐
       OUT ANY WARRANTY.

AUTHOR
       Andy Cress <arcress@users.sourceforge.net>

			   Version 1.1: 09 Nov 2001		  SGDEFECTS(8)
[top]

List of man pages available for SuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net