On 11/26/2013 05:26 PM, Douglas Gilbert wrote: > On 13-11-26 11:06 AM, Benjamin ESTRABAUD wrote: [ .. ] >> "rescan-scsi-bus.sh" did detect new LUN, but apparently not >> removed ones. >> However I need to test it on a system with a compatible bash shell >> as I wasn't >> able to run the script without errors. > > Did you try the rescan-scsi-bus.sh from sg3_utils v 1.37 or > earlier? The reason I ask is that a fair amount of work > was done on the rescan-scsi-bus.sh found in version 1.37 > including syncing with Kurt Garloff's version 1.57 plus > patches from Hannes Reinecke and Sean Stewart. > Plus you need to call it with '-r', otherwise it won't remove any stale LUNs. I'm sure it's documented somewhere ... Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@xxxxxxx +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html