On Thu, 2018-03-22 at 03:40 +0000, Chongyun Wu wrote: > I did a test. Below command can remove the residual device: > *echo "scsi remove-single-device 3 0 0 3" > /proc/scsi/scsi* > Is it safe? Hello Chongyun, Are you aware of the linux-scsi mailing list? I think this question would be more appropriate for that mailing list. Regarding your question, I think that you should be aware of the following comment above the proc write method that implements that functionality: "this provides a legacy mechanism to add or remove devices". Bart. -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel