RESCAN-SCSI-BUS.SH
NAMESYNOPSIS
OPTIONS
SEE ALSO
NAME
rescan-scsi-bus.sh − script for adding and removing SCSI devices without rebooting
SYNOPSIS
rescan-scsi-bus.sh [options] [host [host ...]]
OPTIONS
−a, −−alltargets
scan all targets, not just currently existing [default: disabled]
−d |
enable debug [default: 0] |
|||
−l |
activates scanning for LUNs 0−−7 [default: 0] |
|||
−L NUM |
activates scanning for LUNs 0−−NUM [default: 0] |
−w, −−wide
scan for target device IDs 0−−15 [default: 0−−7]
−c |
enables scanning of channels 0 1 [default: 0 / all detected ones] |
−r, −−remove
enables removing of devices [default: disabled]
−f, −−flush
flush failed multipath devices [default: disabled]
−i, −−issue−lip
issue a FibreChannel LIP reset [default: disabled]
−u, −−update
look for existing disks that have been remapped
−s, −−resize
look for resized disks and reload associated multipath devices, if applicable
−−forcerescan
rescan existing devices
−−forceremove
remove and readd every device (DANGEROUS)
−−nooptscan
don’t stop looking for LUNs is 0 is not found
−−color
use coloured prefixes OLD/NEW/DEL
−−hosts=LIST
scan only host(s) in LIST
−−channels=LIST
scan only channel(s) in LIST
−−ids=LIST
scan only target ID(s) in LIST
−−luns=LIST
scan only lun(s) in LIST
−−sync, −−nosync
issue a sync / no sync [default: sync if remove]
−−attachpq3
tell kernel to attach sg to LUN 0 that reports PQ=3
−−reportlun2
tell kernel to try REPORT_LUN even on SCSI2 devices
−−largelun
tell kernel to support LUNs > 7 even on SCSI2 devs
−−sparselun
tell kernel to support sparse LUN numbering
Host numbers may thus be specified either directly on cmd line (deprecated) or or with the −−hosts=LIST parameter (recommended).
LIST: A[−B][,C[−D]]... is a comma separated list of single values and ranges (No spaces allowed.)
SEE ALSO
rescan-scsi-bus.sh Homepage: http://www.garloff.de/kurt/linux/#rescan-scsi
sg3_utils Homepage: http://sg.danny.cz/sg
More Linux Commands
manpages/auparse_get_field_int.3.html
auparse_get_field_int(3) - get current field's value as an i
auparse_get_field_int allows access to the value as an int of the current field of the current record in the current event. RETURN VALUE Returns -1 if there is
manpages/gnutls_x509_crt_verify_data.3.html
gnutls_x509_crt_verify_data(3) - API function (Man Page)....
This function will verify the given signed data, using the parameters from the certificate. Deprecated. Please use gnutls_pubkey_verify_data(). RETURNS In case
manpages/clnttcp_create.3.html
clnttcp_create(3) - library routines for remote procedure ca
These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the s
manpages/gcjh-4.6.1.html
gcjh-4.6(1) - - generate header files from Java class files
The gcjh program is used to generate header files from class files. It can generate both CNI and JNI header files, as well as stub implementation files which ca
manpages/asn1_delete_structure2.3.html
asn1_delete_structure2(3) API function - Linux manual page
asn1_delete_structure2.3 - Deletes the structure * structure . At the end, * structure is set to NULL. RETURNS ASN1_SUCCESS if successful, ASN1_ELEMENT_NOT_FOUN
manpages/XDrawArcs.3.html
XDrawArcs(3) - draw arcs and arc structure - Linux man page
XDrawArc draws a single circular or elliptical arc, and XDrawArcs draws multiple circular or elliptical arcs. Each arc is specified by a rectangle and two angle
manpages/SDL_GetEventFilter.3.html
SDL_GetEventFilter(3) - Retrieves a pointer to he event filt
This function retrieces a pointer to the event filter that was previously set using SDL_SetEventFilter. An SDL_EventFilter function is defined as: typedef int (
manpages/grolj4.1.html
grolj4(1) - groff driver for HP Laserjet 4 family (ManPage)
grolj4 is a driver for groff that produces output in PCL5 format suitable for an HP Laserjet 4 printer. There is an additional drawing command available: \DR dh
manpages/split.1.html
split(1) - split a file into pieces - Linux manual page.....
Output fixed-size pieces of INPUT to PREFIXaa, PREFIXab, ...; default size is 1000 lines, and default PREFIX is x. With no INPUT, or when INPUT is -, read stand
manpages/box.3ncurses.html
box(3ncurses) - create curses borders, horizontal and vertic
The border, wborder and box routines draw a box around the edges of a window. Other than the window, each argument is a character with attributes: ls - left sid
manpages/Tcl_FSFileAttrsGet.3.html
Tcl_FSFileAttrsGet(3) - procedures to interact with any file
There are several reasons for calling the Tcl_FS API functions (e.g. Tcl_FSAccess and Tcl_FSStat) rather than calling system level functions like access and sta
manpages/FcDirSave.3.html
FcDirSave(3) - DEPRECATED: formerly used to save a directory
This function now does nothing aside from returning FcFalse. It used to creates the per-directory cache file for dir and populates it with the fonts in set and
