Red Hat Bugzilla – Bug 1255564
rescan-scsi-bus.sh -f shows error "[-x: command not found"
Last modified: 2016-11-03 22:53:56 EDT
Created attachment 1065420 [details] proposed patch for error Description of problem: rescan-scsi-bus.sh -f shows error "[-x: command not found" Version-Release number of selected component (if applicable): sg3_utils-1.37-5.el7.x86_64 sg3_utils-1.28-6.el6.x86_64 Steps to Reproduce: 1. Install device-mapper-multipath 2. Run 'rescan-scsi-bus.sh -f' Actual results: Command shows error: "[-x: command not found" Expected results: Command should not show this error
Apologies, did not mention before, I just tested and the issue does prevent the flushing of mpath devices. With the patched version it was able to flush. Please let me know if I can help. John
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2296.html