sgraidmon(8)

NAME

sgraidmon - SCSI Generic RAID Monitor

SYNOPSIS

sgraidmon [-bernx -t time]

DESCRIPTION

Sgraidmon is a program that uses the SCSI Generic inter face to monitor SCSI devices which may be part of a soft
ware RAID, so that hot-removal and hot-insertion events
can be detected and acted upon. It also queries the hotswap backplane, if present, with SAF-TE commands to detect
hot-insertions. For actions, this utility invokes a
script (/sbin/mdevt) if an insertion or removal event
occurs. The SCSI Generic interface requires that the ker
nel .config file have CONFIG_CHR_DEV_SG set.

A log file, named sgraidmon.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 sgraidmon
-b Causes this utility to run in background as a dae
mon.
-e Causes any file writes to be avoided, such as the
log file.
-m Max serial number length of 12 instead of 8
(default). This may be needed if you have Fujistu
drives.
-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).
-r Run once. By default, this utility runs in a con
tinuous loop. This option causes it to only run
one pass.
-t Time interval. The default polling interval is 5
seconds. This option can set the interval to a
different number of seconds.
-x Causes extra debug messages to be displayed.

SEE ALSO

sgdiag(8) sgdskfl(8) sgmode(8)

WARNINGS

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

COPYRIGHT

Copyright (C) 2001-2002 Intel Corp.

sgraidmon is open source software. You can redistribute
it and/or modify it under the terms of the BSD License.
See the COPYING file included with this software package
for more details regarding distribution.

sgraidmon is distributed in the hope that it will be use
ful, but WITHOUT ANY WARRANTY.

AUTHOR

Andy Cress <andrew.r.cress@intel.com>
Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout