Для мониторинга винтов для smart array hp. Есть утилита smartmontools-6.2
#smartctl -x -d cciss,1 /dev/ciss0
Код: Выделить всё
root@test19:/home/ilyaz # smartctl -x -d cciss,1 /dev/ciss0
smartctl 6.2 2013-07-26 r3841 [FreeBSD 9.2-RELEASE amd64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
/dev/ciss0 [cciss_disk_01] [SCSI]: Device open changed type from 'sat,auto+cciss' to 'cciss'
=== START OF INFORMATION SECTION ===
Vendor: HP
Product: DG146A4960
Revision: HPDB
User Capacity: 146,815,737,856 bytes [146 GB]
Logical block size: 512 bytes
Rotation Rate: 10020 rpm
Logical Unit id: 0x5000cca00013e2d4
Serial number: P4VAY13A
Device type: disk
Transport protocol: SAS
Local Time is: Mon Dec 16 20:46:09 2013 NOVT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Temperature Warning: Enabled
Read Cache is: Enabled
Writeback Cache is: Disabled
=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK
Current Drive Temperature: 34 C
Drive Trip Temperature: 70 C
Manufactured in week 44 of year 2007
Specified cycle count over device lifetime: 50000
Accumulated start-stop cycles: 13
Elements in grown defect list: 0
Vendor (Seagate) cache information
Blocks sent to initiator = 3188895843876864
Error counter log:
Errors Corrected by Total Correction Gigabytes Total
ECC rereads/ errors algorithm processed uncorrected
fast | delayed rewrites corrected invocations [10^9 bytes] errors
read: 0 0 0 0 0 0.000 0
write: 0 0 0 0 0 0.000 0
Non-medium error count: 1752
SMART Self-test log
Num Test Status segment LifeTime LBA_first_err [SK ASC ASQ]
Description number (hours)
# 1 Background long Completed - 46290 - [- - -]
# 2 Background short Completed - 46269 - [- - -]
# 3 Background short Completed - 46267 - [- - -]
Long (extended) Self Test duration: 2541 seconds [42.4 minutes]
Background scan results log
Status: waiting until BMS interval timer expires
Accumulated power on time, hours:minutes 46290:31 [2777431 minutes]
Number of background scans performed: 1779, scan progress: 100.00%
Number of background medium scans performed: 1779
Protocol Specific port log page for SAS SSP
relative target port id = 1
generation code = 0
number of phys = 1
phy identifier = 0
attached device type: end device
attached reason: unknown
reason: unknown
negotiated logical link rate: phy enabled; 3 Gbps
attached initiator port: ssp=1 stp=1 smp=1
attached target port: ssp=0 stp=0 smp=0
SAS address = 0x5000cca00013e2d5
attached SAS address = 0x5001438002646fa1
attached phy identifier = 1
Invalid DWORD count = 40
Running disparity error count = 40
Loss of DWORD synchronization = 35
Phy reset problem = 0
И
Код: Выделить всё
# cciss_vol_status /dev/ciss0
/dev/ciss0: (Smart Array P400i) RAID 0 Volume 0 status: OK.
/dev/ciss0: (Smart Array P400i) RAID 0 Volume 1 status: OK.
/dev/ciss0: (Smart Array P400i) RAID 0 Volume 2 status: OK.
/dev/ciss0: (Smart Array P400i) RAID 0 Volume 3 status: OK.
/dev/ciss0: (Smart Array P400i) RAID 0 Volume 4 status: OK.
/dev/ciss0: (Smart Array P400i) RAID 0 Volume 5 status: OK.
Код: Выделить всё
root@test19:/home/ilyaz # camcontrol devlist
<COMPAQ RAID 0 OK> at scbus0 target 0 lun 0 (pass0,da0)
<COMPAQ RAID 0 OK> at scbus0 target 1 lun 0 (pass1,da1)
<COMPAQ RAID 0 OK> at scbus0 target 2 lun 0 (pass2,da2)
<COMPAQ RAID 0 OK> at scbus0 target 3 lun 0 (pass3,da3)
<COMPAQ RAID 0 OK> at scbus0 target 4 lun 0 (pass4,da4)
<COMPAQ RAID 0 OK> at scbus0 target 5 lun 0 (pass5,da5)
<HL-DT-ST RW/DVD GCC-4244N 2.00> at scbus2 target 0 lun 0 (pass6,cd0)