Editing /usr/bin/rescan-scsi-bus.sh
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | <code> | + | <code>rescan-scsi-bus.sh</code><ref>https://github.com/hreinecke/sg3_utils/blob/master/scripts/rescan-scsi-bus.sh</ref> included in <code>[[sg3-utils]]</code> package. |
:https://raw.githubusercontent.com/hreinecke/sg3_utils/master/scripts/rescan-scsi-bus.sh | :https://raw.githubusercontent.com/hreinecke/sg3_utils/master/scripts/rescan-scsi-bus.sh | ||
− | + | :<code>rescan-scsi-bus.sh -h</code> | |
− | |||
− | |||
− | |||
<pre> | <pre> | ||
rescan-scsi-bus.sh --alltargets or rescan-scsi-bus.sh -a | rescan-scsi-bus.sh --alltargets or rescan-scsi-bus.sh -a | ||
Line 30: | Line 27: | ||
0 device(s) removed. | 0 device(s) removed. | ||
</pre> | </pre> | ||
− | + | ||
:<code>rescan-scsi-bus.sh -i --issue-[[lip]]</code> | :<code>rescan-scsi-bus.sh -i --issue-[[lip]]</code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Remove block devices: rescan-scsi-bus.sh --remove == | == Remove block devices: rescan-scsi-bus.sh --remove == | ||
Line 69: | Line 51: | ||
</pre> | </pre> | ||
− | + | Related commands: <code>[[blkid]]</code> <code>[[multipath -f]]</code> <code>[[multipath -w]]</code> <code>[[pvcreate]]</code> | |
− | |||
− | |||
== Activities == | == Activities == | ||
# Understand differences between <code>[[pvscan]]</code> which list all physical volumes and <code>[[rescan-scsi-bus.sh]]</code> | # Understand differences between <code>[[pvscan]]</code> which list all physical volumes and <code>[[rescan-scsi-bus.sh]]</code> | ||
# Read Change log: https://github.com/hreinecke/sg3_utils/blob/master/scripts/rescan-scsi-bus.sh | # Read Change log: https://github.com/hreinecke/sg3_utils/blob/master/scripts/rescan-scsi-bus.sh | ||
− | |||
== See also == | == See also == | ||
− | |||
* {{Linux block devices}} | * {{Linux block devices}} | ||
* {{Linux Fibre Channel}} | * {{Linux Fibre Channel}} |
Advertising: