2. During the CSI testing , i need to deploy/remove the pods of k8s,and the CSI driver in host side will rescan/release the multipath as well.
3. When i run the deployment script( starttest.sh in the CSI guide) ,new SG/Vol/MV will be created accordingly .in host side ,new paths will appear.
4. When i run the remove script( stoptest.sh in the CSI guide),SG/Vol/MV will be removed . In host side ,the multipath will disappear as well.
5. All of the above steps is fine,except the paths still there,only have devices,"lsblk" will output some device like sdb,sdc...,but "multipath -ll " output nothing,.--maybe need more commands to cleanup.
6. When i run the deployment script again, new SG/Vol/MV will be created normally,but in host side,the path DID NOT appear.
7.In this situation i have to perform a rescan,meanwhile ,CSI driver should running rescan as well,then below situation appears.
bmcfeeters
1 Rookie
•
72 Posts
1120
0
Posted July 6th, 2020 07:00
Hello Satoshi,
You may need to run something like the rescan-scsi-bus.sh script from the sg3_utils package to remove the stale devices.
Thanks
Bryan