Hello Toasters.
I've got a volume that is reconstructing, but I would really like to be able to make estimate on it's time of completion. Generally just a "blah blocks out of blah done" works, since I can do the math to make a logical rough estimate as to the completion time. All I know to do for status during a reconstruct is to use vol status. Is there a better more verbose way that can be issued at will? I suppose you can just watch syslog too, but I'd prefer a command.
Btw, I'm open to using a SNMP OID to get the info too, if I knew which IOD is was, and I don't recall any IODs that would tell me.
Thanks!
brockwood@homestead-inc.com
sysconfig -r will show % complete on the drive being rebuilt.
--DRS
On Tue, Apr 09, 2002 at 01:46:45PM -0700, Ben Rockwood wrote:
Hello Toasters.
I've got a volume that is reconstructing, but I would really like to be able to make estimate on it's time of completion. Generally just a "blah blocks out of blah done" works, since I can do the math to make a logical rough estimate as to the completion time. All I know to do for status during a reconstruct is to use vol status. Is there a better more verbose way that can be issued at will? I suppose you can just watch syslog too, but I'd prefer a command.
Btw, I'm open to using a SNMP OID to get the info too, if I knew which IOD is was, and I don't recall any IODs that would tell me.
Thanks!
brockwood@homestead-inc.com
All I know to do for status during a reconstruct is to use vol status. Is there a better more verbose way that can be issued at will?
Btw, I'm open to using a SNMP OID to get the info too, if I knew which IOD is was, and I don't recall any IODs that would tell me.
Look in the raidVTable -- if raidVStatus is reconstructionInProgress(2) or parityReconstructionInProgress(3), then raidVCompletionPerCent will have the number you want.. Now if only there were a raidVStatusChange TIMETICKS value from which you could derive the time to completion.....
enjoy. ..kg..
.1.3.6.1.4.1.789.1.6.2.1.3.INDEX raidVStatus .1.3.6.1.4.1.789.1.6.2.1.11.INDEX raidVCompletionPercent .1.3.6.1.4.1.789.1.6.2.1.24.INDEX raidVPlexName ("/vol0/plex0") .1.3.6.1.4.1.789.1.6.2.1.2.INDEX raidVDiskName ("data disk 4.9") INDEX is raidVVol.raidVGroup.raidVIndex