3ware 9650SE: различия между версиями
Материал из noname.com.ua
Перейти к навигацииПерейти к поискуSirmax (обсуждение | вклад) |
Sirmax (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
[[Категория:Hardware]] |
[[Категория:Hardware]] |
||
[[Категория:Raid]] |
[[Категория:Raid]] |
||
+ | [[Категория: Raid]] |
||
+ | [[Категория: 3ware]] |
||
+ | [[Категория: Linux]] |
||
=3ware 9650SE= |
=3ware 9650SE= |
||
Этот текст - напоминание самому себе, потому что так редко пользуюсь tw_cli что приходиться читать ман каждый раз. |
Этот текст - напоминание самому себе, потому что так редко пользуюсь tw_cli что приходиться читать ман каждый раз. |
Текущая версия на 11:00, 4 сентября 2023
3ware 9650SE
Этот текст - напоминание самому себе, потому что так редко пользуюсь tw_cli что приходиться читать ман каждый раз.
В какой то момент времени понадобилось подключить 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
smartctl -a -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 15:08:41 2010 EEST SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED See vendor-specific Attribute list for marginal Attributes. General SMART Values: Offline data collection status: (0x82) Offline data collection activity was completed without error. Auto Offline Data Collection: Enabled. Self-test execution status: ( 246) Self-test routine in progress... 60% of test remaining. Total time to complete Offline data collection: ( 430) seconds. Offline data collection capabilities: (0x5b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. No Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 1) minutes. Extended self-test routine recommended polling time: ( 115) minutes. 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 119 091 006 Pre-fail Always - 229155998 3 Spin_Up_Time 0x0003 096 095 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 49 5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0 7 Seek_Error_Rate 0x000f 089 060 030 Pre-fail Always - 849154078 9 Power_On_Hours 0x0032 084 084 000 Old_age Always - 14424 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 75 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0 189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0 190 Airflow_Temperature_Cel 0x0022 051 035 045 Old_age Always In_the_past 49 (Lifetime Min/Max 26/49) 194 Temperature_Celsius 0x0022 049 065 000 Old_age Always - 49 (0 18 0 0) 195 Hardware_ECC_Recovered 0x001a 061 054 000 Old_age Always - 203295256 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 - 0 200 Multi_Zone_Error_Rate 0x0000 100 253 000 Old_age Offline - 0 202 TA_Increase_Count 0x0032 100 253 000 Old_age Always - 0 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Self-test routine in progress 60% 14424 - SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay.