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. |
− | : | + | :<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 26: | ||
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> | ||
− | + | :<code>rescan-scsi-bus.sh --remove</code> or <code>rescan-scsi-bus.sh -r</code> | |
− | < | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | < | ||
− | |||
− | |||
<pre> | <pre> | ||
− | |||
− | |||
− | |||
sg10 changed: LU not available (PQual 1) | sg10 changed: LU not available (PQual 1) | ||
REM: Host: scsi3 Channel: 00 Id: 00 Lun: 07 | REM: Host: scsi3 Channel: 00 Id: 00 Lun: 07 | ||
Line 62: | Line 39: | ||
4 device(s) removed. | 4 device(s) removed. | ||
− | |||
multipath -ll | multipath -ll | ||
Line 69: | Line 45: | ||
</pre> | </pre> | ||
− | |||
− | |||
− | |||
== Activities == | == Activities == | ||
− | # Understand differences between <code>[[pvscan]]</code> which list all physical volumes and | + | # Understand differences between <code>[[pvscan]]</code> which list all physical volumes and [[rescan-scsi-bus.sh]] |
# 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: