lost raid5 after upgrade

    • OMV 3.x
    • lost raid5 after upgrade

      Hello,
      I lost my raid 5 after upgrade from 3x 3TB WD RED to 4x 3TB WD RED.

      What can I do ?

      thanks

      Source Code

      1. root@homeserver:~# cat /proc/mdstat
      2. Personalities :
      3. unused devices: <none>





      Source Code

      1. root@homeserver:~# blkid
      2. /dev/sda1: UUID="ae3814b4-8d73-42ba-9753-147b8bde8b51" TYPE="ext4" PARTUUID="021fa056-01"
      3. /dev/sda5: UUID="dd9e6b44-2cf2-449b-8d73-4f22c1cd42ef" TYPE="swap" PARTUUID="021fa056-05"
      4. /dev/sdc: UUID="2ea7d2ce-18e9-a774-0cd3-1ec1faec10e6" UUID_SUB="340e5ad9-9a84-fc29-586b-556426b5213e" LABEL="homeserver:home" TYPE="linux_raid_member"
      5. /dev/sdb: UUID="2ea7d2ce-18e9-a774-0cd3-1ec1faec10e6" UUID_SUB="86dd334c-7935-a967-076b-498f71bcb020" LABEL="homeserver:home" TYPE="linux_raid_member"
      6. /dev/sdd: UUID="2ea7d2ce-18e9-a774-0cd3-1ec1faec10e6" UUID_SUB="85df4f7f-2767-277e-1973-ed632390a732" LABEL="homeserver:home" TYPE="linux_raid_member"
      7. /dev/sde: UUID="2ea7d2ce-18e9-a774-0cd3-1ec1faec10e6" UUID_SUB="15ffcf7f-6dae-d734-ceb2-bb5a6efd1250" LABEL="homeserver:home" TYPE="linux_raid_member"
      8. root@homeserver:~#

      Source Code

      1. root@homeserver:~# fdisk -l | grep "Disk "
      2. The primary GPT table is corrupt, but the backup appears OK, so that will be used.
      3. The primary GPT table is corrupt, but the backup appears OK, so that will be used.
      4. The primary GPT table is corrupt, but the backup appears OK, so that will be used.
      5. Disk /dev/sda: 7,5 GiB, 8019099648 bytes, 15662304 sectors
      6. Disk identifier: 0x021fa056
      7. Disk /dev/sdc: 2,7 TiB, 3000592982016 bytes, 5860533168 sectors
      8. Disk identifier: 96F8561E-BC29-4020-AADB-85DBEA44302D
      9. Disk /dev/sdb: 2,7 TiB, 3000592982016 bytes, 5860533168 sectors
      10. Disk identifier: BAE1AF78-6E5B-475B-9310-555C9FDAB418
      11. Disk /dev/sdd: 2,7 TiB, 3000592982016 bytes, 5860533168 sectors
      12. Disk /dev/sde: 2,7 TiB, 3000592982016 bytes, 5860533168 sectors
      13. Disk identifier: 65002F4F-C6CD-4F47-A468-F303695798B7
      14. root@homeserver:~#
      Display All

      Source Code: cat /etc/mdadm/mdadm.conf

      1. root@homeserver:~# cat /etc/mdadm/mdadm.conf
      2. # mdadm.conf
      3. #
      4. # Please refer to mdadm.conf(5) for information about this file.
      5. #
      6. # by default, scan all partitions (/proc/partitions) for MD superblocks.
      7. # alternatively, specify devices to scan, using wildcards if desired.
      8. # Note, if no DEVICE line is present, then "DEVICE partitions" is assumed.
      9. # To avoid the auto-assembly of RAID devices a pattern that CAN'T match is
      10. # used if no RAID devices are configured.
      11. DEVICE partitions
      12. # auto-create devices with Debian standard permissions
      13. CREATE owner=root group=disk mode=0660 auto=yes
      14. # automatically tag new arrays as belonging to the local system
      15. HOMEHOST <system>
      16. # definitions of existing MD arrays
      Display All

      Source Code

      1. root@homeserver:~# mdadm --detail --scan --verbose
      2. root@homeserver:~#

      The post was edited 1 time, last by Plato ().

    • here is the data

      Source Code

      1. root@homeserver:~# mdadm --examine /dev/sdb
      2. /dev/sdb:
      3. Magic : a92b4efc
      4. Version : 1.2
      5. Feature Map : 0x5
      6. Array UUID : 2ea7d2ce:18e9a774:0cd31ec1:faec10e6
      7. Name : homeserver:home (local to host homeserver)
      8. Creation Time : Tue Feb 14 20:42:44 2017
      9. Raid Level : raid5
      10. Raid Devices : 4
      11. Avail Dev Size : 5860271024 (2794.40 GiB 3000.46 GB)
      12. Array Size : 8790405120 (8383.18 GiB 9001.37 GB)
      13. Used Dev Size : 5860270080 (2794.39 GiB 3000.46 GB)
      14. Data Offset : 262144 sectors
      15. Super Offset : 8 sectors
      16. Unused Space : before=262056 sectors, after=944 sectors
      17. State : clean
      18. Device UUID : 86dd334c:7935a967:076b498f:71bcb020
      19. Internal Bitmap : 8 sectors from superblock
      20. Reshape pos'n : 0
      21. Delta Devices : 1 (3->4)
      22. Update Time : Wed Feb 22 01:12:11 2017
      23. Bad Block Log : 512 entries available at offset 72 sectors
      24. Checksum : a7e82d80 - correct
      25. Events : 7573
      26. Layout : left-symmetric
      27. Chunk Size : 512K
      28. Device Role : Active device 0
      29. Array State : AAAA ('A' == active, '.' == missing, 'R' == replacing)
      30. root@homeserver:~#
      Display All




      Source Code

      1. root@homeserver:~# mdadm --examine /dev/sdc
      2. /dev/sdc:
      3. Magic : a92b4efc
      4. Version : 1.2
      5. Feature Map : 0x5
      6. Array UUID : 2ea7d2ce:18e9a774:0cd31ec1:faec10e6
      7. Name : homeserver:home (local to host homeserver)
      8. Creation Time : Tue Feb 14 20:42:44 2017
      9. Raid Level : raid5
      10. Raid Devices : 4
      11. Avail Dev Size : 5860271024 (2794.40 GiB 3000.46 GB)
      12. Array Size : 8790405120 (8383.18 GiB 9001.37 GB)
      13. Used Dev Size : 5860270080 (2794.39 GiB 3000.46 GB)
      14. Data Offset : 262144 sectors
      15. Super Offset : 8 sectors
      16. Unused Space : before=262056 sectors, after=944 sectors
      17. State : clean
      18. Device UUID : 340e5ad9:9a84fc29:586b5564:26b5213e
      19. Internal Bitmap : 8 sectors from superblock
      20. Reshape pos'n : 0
      21. Delta Devices : 1 (3->4)
      22. Update Time : Wed Feb 22 01:12:11 2017
      23. Bad Block Log : 512 entries available at offset 72 sectors
      24. Checksum : e9dea656 - correct
      25. Events : 7573
      26. Layout : left-symmetric
      27. Chunk Size : 512K
      28. Device Role : Active device 1
      29. Array State : AAAA ('A' == active, '.' == missing, 'R' == replacing)
      30. root@homeserver:~#
      Display All

      Source Code

      1. root@homeserver:~# mdadm --examine /dev/sdd
      2. /dev/sdd:
      3. Magic : a92b4efc
      4. Version : 1.2
      5. Feature Map : 0x5
      6. Array UUID : 2ea7d2ce:18e9a774:0cd31ec1:faec10e6
      7. Name : homeserver:home (local to host homeserver)
      8. Creation Time : Tue Feb 14 20:42:44 2017
      9. Raid Level : raid5
      10. Raid Devices : 4
      11. Avail Dev Size : 5860271024 (2794.40 GiB 3000.46 GB)
      12. Array Size : 8790405120 (8383.18 GiB 9001.37 GB)
      13. Used Dev Size : 5860270080 (2794.39 GiB 3000.46 GB)
      14. Data Offset : 262144 sectors
      15. Super Offset : 8 sectors
      16. Unused Space : before=262056 sectors, after=944 sectors
      17. State : clean
      18. Device UUID : 85df4f7f:2767277e:1973ed63:2390a732
      19. Internal Bitmap : 8 sectors from superblock
      20. Reshape pos'n : 0
      21. Delta Devices : 1 (3->4)
      22. Update Time : Wed Feb 22 01:12:11 2017
      23. Bad Block Log : 512 entries available at offset 72 sectors
      24. Checksum : d81d3cf4 - correct
      25. Events : 7573
      26. Layout : left-symmetric
      27. Chunk Size : 512K
      28. Device Role : Active device 3
      29. Array State : AAAA ('A' == active, '.' == missing, 'R' == replacing)
      30. root@homeserver:~#
      Display All

      Source Code

      1. root@homeserver:~# mdadm --examine /dev/sde
      2. /dev/sde:
      3. Magic : a92b4efc
      4. Version : 1.2
      5. Feature Map : 0x5
      6. Array UUID : 2ea7d2ce:18e9a774:0cd31ec1:faec10e6
      7. Name : homeserver:home (local to host homeserver)
      8. Creation Time : Tue Feb 14 20:42:44 2017
      9. Raid Level : raid5
      10. Raid Devices : 4
      11. Avail Dev Size : 5860271024 (2794.40 GiB 3000.46 GB)
      12. Array Size : 8790405120 (8383.18 GiB 9001.37 GB)
      13. Used Dev Size : 5860270080 (2794.39 GiB 3000.46 GB)
      14. Data Offset : 262144 sectors
      15. Super Offset : 8 sectors
      16. Unused Space : before=262056 sectors, after=944 sectors
      17. State : clean
      18. Device UUID : 15ffcf7f:6daed734:ceb2bb5a:6efd1250
      19. Internal Bitmap : 8 sectors from superblock
      20. Reshape pos'n : 0
      21. Delta Devices : 1 (3->4)
      22. Update Time : Wed Feb 22 01:12:11 2017
      23. Bad Block Log : 512 entries available at offset 72 sectors
      24. Checksum : a38750c9 - correct
      25. Events : 7573
      26. Layout : left-symmetric
      27. Chunk Size : 512K
      28. Device Role : Active device 2
      29. Array State : AAAA ('A' == active, '.' == missing, 'R' == replacing)
      30. root@homeserver:~#
      Display All
    • any ideas ???

      Source Code

      1. root@homeserver:~# mdadm --assemble /dev/md0 --verbose --invalid-backup --force --uuid=2ea7d2ce:18e9a774:0cd31ec1:faec10e6
      2. mdadm: looking for devices for /dev/md0
      3. mdadm: no RAID superblock on /dev/sda5
      4. mdadm: no RAID superblock on /dev/sda2
      5. mdadm: no RAID superblock on /dev/sda1
      6. mdadm: no RAID superblock on /dev/sda
      7. mdadm: /dev/sdc is identified as a member of /dev/md0, slot 1.
      8. mdadm: /dev/sde is identified as a member of /dev/md0, slot 2.
      9. mdadm: /dev/sdd is identified as a member of /dev/md0, slot 3.
      10. mdadm: /dev/sdb is identified as a member of /dev/md0, slot 0.
      11. mdadm: :/dev/md0 has an active reshape - checking if critical section needs to be restored
      12. mdadm: No backup metadata on device-3
      13. mdadm: Failed to find backup of critical section
      14. mdadm: continuing without restoring backup
      15. mdadm: added /dev/sdc to /dev/md0 as 1
      16. mdadm: added /dev/sde to /dev/md0 as 2
      17. mdadm: added /dev/sdd to /dev/md0 as 3
      18. mdadm: added /dev/sdb to /dev/md0 as 0
      19. mdadm: failed to RUN_ARRAY /dev/md0: Invalid argument
      20. root@homeserver:~#
      Display All


      Source Code

      1. root@homeserver:~# cat /proc/mdstat
      2. Personalities : [raid6] [raid5] [raid4]
      3. unused devices: <none>
      4. root@homeserver:~