diff --git a/wrapper-scripts/megaclisas-status b/wrapper-scripts/megaclisas-status index b3a2b8e..fc8de76 100755 --- a/wrapper-scripts/megaclisas-status +++ b/wrapper-scripts/megaclisas-status @@ -668,10 +668,14 @@ if printarray: if pcipath: diskprefix = str('/dev/disk/by-path/pci-' + pcipath + '-scsi-0:') + dbgprint('Will look for DISKprefix : ' + diskprefix) for j in range (8): diskpath = diskprefix + str(j) + ':' + str(arrayinfo[7]) + ':0' + dbgprint('Looking for DISKpath : ' + diskpath) if os.path.exists(diskpath): arrayinfo[7] = os.path.realpath(diskpath) + dbgprint('Found DISK match: ' + diskpath + ' -> ' + arrayinfo[7]) + break else: arrayinfo[7] = 'N/A'