logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

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

Availability

rescan-scsi-bus.sh is available from
       http://www.garloff.de/kurt/linux/scsidev/

                                                   March 1998                              RESCAN-SCSI-BUS.SH(8)

Description

rescan-scsi-bus.sh  is  a  program  that  is used to rescan the SCSI bus using the SCSI add-single-device
       feature of the Linux SCSI layer.

Name

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

Options

-l     Activates scanning for LUNs 0 .. 7 (default: 0).

       -LNUM Activates scanning for LUNs 0 .. LUN (default: 0).

       --luns=LIST
              Scan only LUNs in LIST.

       -w     Enables scanning for device IDs 0 .. 15 (default: 0 .. 7).

       --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     Enables scanning of channels 0 1 (default: 0).

       --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.

Synopsis

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

See Also