NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
IcyK
Aug 29, 2015Tutor
Q: how to re-assemble RAID5 array
After some stupid action (described here) I lost a RAID5 volume (4 x 6TB, OS 4.2.27). The partitions vanished from the partition table. No warranty, no backup. It would be nice (though not essential)...
mdgm-ntgr
Aug 29, 2015NETGEAR Employee Retired
You could try forcing the array online but you may wish to clone your disks first. If you coyountact support you could purchase a data recovery attempt where support would attempt to recover your data.
What is the SMART stats of your disks like?
Edit: Oops. I confused the creation time with the update time.
- mdgm-ntgrAug 29, 2015NETGEAR Employee Retired
Before you try forcing it to start, what is the output of the following?
# cat /proc/partitions
# for i in /dev/sd[a-z]; do echo $i; smartctl -a $i | egrep "Model|Firm|Sector|Hours|Error|Uncorr"; done; - IcyKAug 29, 2015Tutor
I guess the SMART stats are OK, the disks have been 'on power' for only about 300 hours (bought them in the beginning of August). Last time I looked at SMART data (via OS6 interface) was around 170 hours, no errors then.
How would I force the array online?
Data recovery by Netgear is not an option I guess (fiddled aroud too much (OS4<->OS6), plus the Pro they were in was not bought new).
Next to that, the data is not that valuable (missing it would be an inconvenience, but not a real problem).
I don't have the spare space to clone about 16 TB. And my girlfriend won't make me live to the end of the weekend if I spend another 1000 EURO's for new disks ... :smileyfrustrated:
So I'll take the chances losing the data.
The disks are now in a Pro6 running Knoppix.
The requested output:
root@Microknoppix:/home/knoppix# cat /proc/partitions major minor #blocks name 240 0 10559232 cloop0 252 0 2259732 zram0 8 0 5860522584 sda 8 1 4193272 sda1 8 2 524228 sda2 8 3 5855800708 sda3 8 16 5860522584 sdb 8 17 4193272 sdb1 8 18 524228 sdb2 8 19 5855800708 sdb3 8 32 5860522584 sdc 8 33 4193272 sdc1 8 34 524228 sdc2 8 35 5855800708 sdc3 8 48 5860522584 sdd 8 49 4193272 sdd1 8 50 524228 sdd2 8 51 5855800708 sdd3 8 80 122368 sdf 8 81 122250 sdf1 8 64 7566624 sde 8 65 4556800 sde1 8 66 3008512 sde2
sda,b,c,d are HDD's,
sde is Knoppix pendrive
sdf is internal flash (I presume)
root@Microknoppix:/home/knoppix# for i in /dev/sd[a-z]; do echo $i; smartctl -a $i | egrep "Model|Firm|Sector|Hours|Error|Uncorr"; done; /dev/sda Device Model: WDC WD60EFRX-68MYMN1 Firmware Version: 82.00A82 Sector Sizes: 512 bytes logical, 4096 bytes physical Error logging capability: (0x01) Error logging supported. SCT Error Recovery Control supported. 1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0 5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0 7 Seek_Error_Rate 0x002e 100 253 000 Old_age Always - 0 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 288 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 100 253 000 Old_age Offline - 0 SMART Error Log Version: 1 No Errors Logged /dev/sdb Device Model: WDC WD60EFRX-68MYMN1 Firmware Version: 82.00A82 Sector Sizes: 512 bytes logical, 4096 bytes physical Error logging capability: (0x01) Error logging supported. SCT Error Recovery Control supported. 1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0 5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0 7 Seek_Error_Rate 0x002e 100 253 000 Old_age Always - 0 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 288 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 100 253 000 Old_age Offline - 0 SMART Error Log Version: 1 No Errors Logged /dev/sdc Device Model: WDC WD60EFRX-68MYMN1 Firmware Version: 82.00A82 Sector Sizes: 512 bytes logical, 4096 bytes physical Error logging capability: (0x01) Error logging supported. SCT Error Recovery Control supported. 1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0 5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0 7 Seek_Error_Rate 0x002e 100 253 000 Old_age Always - 0 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 288 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 100 253 000 Old_age Offline - 0 SMART Error Log Version: 1 No Errors Logged /dev/sdd Device Model: WDC WD60EFRX-68MYMN1 Firmware Version: 82.00A82 Sector Sizes: 512 bytes logical, 4096 bytes physical Error logging capability: (0x01) Error logging supported. SCT Error Recovery Control supported. 1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0 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 - 294 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 100 253 000 Old_age Offline - 0 SMART Error Log Version: 1 No Errors Logged /dev/sde /dev/sdf /dev/sdg /dev/sdh- mdgm-ntgrAug 30, 2015NETGEAR Employee Retired
If it is OS6 then it would be /dev/md127 not /dev/md2
Does it make any difference if you try to assemble md127 rather than md2?Best to leave forcing it online as a last resort.
- IcyKAug 30, 2015Tutor
No difference, unfortunately...:
root@Microknoppix:/home/knoppix# mdadm --assemble /dev/md127 --verbose /dev/sd[abcd]3 mdadm: looking for devices for /dev/md127 mdadm: /dev/sda3 is identified as a member of /dev/md127, slot 0. mdadm: /dev/sdb3 is identified as a member of /dev/md127, slot 1. mdadm: /dev/sdc3 is identified as a member of /dev/md127, slot 2. mdadm: /dev/sdd3 is identified as a member of /dev/md127, slot 3. mdadm: failed to add /dev/sdb3 to /dev/md127: Invalid argument mdadm: failed to add /dev/sdc3 to /dev/md127: Invalid argument mdadm: failed to add /dev/sdd3 to /dev/md127: Invalid argument mdadm: failed to add /dev/sda3 to /dev/md127: Invalid argument mdadm: /dev/md127 assembled from 0 drives - need all 4 to start it (use --run to insist).
The array was created with OS4, but there was the stupidity with the switching as described in the post I referenced in the TS, which caused parts of OS6 landing on the OS4 partition.
Therefore I'd rather not put it back on Readynas OS (4 / 6), because I don't trust what drama will happen (and it probably won't boot anyway).
Bur the array was created in OS4.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!