mirror of
https://github.com/eLvErDe/hwraid.git
synced 2025-07-24 22:34:21 +02:00
Attempt to fix Channel exploration
This commit is contained in:
parent
b2d7f60baa
commit
2a8d11d88e
@ -699,7 +699,8 @@ 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):
|
||||
# RAID disks are usually with a channel of '2', JBOD disks with a channel of '0'
|
||||
for j in range (1, 8):
|
||||
diskpath = diskprefix + str(j) + ':' + str(arrayinfo[7]) + ':0'
|
||||
dbgprint('Looking for DISKpath : ' + diskpath)
|
||||
if os.path.exists(diskpath):
|
||||
|
Loading…
x
Reference in New Issue
Block a user