# rescan-scsi-bus(8) - man - phpMan

[RESCAN-SCSI-BUS.SH(8)](https://www.chedong.com/phpMan.php/man/RESCAN-SCSI-BUS.SH/8/markdown)                  System Manager's Manual                 [RESCAN-SCSI-BUS.SH(8)](https://www.chedong.com/phpMan.php/man/RESCAN-SCSI-BUS.SH/8/markdown)



## NAME
       rescan-scsi-bus.sh - rescan the SCSI bus.

## SYNOPSIS
       **rescan-scsi-bus.sh** [ **-l** ] [ **-w** ] [ **-c** ] [ **-r** ] [ **host...**  ]

## DESCRIPTION
       **rescan-scsi-bus.sh**  is  a program that is used to rescan the SCSI bus using the SCSI add-sin‐
       gle-device feature of the Linux SCSI layer.

## OPTIONS
### -l

### -L

       **--luns**=_LIST_
              Scan only LUNs in _LIST_.

### -w

       **--ids**=_LIST_
              Scan only device IDs in _LIST_.

### -i --issue-lip
              Issue a FibreChannel LIP reset (default: disabled).

### -r --remove
              Enables removing of devices (default: disabled).

### --forceremove
              Remove and readd every device (dangerous).

### -c

       **--channels**=_LIST_
              Scan only channels in _LIST_.

       **host**, **--hosts**=_LIST_
              If host adapters are given, only these are scanned (default: all).

### --nooptscan
              Don't stop looking for LUNs if 0 is not found.

### --color
              Use coloured prefixes OLD/NEW/DEL.

       _LIST_ is a comma separated list  of  single  values  and  ranges  (no  spaces  allowed),  e.g.
       0,2-3,8,10-15.

## AUTHOR
       **rescan-scsi-bus.sh** was written by Kurt Garloff <<garloff@suse.de>>.

## COPYRIGHT
       This  program is free software. You can use it under the terms of the **GNU** **GPL** (General Public
       License) Version 2 (or any later version, at your option).  Note, that the GNU  GPL  implies,
       that there is **NO** **WARRANTY** at all.  Full text of the GPL can be found in /usr/share/common-li‐
       censes/GPL file.

## AVAILABILITY
       **rescan-scsi-bus.sh** is available from
### <http://www.garloff.de/kurt/linux/scsidev/>



                                             March 1998                        [RESCAN-SCSI-BUS.SH(8)](https://www.chedong.com/phpMan.php/man/RESCAN-SCSI-BUS.SH/8/markdown)
