--
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/alt-f.
For more options, visit https://groups.google.com/d/optout.
I updated https://sourceforge.net/p/alt-f/tickets/409/ with the info you asked for (sdb2/Examine and RAID Operations/Details output).
Thanks!marcio
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+un...@googlegroups.com.
Hi Joao,I have repeated the steps multiple times, from the start, over 3 or 4 days. I remove the drive from the array, copy the partition table from the good drive, etc. Basically I Follow the wiki steps.
I am travelling now so I am typing this particular email from memory. I recall a “and if your drive was formatted with Alt-F you can skip to step F” near the end.It always looks like it is going to work. If I recall properly it prints something like “synchronizing” or a similar word when I add the drive to the array. That one page never refreshes.
Many hours later I open a new browser tab on the status page and it shows sda2 in green
but the ETA column is always blank, if I recall properly.
When I come again hours later the sda2 part is red and I can see it is a spare.
I am on the road and will be back Jan 07, so if you can think of particular steps I can try them when I am back.
I have a guess. Maybe a “fsck” should be run before adding the new drive? I did try that on my second or third attempt though. Couldn’t think of anything else.
Start doing a backup, if you don't have one. (yes, I know, but RAID is not necessarily about backups, it's about 24/7 availability).
perform the SMART short tests
smartctl 6.5 2016-05-07 r4318 [armv5tel-linux-4.4.86] (local build) Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Western Digital Red Device Model: WDC WD40EFRX-68N32N0 Serial Number: WD-WCC7K6VCNHZ7 LU WWN Device Id: 5 0014ee 2104174b3 Firmware Version: 82.00A82 User Capacity: 4,000,787,030,016 bytes [4.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 5400 rpm Form Factor: 3.5 inches Device is: In smartctl database [for details use: -P show] ATA Version is: ACS-3 T13/2161-D revision 5 SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s) Local Time is: Sun Jan 6 13:13:52 2019 BRST 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 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 0x002f 200 200 051 Pre-fail Always - 0 3 Spin_Up_Time 0x0027 195 167 021 Pre-fail Always - 5216 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 313 5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0 7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 574 10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0 11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 5 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 0 193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 791 194 Temperature_Celsius 0x0022 107 103 000 Old_age Always - 43 196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0030 100 253 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 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 Short offline Completed without error 00% 543 - # 2 Short offline Completed without error 00% 519 - # 3 Short offline Completed without error 00% 495 - # 4 Short offline Completed without error 00% 471 - # 5 Short offline Completed without error 00% 447 - # 6 Short offline Completed without error 00% 423 - # 7 Extended offline Completed without error 00% 408 - # 8 Short offline Completed without error 00% 375 - # 9 Short offline Completed without error 00% 351 - #10 Short offline Completed without error 00% 327 - #11 Short offline Completed without error 00% 304 - #12 Short offline Completed without error 00% 280 - #13 Short offline Completed without error 00% 256 - #14 Extended offline Completed without error 00% 241 - #15 Short offline Completed without error 00% 213 - #16 Short offline Completed without error 00% 202 - #17 Short offline Completed without error 00% 171 - #18 Short offline Completed without error 00% 129 - #19 Extended offline Completed without error 00% 113 - #20 Short offline Completed without error 00% 82 - #21 Short offline Completed without error 00% 52 -
smartctl 6.5 2016-05-07 r4318 [armv5tel-linux-4.4.86] (local build) Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Western Digital Red Device Model: WDC WD40EFRX-68WT0N0 Serial Number: WD-WCC4E7TAACPF LU WWN Device Id: 5 0014ee 2625e655f Firmware Version: 82.00A82 User Capacity: 4,000,787,030,016 bytes [4.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 5400 rpm Device is: In smartctl database [for details use: -P show] ATA Version is: ACS-2 (minor revision not indicated) SATA Version is: SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s) Local Time is: Sun Jan 6 13:15:49 2019 BRST 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 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 0x002f 200 200 051 Pre-fail Always - 471 3 Spin_Up_Time 0x0027 198 179 021 Pre-fail Always - 7091 4 Start_Stop_Count 0x0032 096 096 000 Old_age Always - 4692 5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0 7 Seek_Error_Rate 0x002e 200 199 000 Old_age Always - 0 9 Power_On_Hours 0x0032 082 082 000 Old_age Always - 13456 10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0 11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 52 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 21 193 Load_Cycle_Count 0x0032 193 193 000 Old_age Always - 23322 194 Temperature_Celsius 0x0022 109 100 000 Old_age Always - 43 196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 106 198 Offline_Uncorrectable 0x0030 200 200 000 Old_age Offline - 99 199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 356 SMART Error Log Version: 1 ATA Error Count: 168 (device log contains only the most recent five errors) CR = Command Register [HEX] FR = Features Register [HEX] SC = Sector Count Register [HEX] SN = Sector Number Register [HEX] CL = Cylinder Low Register [HEX] CH = Cylinder High Register [HEX] DH = Device/Head Register [HEX] DC = Device Command Register [HEX] ER = Error register [HEX] ST = Status register [HEX] Powered_Up_Time is measured from power on, and printed as DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes, SS=sec, and sss=millisec. It "wraps" after 49.710 days. Error 168 occurred at disk power-on lifetime: 2706 hours (112 days + 18 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 04 61 46 00 00 00 a0 Device Fault; Error: ABRT Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- ef 03 46 00 00 00 a0 08 16d+21:27:47.375 SET FEATURES [Set transfer mode] ec 00 00 00 00 00 a0 08 16d+21:27:47.360 IDENTIFY DEVICE c8 00 08 a0 09 00 e0 08 16d+21:27:46.822 READ DMA ec 00 00 00 00 00 a0 08 16d+21:27:46.795 IDENTIFY DEVICE ef 03 46 00 00 00 a0 08 16d+21:27:46.776 SET FEATURES [Set transfer mode] Error 167 occurred at disk power-on lifetime: 2706 hours (112 days + 18 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 04 61 08 a0 09 00 e0 Device Fault; Error: ABRT 8 sectors at LBA = 0x000009a0 = 2464 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- c8 00 08 a0 09 00 e0 08 16d+21:27:46.822 READ DMA ec 00 00 00 00 00 a0 08 16d+21:27:46.795 IDENTIFY DEVICE ef 03 46 00 00 00 a0 08 16d+21:27:46.776 SET FEATURES [Set transfer mode] ec 00 00 00 00 00 a0 08 16d+21:27:46.760 IDENTIFY DEVICE c8 00 08 a0 09 00 e0 08 16d+21:27:46.223 READ DMA Error 166 occurred at disk power-on lifetime: 2706 hours (112 days + 18 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 04 61 46 00 00 00 a0 Device Fault; Error: ABRT Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- ef 03 46 00 00 00 a0 08 16d+21:27:46.776 SET FEATURES [Set transfer mode] ec 00 00 00 00 00 a0 08 16d+21:27:46.760 IDENTIFY DEVICE c8 00 08 a0 09 00 e0 08 16d+21:27:46.223 READ DMA ec 00 00 00 00 00 a0 08 16d+21:27:46.196 IDENTIFY DEVICE ef 03 46 00 00 00 a0 08 16d+21:27:46.176 SET FEATURES [Set transfer mode] Error 165 occurred at disk power-on lifetime: 2706 hours (112 days + 18 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 04 61 08 a0 09 00 e0 Device Fault; Error: ABRT 8 sectors at LBA = 0x000009a0 = 2464 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- c8 00 08 a0 09 00 e0 08 16d+21:27:46.223 READ DMA ec 00 00 00 00 00 a0 08 16d+21:27:46.196 IDENTIFY DEVICE ef 03 46 00 00 00 a0 08 16d+21:27:46.176 SET FEATURES [Set transfer mode] ec 00 00 00 00 00 a0 08 16d+21:27:46.161 IDENTIFY DEVICE c8 00 08 a0 09 00 e0 08 16d+21:27:45.623 READ DMA Error 164 occurred at disk power-on lifetime: 2706 hours (112 days + 18 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 04 61 46 00 00 00 a0 Device Fault; Error: ABRT Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- ef 03 46 00 00 00 a0 08 16d+21:27:46.176 SET FEATURES [Set transfer mode] ec 00 00 00 00 00 a0 08 16d+21:27:46.161 IDENTIFY DEVICE c8 00 08 a0 09 00 e0 08 16d+21:27:45.623 READ DMA ec 00 00 00 00 00 a0 08 16d+21:27:45.597 IDENTIFY DEVICE ef 03 46 00 00 00 a0 08 16d+21:27:45.597 SET FEATURES [Set transfer mode] SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Short offline Completed: read failure 90% 13456 1839680 # 2 Extended offline Completed: read failure 90% 13449 1839682 # 3 Short offline Completed: read failure 90% 13425 1839685 # 4 Short offline Completed: read failure 90% 13401 1839681 # 5 Short offline Completed: read failure 90% 13377 1839680 # 6 Short offline Completed: read failure 90% 13353 1839680 # 7 Short offline Completed without error 00% 13329 - # 8 Short offline Completed without error 00% 13305 - # 9 Extended offline Completed: read failure 90% 13281 1883176 #10 Short offline Completed without error 00% 13257 - #11 Short offline Completed without error 00% 13234 - #12 Short offline Completed without error 00% 13210 - #13 Short offline Completed without error 00% 13186 - #14 Short offline Completed: read failure 90% 13162 1886732 #15 Short offline Completed without error 00% 13138 - #16 Extended offline Completed: read failure 90% 13114 1890287 #17 Short offline Completed: read failure 90% 13092 1890285 #18 Short offline Completed: read failure 90% 13082 1890280 #19 Short offline Completed: read failure 90% 13047 1890282 #20 Short offline Completed: read failure 50% 13009 1900936 #21 Extended offline Completed: read failure 90% 12991 1900936
Make sure that SMART and "mdadm" are continuously monitoring your disks, Services->System, "mdadm" and "smart" should be running and boot active (that is for the future, it will not solve any problem now).
you have to Fail it, Remove it, and Clear it first, then Add it. Now go to the Status page, and see the RAID status, go to the RAID page and see more details about the RAID array.
| Dev. | Capacity | Level | Ver. | Components | Array | RAID Operations | Component Operations | ||
|---|---|---|---|---|---|---|---|---|---|
| md0 | 3725.1GB | raid1 | 1.0 | sda2 sdb2 |
| recovering | ||||
| Dev. | Capacity | Level | Ver. | Components | Array | RAID Operations | Component Operations | ||
|---|---|---|---|---|---|---|---|---|---|
| md0 | 3725.1GB | raid1 | 1.0 | sda2 sdb2 |
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+un...@googlegroups.com.
Hi Joao,
I am back.Start doing a backup, if you don't have one. (yes, I know, but RAID is not necessarily about backups, it's about 24/7 availability).This drive is a TimeMachine drive for a Mac. The Mac already alternates backing up to 3 drives, 2 USB-attached drives and the this NAS as a network drive, in another room. The NAS has the longest history, due to its higher capacity. I’d really like to prevent losing this long-lasting TimeMachine data.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+un...@googlegroups.com.
Hi Joao,
Thanks for your help!!!!Yes, updating the wiki would be nice. I would be more emphatic and say that if there is *any* read error in the SMART test, the RAID mirroring will fail for sure. Your text proposal suggests it is just a precaution, when in fact it is a guarantee of frustration and failure for the hard drive replacement.
Yes, the drives are fairly new and were bought together. I am not sure what the warranty is on these drives. I would suspect one year? I will check.I am interested in this:"That said, it is possible to force the remap of the currently bad sectors by writing to them (you know their LBA, location on the disk, not partition), with some possible data loss. I have done that already and the drive hasn't develop new errors since them, but I only use it for tests anyway.”I am not a Linux wizard. Can you help with commands I could/should run?
Thanks!marcio