3ware 9650SE
Материал из noname.com.ua
3ware 9650SE
В какой то момент времени понадобилось подключить 4 диска (потестировать) а свободные были только порты в таком контроллере:
02:00.0 RAID bus controller: 3ware Inc 9650SE SATA-II RAID PCIe (rev 01) Subsystem: 3ware Inc 9650SE SATA-II RAID PCIe Flags: bus master, fast devsel, latency 0, IRQ 16 Memory at e2000000 (64-bit, prefetchable) [size=32M] Memory at e9000000 (64-bit, non-prefetchable) [size=4K] I/O ports at 9000 [size=256] [virtual] Expansion ROM at e8000000 [disabled] [size=128K] Capabilities: [40] Power Management version 2 Capabilities: [50] MSI: Enable- Count=1/32 Maskable- 64bit+ Capabilities: [70] Express Legacy Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting Kernel driver in use: 3w-9xxx Kernel modules: 3w-9xxx
После включения диска (сначала сигнальный шлейф, потом питание)
dmesg [874800.760969] 3w-9xxx: scsi6: AEN: INFO (0x04:0x001A): Drive inserted:port=2.
/c6 show all .. Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy ------------------------------------------------------------------------------ u0 SINGLE OK - - - 465.651 ON OFF Port Status Unit Size Blocks Serial --------------------------------------------------------------- p0 OK u0 465.76 GB 976771055 9QM14TZV p1 NOT-PRESENT - - - - p2 OK - 298.09 GB 625142448 3QF0ZBRW p3 NOT-PRESENT - - - -
//sirmax> /c6 add type=single disk=2
//sirmax> /c show all Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy ------------------------------------------------------------------------------ u0 SINGLE OK - - - 465.651 ON OFF u1 SINGLE OK - - - 298.013 ON OFF Port Status Unit Size Blocks Serial --------------------------------------------------------------- p0 OK u0 465.76 GB 976771055 9QM14TZV p1 NOT-PRESENT - - - - p2 OK u1 298.09 GB 625142448 3QF0ZBRW p3 NOT-PRESENT - - - -
[876313.950488] scsi 6:0:1:0: Direct-Access AMCC 9650SE-4LP DISK 3.08 PQ: 0 ANSI: 5 [876313.950738] sd 6:0:1:0: Attached scsi generic sg7 type 0 [876313.951734] sd 6:0:1:0: [sdg] 624977920 512-byte logical blocks: (319 GB/298 GiB) [876313.952292] sd 6:0:1:0: [sdg] Write Protect is off [876313.952296] sd 6:0:1:0: [sdg] Mode Sense: 23 00 00 00 [876313.952853] sd 6:0:1:0: [sdg] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA [876313.953890] sdg: unknown partition table [876314.091818] sd 6:0:1:0: [sdg] Attached SCSI disk
sirmax ~ # smartctl -i -d 3ware,2 /dev/twa0 smartctl version 5.38 [x86_64-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.10 family Device Model: ST3320620AS Serial Number: 3QF0ZBRW Firmware Version: 3.AAE User Capacity: 320,072,933,376 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 7 ATA Standard is: Exact ATA specification draft version not indicated Local Time is: Sat Apr 3 14:20:31 2010 EEST SMART support is: Available - device has SMART capability. SMART support is: Enabled
sirmax ~ # smartctl -A -d 3ware,0 /dev/twa0 smartctl version 5.38 [x86_64-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF READ SMART DATA SECTION === SMART Attributes Data Structure revision number: 10 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 093 090 006 Pre-fail Always - 165443963 3 Spin_Up_Time 0x0003 094 093 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 166 5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 2047 7 Seek_Error_Rate 0x000f 077 060 030 Pre-fail Always - 17403638360 9 Power_On_Hours 0x0032 083 083 000 Old_age Always - 15250 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 129 184 Unknown_Attribute 0x0032 100 100 099 Old_age Always - 0 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0 188 Unknown_Attribute 0x0032 100 088 000 Old_age Always - 51541901626 189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0 190 Airflow_Temperature_Cel 0x0022 061 053 045 Old_age Always - 39 (Lifetime Min/Max 36/47) 194 Temperature_Celsius 0x0022 039 047 000 Old_age Always - 39 (0 5 0 0) 195 Hardware_ECC_Recovered 0x001a 040 028 000 Old_age Always - 165443963 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 1