mirror of
https://github.com/eLvErDe/hwraid.git
synced 2025-07-23 13:54:23 +02:00
Minor issue (drive being added to an array). (Rev 1.51)
This commit is contained in:
parent
89e2904df6
commit
f017979f10
@ -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 <gandalf@NOSPAM.le-vert.net>
|
||||
# Modified vy Vincent S. Cojot <vincent@NOSPAM.cojot.name>
|
||||
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user