Closed 27149chen closed 5 years ago
The purpose of this PR is to drop iscan-scsi-bus.sh, including:
Rescan
systool -c fc_host -v
echo "- - lunid" > /sys/class/scsi_host/host0/scan
Delete
multipath -ll
echo 1 > /sys/block/sda/device/delete
The main change of this PR is adding three files:
It is a very lite version of os_brick.
This change is
@27149chen - note : chmod-mountpoint branch is not related to this rescan PR, so there is no point to merge it inside this PR.
The purpose of this PR is to drop iscan-scsi-bus.sh, including:
Rescan
systool -c fc_host -v
to get all the active fc hbas (host0, host1, ...)echo "- - lunid" > /sys/class/scsi_host/host0/scan
to scan each hbaDelete
multipath -ll
echo 1 > /sys/block/sda/device/delete
to delete each deviceThe main change of this PR is adding three files:
It is a very lite version of os_brick.
This change is