From 2a8d11d88e4a86eb77a7fe7fab5d130751a61f8b Mon Sep 17 00:00:00 2001 From: "Vincent S. Cojot" Date: Sun, 30 Sep 2018 13:33:58 -0400 Subject: [PATCH] Attempt to fix Channel exploration --- wrapper-scripts/megaclisas-status | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wrapper-scripts/megaclisas-status b/wrapper-scripts/megaclisas-status index 83649e6..798b835 100755 --- a/wrapper-scripts/megaclisas-status +++ b/wrapper-scripts/megaclisas-status @@ -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):