diff --git a/wrapper-scripts/megaclisas-status b/wrapper-scripts/megaclisas-status index fbaf517..b9b9bf6 100755 --- a/wrapper-scripts/megaclisas-status +++ b/wrapper-scripts/megaclisas-status @@ -1,5 +1,5 @@ #!/usr/bin/python -# $Id: megaclisas-status,v 1.50 2015/04/17 19:37:53 root Exp $ +# $Id: megaclisas-status,v 1.51 2015/04/17 22:06:56 root Exp $ # # Written by Adam Cecile # Modified vy Vincent S. Cojot @@ -437,8 +437,10 @@ def returnUnconfDiskInfo(output,controllerid): # Drive temp is amongst the last few lines matched, decide here if we add information to the table.. if arrayid == False: if subfstate == 'Unconfigured': - ### print str(arrayid)+' '+str(diskid)+' '+str(olddiskid)+' '+str(state) - table.append([ mtype, model, dsize, fstate, speed, temp, enclid, slotid, lsidid]) + dbgprint('Unconfigured Disk: Arrayid: '+str(arrayid)+' DiskId: '+str(diskid)+' '+str(olddiskid)+' '+str(fstate)) + if subfstate == 'Online, Spun Up': + dbgprint('Online Disk: Arrayid: '+str(arrayid)+' DiskId: '+str(diskid)+' '+str(olddiskid)+' '+str(fstate)) + table.append([ mtype, model, dsize, fstate, speed, temp, enclid, slotid, lsidid]) return table cmd = '%s -adpCount -NoLog' % (megaclipath)