On Tue, 2018-03-20 at 15:14 +0000, Bart Van Assche wrote: > On Tue, 2018-03-20 at 16:12 +0100, Xose Vazquez Perez wrote: > > > > There are some "remove" flags in rescan-scsi-bus.sh: > > https://github.com/hreinecke/sg3_utils/blob/d4dbbede04db21c206e4c2a > > cc1cf766117f003c3/scripts/rescan-scsi-bus.sh#L1080 > > > > -r enables removing of devices [default: disabled] > > --forceremove: Remove stale devices (DANGEROUS) > > --forcerescan: Remove and readd existing devices (DANGEROUS) > > Last time I checked the rescan-scsi-bus.sh script relied on the SCSI > sysfs > delete attribute to remove stale devices. That is the mechanism that > can > trigger a deadlock in the kernel. Is there an alternative the script could use? I'm not aware of any. Martin -- Dr. Martin Wilck <mwilck@xxxxxxxx>, Tel. +49 (0)911 74053 2107 SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel