Re: [Scsirastools-developers] sgsafte question
Brought to you by:
arcress
From: Cress, A. R <and...@in...> - 2007-04-24 11:50:51
|
Daniel, Both sgraidmon and sgsafte have a routine mdstat() which checks disks to see if they are active in a software raid by scanning /proc/mdstat. READY disks are healthy, but not in a RAID, and ONLINE disks are healthy, and show up in /proc/mdstat as active in a RAID configuration, as governed by /etc/raidtab. You can confirm this by doing "cat /proc/mdstat". =20 Sgdiskmon doesn't deal with RAIDs, so all READY hard disks are considered ONLINE. =20 Andy=20 -----Original Message----- From: scs...@li... [mailto:scs...@li...] On Behalf Of Daniel Smolik Sent: Tuesday, April 24, 2007 2:57 AM To: scs...@li... Subject: [Scsirastools-developers] sgsafte question Hi, can anybody explain me why status of disk is sometime ready and sometime online ? sgsafte utility v1.23 for SCSI SAF-TE testing Num Name bus:ch:id:lun Type Vendor Device_Model FRev Serial#=20 Status 0 /dev/sg0 /dev/sda 1:0:8:0 Disk FUJITSU MAG3091L SUN9.0G 1111=20 9944498794 onlin=20 e 1 /dev/sg1 /dev/sdb 1:0:9:0 Disk FUJITSU MAG3091L SUN9.0G 1111=20 9944499100 onlin=20 e 2 /dev/sg2 1:0:15:0 Proc SYMBIOS D1000 2 `'}=20 ready 3 /dev/sg3 /dev/sdc 2:0:8:0 Disk FUJITSU MAG3091L SUN9.0G 1111=20 9944498792 ready=20 4 /dev/sg4 /dev/sdd 2:0:9:0 Disk FUJITSU MAG3091L SUN9.0G 1111=20 9944499149 onlin=20 e 5 /dev/sg5 2:0:15:0 Proc SYMBIOS D1000 2 `'}=20 ready 6 /dev/sg6 /dev/sde 4:0:6:0 CDRM TOSHIBA XM6201TASUN32XCD 1103 12/12/97 ready 7 /dev/sg7 /dev/sdf 5:0:0:0 Disk SEAGATE ST39103LCSUN9.0G 034A=20 9949862528 ready=20 monitoring 8 scsi devices ... All disk are the same. Regards Dan PS: I use latest sgsafte --=20 Mydatex s r.o. http://www.mydatex.cz email: sm...@my... mob: 604200362 tel: 226210085 ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Scsirastools-developers mailing list Scs...@li... https://lists.sourceforge.net/lists/listinfo/scsirastools-developers |