OS Manuals

/usr/bin/rescan-scsi-bus.sh

SCSI utilities for Linux, Unix and Windows

From sg3-utils 1.49-r3 (enterprise-packages), captured 2026-11-08 by running rescan-scsi-bus.sh --help (exit 1) · terse output. permalink

ERROR: udevadm not found
Options (32)
OptionDescriptionSource
-a, --alltargetsscan all targets, not just currently existing [default: disabled]man
--attachpq3tell kernel to attach sg to LUN 0 that reports PQ=3man
-cenables scanning of channels 0 1 [default: 0 / all detected ones]man
--channels CLISTscan only channel(s) in CLISTman
--coloruse coloured prefixes OLD/NEW/DELman
-denable debug [default: 0]man
-f, --flushflush failed multipath devices [default: disabled]man
--forceremoveremove stale devices (DANGEROUS)man
--forcerescanremove and re-add existing devices (DANGEROUS)man
-h, --helpprint usage message then exitman
--hosts HLISTscan only host(s) in HLISTman
--ids TLISTscan only target ID(s) in TLISTman
--ignore-revignore (firmware) revision change.man
-i, --issue-lipissue a FibreChannel LIP reset [default: disabled]man
-I, --issue-lip-wait SECSissue a FibreChannel LIP reset and then wait SECS seconds.man
-L NUMactivates scanning for LUNs 0--NUM [default: 0]man
-lactivates scanning for LUNs 0--7 [default: 0]man
--largeluntell kernel to support LUNs > 7 even on SCSI2 devsman
--luns NLISTscan only lun(s) in NLISTman
-m, --multipathupdate multipath devices [default: disabled]man
--no-lip-scandon't scan FC Host when the --issue-lip option is also given.man
--nooptscandon't stop looking for LUNs is 0 is not foundman
--nosyncdo not issue a sync [default: sync if remove]man
-r, --removeenables removing of devices [default: disabled]man
--reportlun2tell kernel to try REPORT_LUN even on SCSI2 devicesman
-s, --resizelook for resized disks and reload associated multipath devices, if applicableman
--sparseluntell kernel to support sparse LUN numberingman
--syncissue a sync [default: sync if remove]man
-t, --timeout SECStimeout for testing if device is online.man
-u, --updatelook for existing disks that have been remappedman
-V, --versionshows version string then exits.man
-w, --widescan for target device IDs 0--15 [default: 0--7]man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.