On LsProDuo :
Jan 13 09:13:53 nas kernel: ata2: hard resetting link Jan 13 09:13:54 nas kernel: ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300) Jan 13 09:13:54 nas kernel: ata2.00: configured for UDMA/133 Jan 13 09:13:54 nas kernel: ata2: EH complete Jan 13 09:14:01 nas kernel: ata2: hard resetting link
Intel Solid-State Drive 520 Series 240 Go SSD 240 Go 2.5” 9.5 mm MLC Serial ATA 6Gb/s (Garantie 5 ans par Intel)
# hdparm -Tt /dev/sda
/dev/sda: Timing cached reads: 9924 MB in 2.00 seconds = 4970.54 MB/sec Timing buffered disk reads: 1308 MB in 3.00 seconds = 435.61 MB/sec
root@lap:/etc# sudo parted /dev/sda -s print unit b Model: ATA INTEL SSDSC2CW24 (scsi) Disk /dev/sda: 240GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 1049kB 368MB 367MB primary ntfs 2 368MB 33.6GB 33.2GB primary ntfs boot 3 33.6GB 33.6GB 8225kB primary linux-swap(v1) 4 33.6GB 240GB 206GB extended 5 33.6GB 139GB 106GB logical ext3 6 139GB 207GB 67.1GB logical ext4 boot 7 207GB 240GB 33.6GB logical ext4 root@lap:/etc# sudo parted /dev/sda -s unit b print Model: ATA INTEL SSDSC2CW24 (scsi) Disk /dev/sda: 240057409536B Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 1048576B 368050175B 367001600B primary ntfs 2 368050176B 33555480575B 33187430400B primary ntfs boot 3 33559142400B 33567367679B 8225280B primary linux-swap(v1) 4 33567398912B 240056795135B 206489396224B extended 5 33567399936B 139393820159B 105826420224B logical ext3 6 139393852416B 206503879679B 67110027264B logical ext4 boot 7 206504460288B 240056795135B 33552334848B logical ext4 parted /dev/sda -s \ unit b print mklabel msdos mkpart p ntfs 1048576B 368050175B mkpart p ntfs 368050176B 33555480575B toggle 2 boot mkpart p 3 linux-swap 33559142400B 33567367679B # TODO align mkpart e 33567398912B 240056795135B # TODO align mkpart l ext3 33567399936B 139393820159B # TODO align mkpart l ext4 139393852416B 206503879679B mkpart l ext4 206504460288B 240056795135B
get a spare disk and dump array
Samsung SpinPoint F3 - HD103SJ - 1 To 7200 RPM 32 Mo Serial ATA II (bulk)
SAMSUNG Spinpoint F1 1To Ecogreen - HD103SI
32 Mo SATA II 5400 trs/mn
Learn RAID :
WD20EARS @109eur 2TB
1TB @ 81
2inch5
http://www.jeanmariegall.com/2012/02/hitachi-z7k500-un-disque-dur-de-500-go.html
3inch
HD103UJ 1 TB
HD203WI ? SpinPoint F3EG Byte per Sector: 512 bytes
http://forum.buffalo.nas-central.org/viewtopic.php?f=50&t=21904&p=143085&hilit=HD204UI#p143085
HD204UI : 2000 go 32 Mo - SATA II - Ecogreen - SAMSUNG-HD204UI
http://forums.buffalotech.com/t5/Storage/Drive-Upgrade-in-LS-Pro-Duo/td-p/24200
http://sourceforge.net/apps/trac/smartmontools/wiki/SamsungF4EGBadBlocks
http://www.ldlc.com/fiche/PB00106462.html# 76EUR
http://www.password.fr/disques-durs/samsung-spinpoint-f4eg-2to-ecogreen-hd204ui-c269-p22126.html# 85EUR
@more: raid
http://www.samsung.com/us/computer/memory-storage/HX-DU020EC/BB2
hdparm -tTgi /dev/sdb /dev/sdb: geometry = 121601/255/63, sectors = 1953525168, start = 0 Model=SAMSUNG HD103UJ, FwRev=1AA01113, SerialNo=S13PJ90S137961 Config={ Fixed } RawCHS=16383/16/63, TrkSize=34902, SectSize=554, ECCbytes=4 BuffType=DualPortCache, BuffSize=unknown, MaxMultSect=16, MultSect=16 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=1953525168 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6 AdvancedPM=yes: disabled (255) WriteCache=enabled Drive conforms to: unknown: ATA/ATAPI-3,4,5,6,7 * signifies the current active mode Timing cached reads: 1110 MB in 2.00 seconds = 554.30 MB/sec Timing buffered disk reads: 342 MB in 3.02 seconds = 113.40 MB/sec hdparm -tTgi /dev/sdc /dev/sdc: geometry = 121601/255/63, sectors = 1953525168, start = 0 Model=SAMSUNG HD103UJ, FwRev=1AA01113, SerialNo=S1PVJ1NQ804277 Config={ Fixed } RawCHS=16383/16/63, TrkSize=34902, SectSize=554, ECCbytes=4 BuffType=DualPortCache, BuffSize=unknown, MaxMultSect=16, MultSect=16 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=1953525168 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6 AdvancedPM=yes: disabled (255) WriteCache=enabled Drive conforms to: unknown: ATA/ATAPI-3,4,5,6,7 * signifies the current active mode Timing cached reads: 1122 MB in 2.00 seconds = 561.19 MB/sec Timing buffered disk reads: 340 MB in 3.01 seconds = 113.08 MB/sec smartctl -s on -a /dev/disk2 smartctl version 5.37 [armv5tejl-unknown-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF INFORMATION SECTION === Device Model: SAMSUNG HD103UJ Serial Number: S13PJ90S137961 Firmware Version: 1AA01113 User Capacity: 1,000,204,886,016 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 7 ATA Standard is: Not recognized. Minor revision code: 0x52 Local Time is: Tue Jul 19 04:30:24 2011 JST ==> WARNING: May need -F samsung or -F samsung2 enabled; see manual for details. SMART support is: Available - device has SMART capability. SMART support is: Disabled === START OF ENABLE/DISABLE COMMANDS SECTION === SMART Enabled. === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: (12015) seconds. Offline data collection capabilities: (0x7b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. 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: ( 2) minutes. Extended self-test routine recommended polling time: ( 201) minutes. Conveyance self-test routine recommended polling time: ( 21) minutes. SMART Attributes Data Structure revision number: 16 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 253 253 051 Pre-fail Always - 0 3 Spin_Up_Time 0x0007 076 076 011 Pre-fail Always - 8050 4 Start_Stop_Count 0x0032 097 097 000 Old_age Always - 2646 5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0 7 Seek_Error_Rate 0x000f 253 253 051 Pre-fail Always - 0 8 Seek_Time_Performance 0x0025 100 100 015 Pre-fail Offline - 0 9 Power_On_Hours 0x0032 099 099 000 Old_age Always - 4304 10 Spin_Retry_Count 0x0033 100 100 051 Pre-fail Always - 0 11 Calibration_Retry_Count 0x0012 100 100 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 41 13 Read_Soft_Error_Rate 0x000e 253 253 000 Old_age Always - 0 183 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0 184 Unknown_Attribute 0x0033 100 100 000 Pre-fail Always - 0 187 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0 188 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0 190 Temperature_Celsius 0x0022 072 072 000 Old_age Always - 471400476 194 Temperature_Celsius 0x0022 067 067 000 Old_age Always - 33 (Lifetime Min/Max 0/8473) 195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age Always - 72545 196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x003e 253 253 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x000a 253 253 000 Old_age Always - 0 201 Soft_Read_Error_Rate 0x000a 253 253 000 Old_age Always - 0 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] 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. HDD Device 1: /dev/sdb HDD Model ID : SAMSUNG HD103UJ HDD Serial No: S13PJ90S137961 HDD Revision : 1AA01113 HDD Size : 1032117 MB Interface : S-ATA II Temperature : 37 °C Health : 100 % Performance : 100 % Power on time: 182 days, 1 hours Est. lifetime: more than 1000 days HDD Device 2: /dev/sdc HDD Model ID : SAMSUNG HD103UJ HDD Serial No: S1PVJ1NQ804277 HDD Revision : 1AA01113 HDD Size : 1032117 MB Interface : S-ATA II Temperature : 35 °C Health : 94 % Performance : 100 % Power on time: 30 days, 16 hours Est. lifetime: more than 1000 days # Disk DescriptorFile version=1 CID=9016cfee parentCID=ffffffff createType="fullDevice" # Extent description RW 1953525168 FLAT "/dev//sdb" 0 # The disk Data Base #DDB # VirtualBox # Disk DescriptorFile version=1 CID=9016cfee parentCID=ffffffff createType="fullDevice" # Extent description RW 1953525168 FLAT "/dev//sdb" 0 # The disk Data Base #DDB ddb.virtualHWVersion = "4" ddb.adapterType="ide" ddb.geometry.cylinders="16383" ddb.geometry.heads="16" ddb.geometry.sectors="63" ddb.uuid.image="848640b6-bcc7-42fd-9233-122d3e1bd406" ddb.uuid.parent="00000000-0000-0000-0000-000000000000" ddb.uuid.modification="00000000-0000-0000-0000-000000000000" ddb.uuid.parentmodification="00000000-0000-0000-0000-000000000000"
# Disk DescriptorFile version=1 CID=04c36efc parentCID=ffffffff createType="fullDevice" # Extent description RW 1953525168 FLAT "/dev/sdc" 0 # The disk Data Base #DDB ddb.virtualHWVersion = "4" ddb.adapterType="ide" ddb.geometry.cylinders="16383" ddb.geometry.heads="16" ddb.geometry.sectors="63" ddb.uuid.image="f9a41600-ef46-41b4-851e-2ed3b6c57441" ddb.uuid.parent="00000000-0000-0000-0000-000000000000" ddb.uuid.modification="00000000-0000-0000-0000-000000000000" ddb.uuid.parentmodification="00000000-0000-0000-0000-000000000000"
install dmraid=true
00:00.0 Host bridge: Intel Corporation P965/G965 Memory Controller Hub (rev 02) 00:00.0 0600: 8086:29a0 (rev 02) 00:01.0 PCI bridge: Intel Corporation P965/G965 PCI Express Root Port (rev 02) 00:01.0 0604: 8086:29a1 (rev 02) 00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network Connection (rev 02) 00:19.0 0200: 8086:104b (rev 02) 00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #4 (rev 02) 00:1a.0 0c03: 8086:2834 (rev 02) 00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #5 (rev 02) 00:1a.1 0c03: 8086:2835 (rev 02) 00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #2 (rev 02) 00:1a.7 0c03: 8086:283a (rev 02) 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02) 00:1b.0 0403: 8086:284b (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02) 00:1c.0 0604: 8086:283f (rev 02) 00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 02) 00:1c.4 0604: 8086:2847 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #1 (rev 02) 00:1d.0 0c03: 8086:2830 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #2 (rev 02) 00:1d.1 0c03: 8086:2831 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #3 (rev 02) 00:1d.2 0c03: 8086:2832 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #1 (rev 02) 00:1d.7 0c03: 8086:2836 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2) 00:1e.0 0604: 8086:244e (rev f2) 00:1f.0 ISA bridge: Intel Corporation 82801HH (ICH8DH) LPC Interface Controller (rev 02) 00:1f.0 0601: 8086:2812 (rev 02) 00:1f.2 RAID bus controller: Intel Corporation 82801HR/HO/HH (ICH8R/DO/DH) SATA RAID Controller (rev 02) 00:1f.2 0104: 8086:2822 (rev 02) 00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02) 00:1f.3 0c05: 8086:283e (rev 02) 01:00.0 VGA compatible controller: ATI Technologies Inc Unknown device 7183 01:00.0 0300: 1002:7183 01:00.1 Display controller: ATI Technologies Inc Unknown device 71a3 01:00.1 0380: 1002:71a3 # see [[ATI]]
dmesg EXT3-fs: mounted filesystem with ordered data mode. hub 2-0:1.0: port 1 disabled by hub (EMI?), re-enabling... usb 2-1: USB disconnect, address 2 sd 0:0:0:0: SCSI error: return code = 0x00070000 end_request: I/O error, dev sda, sector 251695589 Buffer I/O error on device sda5, logical block 6558697 lost page write due to I/O error on sda5 Buffer I/O error on device sda5, logical block 6558701 lost page write due to I/O error on sda5 Aborting journal on device sda5. journal commit I/O error