Rebuilding RAID 5 structure ME -> PANIC
NiceMan
Posts: 7
I had problem with my raid disk 3 on NAS542.
Decided to update the firmware and to replace the failed HDD.
Updated successfully the FW to the latest version.
Then replaced the failed drive #3 with a new one.
Started rebuilding the RAID 5 structure. At 1.8% the device crashed and I had to reboot.
After the reboot the error was that HDD 1 is not part of the RAID volume (out of sync).
I think drives 1, 2 and 4 work properly. The error is aftermath of the reboot.
Someone help me recover the data. I'm lost. And noob with RAID too.
Decided to update the firmware and to replace the failed HDD.
Updated successfully the FW to the latest version.
Then replaced the failed drive #3 with a new one.
Started rebuilding the RAID 5 structure. At 1.8% the device crashed and I had to reboot.
After the reboot the error was that HDD 1 is not part of the RAID volume (out of sync).
I think drives 1, 2 and 4 work properly. The error is aftermath of the reboot.
Someone help me recover the data. I'm lost. And noob with RAID too.
0
All Replies
-
~ # cat /proc/mdstatPersonalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]md3 : inactive sda3[5](S)1949513728 blocks super 1.2md2 : inactive sdb3[1](S) sdd3[3](S)3898767360 blocks super 1.2md1 : active raid1 sda2[0] sdd2[3] sdb2[1]1998784 blocks super 1.2 [4/3] [UU_U]md0 : active raid1 sdc1[4](F) sda1[0] sdd1[3] sdb1[1]1997760 blocks super 1.2 [4/3] [UU_U]unused devices: <none>0
-
~ # cat /proc/partitionsmajor minor #blocks name7 0 147456 loop031 0 256 mtdblock031 1 512 mtdblock131 2 256 mtdblock231 3 10240 mtdblock331 4 10240 mtdblock431 5 112640 mtdblock531 6 10240 mtdblock631 7 112640 mtdblock731 8 6144 mtdblock88 0 1953514584 sda8 1 1998848 sda18 2 1999872 sda28 3 1949514752 sda38 16 1953514584 sdb8 17 1998848 sdb18 18 1999872 sdb28 19 1949514752 sdb38 32 1953514584 sdc8 33 1998848 sdc18 34 1999872 sdc28 35 1949514752 sdc38 48 1953514584 sdd8 49 1998848 sdd18 50 1999872 sdd28 51 1949514752 sdd331 9 102424 mtdblock99 0 1997760 md09 1 1998784 md131 10 4464 mtdblock100
-
~ # cat /proc/mountsrootfs / rootfs rw 0 0/proc /proc proc rw,relatime 0 0/sys /sys sysfs rw,relatime 0 0none /proc/bus/usb usbfs rw,relatime 0 0devpts /dev/pts devpts rw,relatime,mode=600 0 0ubi5:ubi_rootfs1 /firmware/mnt/nand ubifs ro,relatime 0 0/dev/md0 /firmware/mnt/sysdisk ext4 ro,relatime,user_xattr,barrier=1,data=ordered 0 0/dev/loop0 /ram_bin ext2 ro,relatime,user_xattr,barrier=1 0 0/dev/loop0 /usr ext2 ro,relatime,user_xattr,barrier=1 0 0/dev/loop0 /lib/security ext2 ro,relatime,user_xattr,barrier=1 0 0/dev/loop0 /lib/modules ext2 ro,relatime,user_xattr,barrier=1 0 0/dev/loop0 /lib/locale ext2 ro,relatime,user_xattr,barrier=1 0 0/dev/ram0 /tmp/tmpfs tmpfs rw,relatime,size=5120k 0 0/dev/ram0 /usr/local/etc tmpfs rw,relatime,size=5120k 0 0ubi3:ubi_config /etc/zyxel ubifs rw,relatime 0 0configfs /sys/kernel/config configfs rw,relatime 0 00
-
mdadm --examine /dev/sd[abcdef]3/dev/sda3:Magic : a92b4efcVersion : 1.2Feature Map : 0x0Array UUID : 4e742b3f:b0b2794c:83062d84:2833deb8Name : NAS542:1Creation Time : Wed Apr 26 23:28:17 2017Raid Level : raid1Raid Devices : 4Avail Dev Size : 3899027456 (1859.20 GiB 1996.30 GB)Array Size : 1998784 (1952.27 MiB 2046.75 MB)Used Dev Size : 3997568 (1952.27 MiB 2046.75 MB)Data Offset : 2048 sectorsSuper Offset : 8 sectorsState : cleanDevice UUID : 37b12f05:983e4e69:c0f59ed2:35fba7f2Update Time : Fri Jan 22 04:34:36 2021Checksum : ada3c810 - correctEvents : 411Device Role : spareArray State : AAAA ('A' == active, '.' == missing)/dev/sdb3:Magic : a92b4efcVersion : 1.2Feature Map : 0x0Array UUID : 1ff44e8b:f8340d1c:23c7ab5d:43d85bc6Name : NAS542:2Creation Time : Wed Apr 26 23:28:19 2017Raid Level : raid5Raid Devices : 4Avail Dev Size : 3898767360 (1859.08 GiB 1996.17 GB)Array Size : 5848151040 (5577.23 GiB 5988.51 GB)Data Offset : 262144 sectorsSuper Offset : 8 sectorsState : cleanDevice UUID : 3de071e5:9b79e2a9:67c0e9a2:e37e8f44Update Time : Fri Jan 22 02:51:33 2021Checksum : dc8683f7 - correctEvents : 15479Layout : left-symmetricChunk Size : 64KDevice Role : Active device 1Array State : .A.A ('A' == active, '.' == missing)mdadm: No md superblock detected on /dev/sdc3./dev/sdd3:Magic : a92b4efcVersion : 1.2Feature Map : 0x0Array UUID : 1ff44e8b:f8340d1c:23c7ab5d:43d85bc6Name : NAS542:2Creation Time : Wed Apr 26 23:28:19 2017Raid Level : raid5Raid Devices : 4Avail Dev Size : 3898767360 (1859.08 GiB 1996.17 GB)Array Size : 5848151040 (5577.23 GiB 5988.51 GB)Data Offset : 262144 sectorsSuper Offset : 8 sectorsState : cleanDevice UUID : b24b3047:f2263e4e:9dc80f40:afb75e4dUpdate Time : Fri Jan 22 02:51:33 2021Checksum : 8895ddc6 - correctEvents : 15479Layout : left-symmetricChunk Size : 64KDevice Role : Active device 3Array State : .A.A ('A' == active, '.' == missing)mdadm: cannot open /dev/sde3: No such device or addressmdadm: cannot open /dev/sdf3: No such device or address0
-
OK
I did it!
All data recovered!
Recreated the RAID5
Remounted the volume
Learned a lot tonight.
All done...
0 -
Hello,
I have raid degraded, I replace disk 2, follow the steps to repair it, after a few minutes of loading took me back to the repair page. I check and this is my status:~ # mdadm --examine /dev/sd[abcd]3/dev/sda3:Magic : a92b4efcVersion : 1.2Feature Map : 0x0Array UUID : ba107b29:c0145772:da954bd1:e8ed408cName : NasProductie:2 (local to host NasProductie)Creation Time : Wed May 2 12:23:26 2018Raid Level : raid5Raid Devices : 4Avail Dev Size : 11712782336 (5585.09 GiB 5996.94 GB)Array Size : 17569172928 (16755.27 GiB 17990.83 GB)Used Dev Size : 11712781952 (5585.09 GiB 5996.94 GB)Data Offset : 262144 sectorsSuper Offset : 8 sectorsState : activeDevice UUID : 25519dae:6ffb4334:78ac2f19:040a1bc1Update Time : Fri Jan 28 20:47:48 2022Checksum : bbe1e0e2 - correctEvents : 20244Layout : left-symmetricChunk Size : 64KDevice Role : Active device 0Array State : AAAA ('A' == active, '.' == missing)/dev/sdb3:Magic : a92b4efcVersion : 1.2Feature Map : 0x0Array UUID : ba107b29:c0145772:da954bd1:e8ed408cName : NasProductie:2 (local to host NasProductie)Creation Time : Wed May 2 12:23:26 2018Raid Level : raid5Raid Devices : 4Avail Dev Size : 11712782336 (5585.09 GiB 5996.94 GB)Array Size : 17569172928 (16755.27 GiB 17990.83 GB)Used Dev Size : 11712781952 (5585.09 GiB 5996.94 GB)Data Offset : 262144 sectorsSuper Offset : 8 sectorsState : cleanDevice UUID : 98cda793:3772a83f:396cc157:68bfdcbbUpdate Time : Sat Jan 29 11:05:35 2022Checksum : e5a7135e - correctEvents : 20517Layout : left-symmetricChunk Size : 64KDevice Role : spareArray State : ..AA ('A' == active, '.' == missing)/dev/sdc3:Magic : a92b4efcVersion : 1.2Feature Map : 0x0Array UUID : ba107b29:c0145772:da954bd1:e8ed408cName : NasProductie:2 (local to host NasProductie)Creation Time : Wed May 2 12:23:26 2018Raid Level : raid5Raid Devices : 4Avail Dev Size : 11712782336 (5585.09 GiB 5996.94 GB)Array Size : 17569172928 (16755.27 GiB 17990.83 GB)Used Dev Size : 11712781952 (5585.09 GiB 5996.94 GB)Data Offset : 262144 sectorsSuper Offset : 8 sectorsState : cleanDevice UUID : c9f527ed:fe6bbd25:c086f5a3:c58af25cUpdate Time : Sat Jan 29 11:05:35 2022Checksum : 12858769 - correctEvents : 20517Layout : left-symmetricChunk Size : 64KDevice Role : Active device 2Array State : ..AA ('A' == active, '.' == missing)/dev/sdd3:Magic : a92b4efcVersion : 1.2Feature Map : 0x0Array UUID : ba107b29:c0145772:da954bd1:e8ed408cName : NasProductie:2 (local to host NasProductie)Creation Time : Wed May 2 12:23:26 2018Raid Level : raid5Raid Devices : 4Avail Dev Size : 11712782336 (5585.09 GiB 5996.94 GB)Array Size : 17569172928 (16755.27 GiB 17990.83 GB)Used Dev Size : 11712781952 (5585.09 GiB 5996.94 GB)Data Offset : 262144 sectorsSuper Offset : 8 sectorsState : cleanDevice UUID : 882a0bb0:cc7ccefa:29f17a31:15af39f6Update Time : Sat Jan 29 11:05:35 2022Checksum : d1465bb0 - correctEvents : 20517Layout : left-symmetricChunk Size : 64KDevice Role : Active device 3Array State : ..AA ('A' == active, '.' == missing)~ #
Some advice please ?0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 151 Nebula Ideas
- 98 Nebula Status and Incidents
- 5.7K Security
- 277 USG FLEX H Series
- 277 Security Ideas
- 1.4K Switch
- 74 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.4K Consumer Product
- 250 Service & License
- 395 News and Release
- 85 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.6K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 74 Security Highlight