Continue using RAID 1 after change from original NAS Firmware to OMV Debian - mount gone after reboot

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Continue using RAID 1 after change from original NAS Firmware to OMV Debian - mount gone after reboot

      Hello,

      I think I have a similar problem like in this Thread. I have converted from an original NAS Firmware (Zyxel NAS540) to OMV and very much love it. But there seems to be a problem with my backup storage (2 disk mounted in RAID1). Like in that other thread, the mount goes missing after every reboot. Possibly this could be corrected with the command, recommended in the other thread (mdadm --assemble --force --verbose /dev/md127 /dev/sd[bc]) however, I am not sure how to identfy the right parameters for my disk setup. Hopefully, you can help me identify the correct one?


      General setup: 2 disks in JBOD (~3 TB) and 2 disks in RAID1 (~1 TB)

      cat /proc/mdstat

      Source Code

      1. Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
      2. md124 : active (auto-read-only) raid1 sdd3[2] sde3[1]
      3. 972631040 blocks super 1.2 [2/2] [UU]
      4. md125 : active (auto-read-only) raid1 sdd1[4] sde1[5] sdb1[6] sdc1[7]
      5. 1997760 blocks super 1.2 [4/4] [UUUU]
      6. md126 : active linear sdb3[0] sdc3[1]
      7. 3410653056 blocks super 1.2 64k rounding
      8. md127 : active (auto-read-only) raid1 sdd2[4] sde2[5] sdc2[7] sdb2[6]
      9. 1998784 blocks super 1.2 [4/4] [UUUU]
      10. unused devices: <none>
      Display All
      fidsk -l

      Source Code

      1. Disk /dev/mtdblock0: 256 KiB, 262144 bytes, 512 sectors
      2. Units: sectors of 1 * 512 = 512 bytes
      3. Sector size (logical/physical): 512 bytes / 512 bytes
      4. I/O size (minimum/optimal): 512 bytes / 512 bytes
      5. Disk /dev/mtdblock1: 512 KiB, 524288 bytes, 1024 sectors
      6. Units: sectors of 1 * 512 = 512 bytes
      7. Sector size (logical/physical): 512 bytes / 512 bytes
      8. I/O size (minimum/optimal): 512 bytes / 512 bytes
      9. Disk /dev/mtdblock2: 256 KiB, 262144 bytes, 512 sectors
      10. Units: sectors of 1 * 512 = 512 bytes
      11. Sector size (logical/physical): 512 bytes / 512 bytes
      12. I/O size (minimum/optimal): 512 bytes / 512 bytes
      13. Disk /dev/mtdblock3: 10 MiB, 10485760 bytes, 20480 sectors
      14. Units: sectors of 1 * 512 = 512 bytes
      15. Sector size (logical/physical): 512 bytes / 512 bytes
      16. I/O size (minimum/optimal): 512 bytes / 512 bytes
      17. Disk /dev/mtdblock4: 10 MiB, 10485760 bytes, 20480 sectors
      18. Units: sectors of 1 * 512 = 512 bytes
      19. Sector size (logical/physical): 512 bytes / 512 bytes
      20. I/O size (minimum/optimal): 512 bytes / 512 bytes
      21. Disk /dev/mtdblock5: 110 MiB, 115343360 bytes, 225280 sectors
      22. Units: sectors of 1 * 512 = 512 bytes
      23. Sector size (logical/physical): 512 bytes / 512 bytes
      24. I/O size (minimum/optimal): 512 bytes / 512 bytes
      25. Disk /dev/mtdblock6: 10 MiB, 10485760 bytes, 20480 sectors
      26. Units: sectors of 1 * 512 = 512 bytes
      27. Sector size (logical/physical): 512 bytes / 512 bytes
      28. I/O size (minimum/optimal): 512 bytes / 512 bytes
      29. Disk /dev/mtdblock7: 110 MiB, 115343360 bytes, 225280 sectors
      30. Units: sectors of 1 * 512 = 512 bytes
      31. Sector size (logical/physical): 512 bytes / 512 bytes
      32. I/O size (minimum/optimal): 512 bytes / 512 bytes
      33. Disk /dev/mtdblock8: 6 MiB, 6291456 bytes, 12288 sectors
      34. Units: sectors of 1 * 512 = 512 bytes
      35. Sector size (logical/physical): 512 bytes / 512 bytes
      36. I/O size (minimum/optimal): 512 bytes / 512 bytes
      37. Disk /dev/sdb: 2,7 TiB, 3000592982016 bytes, 5860533168 sectors
      38. Units: sectors of 1 * 512 = 512 bytes
      39. Sector size (logical/physical): 512 bytes / 4096 bytes
      40. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      41. Disklabel type: gpt
      42. Disk identifier: 27F344E2-5D59-4E28-9FA7-A417328C4FD3
      43. Device Start End Sectors Size Type
      44. /dev/sdb1 2048 3999743 3997696 1,9G Linux RAID
      45. /dev/sdb2 3999744 7999487 3999744 1,9G Linux RAID
      46. /dev/sdb3 7999488 5860532223 5852532736 2,7T Linux RAID
      47. Disk /dev/sdc: 465,8 GiB, 500107862016 bytes, 976773168 sectors
      48. Units: sectors of 1 * 512 = 512 bytes
      49. Sector size (logical/physical): 512 bytes / 512 bytes
      50. I/O size (minimum/optimal): 512 bytes / 512 bytes
      51. Disklabel type: gpt
      52. Disk identifier: BC148F93-76F4-4266-8722-541A51661DD5
      53. Device Start End Sectors Size Type
      54. /dev/sdc1 2048 3999743 3997696 1,9G Linux RAID
      55. /dev/sdc2 3999744 7999487 3999744 1,9G Linux RAID
      56. /dev/sdc3 7999488 976773119 968773632 462G Linux RAID
      57. Disk /dev/sdd: 931,5 GiB, 1000204886016 bytes, 1953525168 sectors
      58. Units: sectors of 1 * 512 = 512 bytes
      59. Sector size (logical/physical): 512 bytes / 4096 bytes
      60. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      61. Disklabel type: gpt
      62. Disk identifier: 3D0D5519-9240-4186-9281-0D11AD5316C9
      63. Device Start End Sectors Size Type
      64. /dev/sdd1 2048 3999743 3997696 1,9G Linux RAID
      65. /dev/sdd2 3999744 7999487 3999744 1,9G Linux RAID
      66. /dev/sdd3 7999488 1953523711 1945524224 927,7G Microsoft basic data
      67. Disk /dev/sda: 3,8 GiB, 4011851776 bytes, 7835648 sectors
      68. Units: sectors of 1 * 512 = 512 bytes
      69. Sector size (logical/physical): 512 bytes / 512 bytes
      70. I/O size (minimum/optimal): 512 bytes / 512 bytes
      71. Disklabel type: gpt
      72. Disk identifier: 62B79830-7F65-4C1C-A913-21F48B7A6919
      73. Device Start End Sectors Size Type
      74. /dev/sda1 2048 133119 131072 64M Microsoft basic data
      75. /dev/sda2 133120 7833599 7700480 3,7G Linux filesystem
      76. Disk /dev/sde: 1,4 TiB, 1500301910016 bytes, 2930277168 sectors
      77. Units: sectors of 1 * 512 = 512 bytes
      78. Sector size (logical/physical): 512 bytes / 512 bytes
      79. I/O size (minimum/optimal): 512 bytes / 512 bytes
      80. Disklabel type: gpt
      81. Disk identifier: 7FF734BD-8009-428A-8A40-840E386B9450
      82. Device Start End Sectors Size Type
      83. /dev/sde1 2048 3999743 3997696 1,9G Linux RAID
      84. /dev/sde2 3999744 7999487 3999744 1,9G Linux RAID
      85. /dev/sde3 7999488 2930276351 2922276864 1,4T Linux RAID
      86. Disk /dev/md127: 1,9 GiB, 2046754816 bytes, 3997568 sectors
      87. Units: sectors of 1 * 512 = 512 bytes
      88. Sector size (logical/physical): 512 bytes / 4096 bytes
      89. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      90. Disk /dev/md126: 3,2 TiB, 3492508729344 bytes, 6821306112 sectors
      91. Units: sectors of 1 * 512 = 512 bytes
      92. Sector size (logical/physical): 512 bytes / 4096 bytes
      93. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      94. Disk /dev/md125: 1,9 GiB, 2045706240 bytes, 3995520 sectors
      95. Units: sectors of 1 * 512 = 512 bytes
      96. Sector size (logical/physical): 512 bytes / 4096 bytes
      97. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      98. Disk /dev/md124: 927,6 GiB, 995974184960 bytes, 1945262080 sectors
      99. Units: sectors of 1 * 512 = 512 bytes
      100. Sector size (logical/physical): 512 bytes / 4096 bytes
      101. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      102. Disk /dev/mapper/vg_91397867-vg_info_area: 100 MiB, 104857600 bytes, 204800 sectors
      103. Units: sectors of 1 * 512 = 512 bytes
      104. Sector size (logical/physical): 512 bytes / 4096 bytes
      105. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      106. Disk /dev/mapper/vg_91397867-lv_e2115f28: 3,2 TiB, 3492399808512 bytes, 6821093376 sectors
      107. Units: sectors of 1 * 512 = 512 bytes
      108. Sector size (logical/physical): 512 bytes / 4096 bytes
      109. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      Display All
      /etc/mdadm/mdadm.conf

      Source Code

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

      Source Code

      1. ARRAY /dev/md/NAS540:1 level=raid1 num-devices=4 metadata=1.2 name=NAS540:1 UUID=be845b0b:16569846:4e126787:3b8428a5
      2. devices=/dev/sdb2,/dev/sdc2,/dev/sdd2,/dev/sde2
      3. ARRAY /dev/md/myNAS:3 level=linear num-devices=2 metadata=1.2 name=myNAS:3 UUID=91397867:0f565677:98b16564:83e02aa4
      4. devices=/dev/sdb3,/dev/sdc3
      5. ARRAY /dev/md/NAS540:0 level=raid1 num-devices=4 metadata=1.2 name=NAS540:0 UUID=26a04d7d:2e5b784c:beabea5f:1aaca0e6
      6. devices=/dev/sdb1,/dev/sdc1,/dev/sdd1,/dev/sde1
      7. ARRAY /dev/md/myNAS:3_0 level=raid1 num-devices=2 metadata=1.2 name=myNAS:3 UUID=6e1f3bbb:6ba523e3:b34ea2f2:037e49db
      8. devices=/dev/sdd3,/dev/sde3
    • blkid

      Source Code

      1. /dev/sdb1: UUID="26a04d7d-2e5b-784c-beab-ea5f1aaca0e6" UUID_SUB="477ea9e9-af42-258f-eaba-30f1dd2946b8" LABEL="NAS540:0" TY PE="linux_raid_member" PARTLABEL="firmware" PARTUUID="e01f3569-f41e-4390-a124-c3bdabdda23b"
      2. /dev/sdb2: UUID="be845b0b-1656-9846-4e12-67873b8428a5" UUID_SUB="9a5a8b5c-9dc0-6c17-f3fa-6ea2c6381857" LABEL="NAS540:1" TY PE="linux_raid_member" PARTLABEL="sswwaapp" PARTUUID="4940ef4f-1758-4a4d-b861-101ab85a10bc"
      3. /dev/sdb3: UUID="91397867-0f56-5677-98b1-656483e02aa4" UUID_SUB="02f53235-fb66-20c6-82f7-32c046b304a4" LABEL="myNAS:3" TYP E="linux_raid_member" PARTLABEL="ddaattaa" PARTUUID="081faec3-3a5a-4f30-8b02-c1b418c0a6e8"
      4. /dev/sdc1: UUID="26a04d7d-2e5b-784c-beab-ea5f1aaca0e6" UUID_SUB="d6aa15cd-7767-76a6-465c-22091c90f127" LABEL="NAS540:0" TY PE="linux_raid_member" PARTLABEL="firmware" PARTUUID="8492fa3e-04c8-4867-bb35-7c35ec8eead3"
      5. /dev/sdc2: UUID="be845b0b-1656-9846-4e12-67873b8428a5" UUID_SUB="c201729d-c9ab-0272-9f02-b0a263ee46b8" LABEL="NAS540:1" TY PE="linux_raid_member" PARTLABEL="sswwaapp" PARTUUID="e8da4d67-6f2f-4b7f-896e-2d7d67827c44"
      6. /dev/sdc3: UUID="91397867-0f56-5677-98b1-656483e02aa4" UUID_SUB="24b29262-3ed8-1c30-c024-658471c96220" LABEL="myNAS:3" TYP E="linux_raid_member" PARTLABEL="ddaattaa" PARTUUID="96d5ff8d-2d6a-4082-a9b9-9d490e865ef4"
      7. /dev/sdd1: UUID="26a04d7d-2e5b-784c-beab-ea5f1aaca0e6" UUID_SUB="31bdd101-e6cb-162a-e65a-c5c2b90210ef" LABEL="NAS540:0" TY PE="linux_raid_member" PARTLABEL="firmware" PARTUUID="cb20b818-b97d-47dc-9d50-fcad5a4856a2"
      8. /dev/sdd2: UUID="be845b0b-1656-9846-4e12-67873b8428a5" UUID_SUB="e7db1738-fc0e-d94c-c8af-fed2f48def61" LABEL="NAS540:1" TY PE="linux_raid_member" PARTLABEL="sswwaapp" PARTUUID="1f3d1bd8-e8f5-4dae-878a-cac0ebdbbece"
      9. /dev/sdd3: UUID="6e1f3bbb-6ba5-23e3-b34e-a2f2037e49db" UUID_SUB="1f32013e-da94-f32b-3507-71e477bd8b30" LABEL="myNAS:3" TYP E="linux_raid_member" PARTLABEL="ddaattaa" PARTUUID="0e5ba3c5-4e96-4628-9a42-563001131bac"
      10. /dev/sda1: SEC_TYPE="msdos" LABEL="TC_BOOT" UUID="6249-7EDE" TYPE="vfat" PARTLABEL="TC_BOOT" PARTUUID="54cdf5da-deb1-b007- a694-32880502ef34"
      11. /dev/sda2: LABEL="TC_ROOT" UUID="01f3b043-a37b-4cbb-8855-a4dcad08da73" TYPE="ext4" PARTLABEL="TC_ROOT" PARTUUID="54cdf5da- deb1-f007-a694-32880502ef34"
      12. /dev/sde1: UUID="26a04d7d-2e5b-784c-beab-ea5f1aaca0e6" UUID_SUB="11fc153a-5baa-bc1b-833f-e10ba91a994f" LABEL="NAS540:0" TY PE="linux_raid_member" PARTLABEL="firmware" PARTUUID="e93759c0-5067-4017-ba1a-de1297ca1107"
      13. /dev/sde2: UUID="be845b0b-1656-9846-4e12-67873b8428a5" UUID_SUB="4fe4f7b4-c44b-cb3f-d8b3-41846da2666b" LABEL="NAS540:1" TY PE="linux_raid_member" PARTLABEL="sswwaapp" PARTUUID="a0fad75e-e604-4b8c-834e-30c45c9204ab"
      14. /dev/sde3: UUID="6e1f3bbb-6ba5-23e3-b34e-a2f2037e49db" UUID_SUB="5b694dbe-5634-824b-baf3-c933408322d4" LABEL="myNAS:3" TYP E="linux_raid_member" PARTLABEL="ddaattaa" PARTUUID="2533048c-af5a-412c-87e8-c7964117d4fe"
      15. /dev/md127: UUID="8c09c983-6220-40a9-b1be-807612825906" TYPE="swap"
      16. /dev/md126: UUID="0SRCeV-hdPY-WYys-j1q5-jM5o-x1xG-gqJd2b" TYPE="LVM2_member"
      17. /dev/md125: UUID="129c6988-f584-420d-ba1c-cfb10311d337" TYPE="ext4"
      18. /dev/md124: UUID="f2367656-d653-4832-a479-9f799bad7b9f" TYPE="ext4"
      19. /dev/mapper/vg_91397867-vg_info_area: UUID="792d9115-e941-4cc5-9f5d-79cf1faf6ffb" TYPE="ext4"
      20. /dev/mapper/vg_91397867-lv_e2115f28: UUID="aa4a6f23-4d5f-418f-a9ea-9620974e438e" TYPE="ext4"
      Display All