Page 1 of 1

[RAID Size Issue] Size incorrect after fresh disk install

PostPosted: Wed Sep 02, 2015 4:06 am
by jc303
Hi everyone,

First of all thank you very much to the contributors on this forum - I've learned a lot!

Basically what happened was I tried to upgrade LacieOS while I was resizing my RAID partition. The drive never came back after restarting. I tried the LaCie Recovery tool and it was also unsuccessful. I suspect that the RAID partition had prior issues (a drive had failed in the past, and it was unable to successfully rebuild).

So I followed this post for setting up fresh disks. I read through all of the pages in the post and was able to follow the process to reinstall LaCie OS on each disk. I have 5x 2TB disks. For the record I had to do the
Code: Select all
LaCieFirstBootLaCie
dd in order to successfully boot each drive.

Next I followed the LaCie Web UI setup to create a new RAID5 array. The issue is that there is something wrong with the available capacity.

Screenshots from the LaCie web UI here

And here is the mdadm output:

mdadm --examine /dev/sd[abcde][25789]:

Code: Select all
root@fvdw-sta-kirkwood:/ # ./mdadm --examine /dev/sd[abcde][25789]
/dev/sda2:
          Magic : a92b4efc
        Version : 1.0
    Feature Map : 0x0
     Array UUID : 67472b41:cf171a49:3dfaddd5:27211942
           Name : LaCie-5big:4
  Creation Time : Wed Sep  2 21:04:37 2015
     Raid Level : raid5
   Raid Devices : 5

 Avail Dev Size : 3902783600 (1860.99 GiB 1998.23 GB)
     Array Size : 1046528 (1022.17 MiB 1071.64 MB)
  Used Dev Size : 523264 (255.54 MiB 267.91 MB)
   Super Offset : 3902783608 sectors
          State : clean
    Device UUID : 76d6c0c7:91e3a5db:76759c8e:799b6ed8

    Update Time : Wed Sep  2 22:06:00 2015
       Checksum : d2a5e4f6 - correct
         Events : 159

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AAAAA ('A' == active, '.' == missing)
/dev/sda5:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : b12626e2:6e569410:3d186b3c:53958f34
  Creation Time : Wed Sep  2 06:25:29 2015
     Raid Level : raid1
  Used Dev Size : 262080 (255.98 MiB 268.37 MB)
     Array Size : 262080 (255.98 MiB 268.37 MB)
   Raid Devices : 5
  Total Devices : 5
Preferred Minor : 3

    Update Time : Wed Sep  2 21:04:56 2015
          State : clean
 Active Devices : 5
Working Devices : 5
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 52801bd - correct
         Events : 153


      Number   Major   Minor   RaidDevice State
this     0       8        5        0      active sync   /dev/sdc5

   0     0       8        5        0      active sync   /dev/sdc5
   1     1       8       69        1      active sync   /dev/sdd5
   2     2       8       53        2      active sync   /dev/sde5
   3     3       8       37        3      active sync   /dev/sda5
   4     4       8       21        4      active sync   /dev/sdb5
/dev/sda7:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : ad77aa50:3f797402:3d186b3c:53958f34
  Creation Time : Wed Sep  2 06:25:23 2015
     Raid Level : raid1
  Used Dev Size : 16320 (15.94 MiB 16.71 MB)
     Array Size : 16320 (15.94 MiB 16.71 MB)
   Raid Devices : 5
  Total Devices : 5
Preferred Minor : 0

    Update Time : Wed Sep  2 21:05:11 2015
          State : clean
 Active Devices : 5
Working Devices : 5
 Failed Devices : 0
  Spare Devices : 0
       Checksum : d298a52a - correct
         Events : 151


      Number   Major   Minor   RaidDevice State
this     0       8        7        0      active sync   /dev/sdc7

   0     0       8        7        0      active sync   /dev/sdc7
   1     1       8       71        1      active sync   /dev/sdd7
   2     2       8       55        2      active sync   /dev/sde7
   3     3       8       39        3      active sync   /dev/sda7
   4     4       8       23        4      active sync   /dev/sdb7
/dev/sda8:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : 3fb62ff9:a86b5210:3d186b3c:53958f34
  Creation Time : Wed Sep  2 06:25:27 2015
     Raid Level : raid1
  Used Dev Size : 905152 (884.09 MiB 926.88 MB)
     Array Size : 905152 (884.09 MiB 926.88 MB)
   Raid Devices : 1
  Total Devices : 1
Preferred Minor : 1

    Update Time : Wed Sep  2 21:04:29 2015
          State : clean
 Active Devices : 1
Working Devices : 1
 Failed Devices : 0
  Spare Devices : 0
       Checksum : cdd696ee - correct
         Events : 59


      Number   Major   Minor   RaidDevice State
this     0       8        8        0      active sync   /dev/sdc8

   0     0       8        8        0      active sync   /dev/sdc8
/dev/sda9:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : d7d0f83d:c2335c87:3d186b3c:53958f34
  Creation Time : Wed Sep  2 06:25:28 2015
     Raid Level : raid1
  Used Dev Size : 905152 (884.09 MiB 926.88 MB)
     Array Size : 905152 (884.09 MiB 926.88 MB)
   Raid Devices : 1
  Total Devices : 1
Preferred Minor : 2

    Update Time : Wed Sep  2 22:06:11 2015
          State : clean
 Active Devices : 1
Working Devices : 1
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 7fb987f4 - correct
         Events : 2083


      Number   Major   Minor   RaidDevice State
this     0       8        9        0      active sync   /dev/sdc9

   0     0       8        9        0      active sync   /dev/sdc9
/dev/sdb2:
          Magic : a92b4efc
        Version : 1.0
    Feature Map : 0x0
     Array UUID : 67472b41:cf171a49:3dfaddd5:27211942
           Name : LaCie-5big:4
  Creation Time : Wed Sep  2 21:04:37 2015
     Raid Level : raid5
   Raid Devices : 5

 Avail Dev Size : 524264 (256.03 MiB 268.42 MB)
     Array Size : 1046528 (1022.17 MiB 1071.64 MB)
  Used Dev Size : 523264 (255.54 MiB 267.91 MB)
   Super Offset : 524272 sectors
          State : clean
    Device UUID : ce435fb4:7255da1e:cd17c165:ea52b1e4

    Update Time : Wed Sep  2 22:06:00 2015
       Checksum : 14b09ce6 - correct
         Events : 159

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 1
   Array State : AAAAA ('A' == active, '.' == missing)
/dev/sdb5:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : b12626e2:6e569410:3d186b3c:53958f34
  Creation Time : Wed Sep  2 06:25:29 2015
     Raid Level : raid1
  Used Dev Size : 262080 (255.98 MiB 268.37 MB)
     Array Size : 262080 (255.98 MiB 268.37 MB)
   Raid Devices : 5
  Total Devices : 5
Preferred Minor : 3

    Update Time : Wed Sep  2 21:04:56 2015
          State : clean
 Active Devices : 5
Working Devices : 5
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 52801d5 - correct
         Events : 153


      Number   Major   Minor   RaidDevice State
this     4       8       21        4      active sync   /dev/sdb5

   0     0       8        5        0      active sync   /dev/sdc5
   1     1       8       69        1      active sync   /dev/sdd5
   2     2       8       53        2      active sync   /dev/sde5
   3     3       8       37        3      active sync   /dev/sda5
   4     4       8       21        4      active sync   /dev/sdb5
/dev/sdb7:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : ad77aa50:3f797402:3d186b3c:53958f34
  Creation Time : Wed Sep  2 06:25:23 2015
     Raid Level : raid1
  Used Dev Size : 16320 (15.94 MiB 16.71 MB)
     Array Size : 16320 (15.94 MiB 16.71 MB)
   Raid Devices : 5
  Total Devices : 5
Preferred Minor : 0

    Update Time : Wed Sep  2 21:05:11 2015
          State : clean
 Active Devices : 5
Working Devices : 5
 Failed Devices : 0
  Spare Devices : 0
       Checksum : d298a542 - correct
         Events : 151


      Number   Major   Minor   RaidDevice State
this     4       8       23        4      active sync   /dev/sdb7

   0     0       8        7        0      active sync   /dev/sdc7
   1     1       8       71        1      active sync   /dev/sdd7
   2     2       8       55        2      active sync   /dev/sde7
   3     3       8       39        3      active sync   /dev/sda7
   4     4       8       23        4      active sync   /dev/sdb7
mdadm: cannot open /dev/sdb8: No such device or address
mdadm: cannot open /dev/sdb9: No such device or address
/dev/sdc2:
          Magic : a92b4efc
        Version : 1.0
    Feature Map : 0x0
     Array UUID : 67472b41:cf171a49:3dfaddd5:27211942
           Name : LaCie-5big:4
  Creation Time : Wed Sep  2 21:04:37 2015
     Raid Level : raid5
   Raid Devices : 5

 Avail Dev Size : 524264 (256.03 MiB 268.42 MB)
     Array Size : 1046528 (1022.17 MiB 1071.64 MB)
  Used Dev Size : 523264 (255.54 MiB 267.91 MB)
   Super Offset : 524272 sectors
          State : clean
    Device UUID : 7f58cd1f:db2f0f66:88c72839:b76b8df6

    Update Time : Wed Sep  2 22:06:00 2015
       Checksum : ac975488 - correct
         Events : 159

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 2
   Array State : AAAAA ('A' == active, '.' == missing)
/dev/sdc5:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : b12626e2:6e569410:3d186b3c:53958f34
  Creation Time : Wed Sep  2 06:25:29 2015
     Raid Level : raid1
  Used Dev Size : 262080 (255.98 MiB 268.37 MB)
     Array Size : 262080 (255.98 MiB 268.37 MB)
   Raid Devices : 5
  Total Devices : 5
Preferred Minor : 3

    Update Time : Wed Sep  2 21:04:56 2015
          State : clean
 Active Devices : 5
Working Devices : 5
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 52801e3 - correct
         Events : 153


      Number   Major   Minor   RaidDevice State
this     3       8       37        3      active sync   /dev/sda5

   0     0       8        5        0      active sync   /dev/sdc5
   1     1       8       69        1      active sync   /dev/sdd5
   2     2       8       53        2      active sync   /dev/sde5
   3     3       8       37        3      active sync   /dev/sda5
   4     4       8       21        4      active sync   /dev/sdb5
/dev/sdc7:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : ad77aa50:3f797402:3d186b3c:53958f34
  Creation Time : Wed Sep  2 06:25:23 2015
     Raid Level : raid1
  Used Dev Size : 16320 (15.94 MiB 16.71 MB)
     Array Size : 16320 (15.94 MiB 16.71 MB)
   Raid Devices : 5
  Total Devices : 5
Preferred Minor : 0

    Update Time : Wed Sep  2 21:05:11 2015
          State : clean
 Active Devices : 5
Working Devices : 5
 Failed Devices : 0
  Spare Devices : 0
       Checksum : d298a550 - correct
         Events : 151


      Number   Major   Minor   RaidDevice State
this     3       8       39        3      active sync   /dev/sda7

   0     0       8        7        0      active sync   /dev/sdc7
   1     1       8       71        1      active sync   /dev/sdd7
   2     2       8       55        2      active sync   /dev/sde7
   3     3       8       39        3      active sync   /dev/sda7
   4     4       8       23        4      active sync   /dev/sdb7
mdadm: cannot open /dev/sdc8: No such device or address
mdadm: cannot open /dev/sdc9: No such device or address
/dev/sdd2:
          Magic : a92b4efc
        Version : 1.0
    Feature Map : 0x0
     Array UUID : 67472b41:cf171a49:3dfaddd5:27211942
           Name : LaCie-5big:4
  Creation Time : Wed Sep  2 21:04:37 2015
     Raid Level : raid5
   Raid Devices : 5

 Avail Dev Size : 524264 (256.03 MiB 268.42 MB)
     Array Size : 1046528 (1022.17 MiB 1071.64 MB)
  Used Dev Size : 523264 (255.54 MiB 267.91 MB)
   Super Offset : 524272 sectors
          State : clean
    Device UUID : 6b835974:ff0ab8e6:2879e608:7f0b0841

    Update Time : Wed Sep  2 22:06:00 2015
       Checksum : 9c04ac01 - correct
         Events : 159

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 3
   Array State : AAAAA ('A' == active, '.' == missing)
/dev/sdd5:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : b12626e2:6e569410:3d186b3c:53958f34
  Creation Time : Wed Sep  2 06:25:29 2015
     Raid Level : raid1
  Used Dev Size : 262080 (255.98 MiB 268.37 MB)
     Array Size : 262080 (255.98 MiB 268.37 MB)
   Raid Devices : 5
  Total Devices : 5
Preferred Minor : 3

    Update Time : Wed Sep  2 21:04:56 2015
          State : clean
 Active Devices : 5
Working Devices : 5
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 52801f1 - correct
         Events : 153


      Number   Major   Minor   RaidDevice State
this     2       8       53        2      active sync   /dev/sde5

   0     0       8        5        0      active sync   /dev/sdc5
   1     1       8       69        1      active sync   /dev/sdd5
   2     2       8       53        2      active sync   /dev/sde5
   3     3       8       37        3      active sync   /dev/sda5
   4     4       8       21        4      active sync   /dev/sdb5
/dev/sdd7:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : ad77aa50:3f797402:3d186b3c:53958f34
  Creation Time : Wed Sep  2 06:25:23 2015
     Raid Level : raid1
  Used Dev Size : 16320 (15.94 MiB 16.71 MB)
     Array Size : 16320 (15.94 MiB 16.71 MB)
   Raid Devices : 5
  Total Devices : 5
Preferred Minor : 0

    Update Time : Wed Sep  2 21:05:11 2015
          State : clean
 Active Devices : 5
Working Devices : 5
 Failed Devices : 0
  Spare Devices : 0
       Checksum : d298a55e - correct
         Events : 151


      Number   Major   Minor   RaidDevice State
this     2       8       55        2      active sync   /dev/sde7

   0     0       8        7        0      active sync   /dev/sdc7
   1     1       8       71        1      active sync   /dev/sdd7
   2     2       8       55        2      active sync   /dev/sde7
   3     3       8       39        3      active sync   /dev/sda7
   4     4       8       23        4      active sync   /dev/sdb7
mdadm: cannot open /dev/sdd8: No such device or address
mdadm: cannot open /dev/sdd9: No such device or address
/dev/sde2:
          Magic : a92b4efc
        Version : 1.0
    Feature Map : 0x0
     Array UUID : 67472b41:cf171a49:3dfaddd5:27211942
           Name : LaCie-5big:4
  Creation Time : Wed Sep  2 21:04:37 2015
     Raid Level : raid5
   Raid Devices : 5

 Avail Dev Size : 524264 (256.03 MiB 268.42 MB)
     Array Size : 1046528 (1022.17 MiB 1071.64 MB)
  Used Dev Size : 523264 (255.54 MiB 267.91 MB)
   Super Offset : 524272 sectors
          State : clean
    Device UUID : b0a6672e:4ec0e109:25eca059:9d73f91e

    Update Time : Wed Sep  2 22:06:00 2015
       Checksum : a7e85fb0 - correct
         Events : 159

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 4
   Array State : AAAAA ('A' == active, '.' == missing)
/dev/sde5:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : b12626e2:6e569410:3d186b3c:53958f34
  Creation Time : Wed Sep  2 06:25:29 2015
     Raid Level : raid1
  Used Dev Size : 262080 (255.98 MiB 268.37 MB)
     Array Size : 262080 (255.98 MiB 268.37 MB)
   Raid Devices : 5
  Total Devices : 5
Preferred Minor : 3

    Update Time : Wed Sep  2 21:04:56 2015
          State : clean
 Active Devices : 5
Working Devices : 5
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 52801ff - correct
         Events : 153


      Number   Major   Minor   RaidDevice State
this     1       8       69        1      active sync   /dev/sdd5

   0     0       8        5        0      active sync   /dev/sdc5
   1     1       8       69        1      active sync   /dev/sdd5
   2     2       8       53        2      active sync   /dev/sde5
   3     3       8       37        3      active sync   /dev/sda5
   4     4       8       21        4      active sync   /dev/sdb5
/dev/sde7:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : ad77aa50:3f797402:3d186b3c:53958f34
  Creation Time : Wed Sep  2 06:25:23 2015
     Raid Level : raid1
  Used Dev Size : 16320 (15.94 MiB 16.71 MB)
     Array Size : 16320 (15.94 MiB 16.71 MB)
   Raid Devices : 5
  Total Devices : 5
Preferred Minor : 0

    Update Time : Wed Sep  2 21:05:11 2015
          State : clean
 Active Devices : 5
Working Devices : 5
 Failed Devices : 0
  Spare Devices : 0
       Checksum : d298a56c - correct
         Events : 151


      Number   Major   Minor   RaidDevice State
this     1       8       71        1      active sync   /dev/sdd7

   0     0       8        7        0      active sync   /dev/sdc7
   1     1       8       71        1      active sync   /dev/sdd7
   2     2       8       55        2      active sync   /dev/sde7
   3     3       8       39        3      active sync   /dev/sda7
   4     4       8       23        4      active sync   /dev/sdb7
mdadm: cannot open /dev/sde8: No such device or address
mdadm: cannot open /dev/sde9: No such device or address


mdadm --examine --brief /dev/sd[abcde][25789]:
Code: Select all
root@fvdw-sta-kirkwood:/ # ./mdadm --examine --brief /dev/sd[abcde][25789]
mdadm: cannot open /dev/sdb8: No such device or address
mdadm: cannot open /dev/sdb9: No such device or address
mdadm: cannot open /dev/sdc8: No such device or address
mdadm: cannot open /dev/sdc9: No such device or address
mdadm: cannot open /dev/sdd8: No such device or address
mdadm: cannot open /dev/sdd9: No such device or address
mdadm: cannot open /dev/sde8: No such device or address
mdadm: cannot open /dev/sde9: No such device or address
ARRAY /dev/md2 UUID=d7d0f83d:c2335c87:3d186b3c:53958f34
ARRAY /dev/md1 UUID=3fb62ff9:a86b5210:3d186b3c:53958f34
ARRAY /dev/md0 UUID=ad77aa50:3f797402:3d186b3c:53958f34
ARRAY /dev/md3 UUID=b12626e2:6e569410:3d186b3c:53958f34
ARRAY /dev/md/4  metadata=1.0 UUID=67472b41:cf171a49:3dfaddd5:27211942 name=LaCie-5big:4


I can successfully assemble with mdadm --assemble /dev/md0 /dev/sd[abcde]2
Code: Select all
root@fvdw-sta-kirkwood:/ # ./mdadm --assemble /dev/md0 /dev/sd[abcde]2
mdadm: /dev/md0 has been started with 5 drives.


mdadm --detail /dev/md0:
Code: Select all
/dev/md0:
        Version : 1.0
  Creation Time : Wed Sep  2 21:04:37 2015
     Raid Level : raid5
     Array Size : 1046528 (1022.17 MiB 1071.64 MB)
  Used Dev Size : 261632 (255.54 MiB 267.91 MB)
   Raid Devices : 5
  Total Devices : 5
    Persistence : Superblock is persistent

    Update Time : Wed Sep  2 22:06:00 2015
          State : clean
 Active Devices : 5
Working Devices : 5
 Failed Devices : 0
  Spare Devices : 0

         Layout : left-symmetric
     Chunk Size : 512K

           Name : LaCie-5big:4
           UUID : 67472b41:cf171a49:3dfaddd5:27211942
         Events : 159

    Number   Major   Minor   RaidDevice State
       0       8       34        0      active sync   /dev/sda2
       1       8       18        1      active sync   /dev/sdb2
       2       8        2        2      active sync   /dev/sdc2
       3       8       66        3      active sync   /dev/sdd2
       4       8       50        4      active sync   /dev/sde2


When I reformatted and installed Lacie OS on each drive I booted it up to check if it would turn on and show the Lacie web UI, and it did for each drive.

How can I create the appropriately sized RAID 5 array with these drives? I want the capacity to be 8TB (as it should be with 5x 2TB drives in RAID5).

Thank you so much for your help!

Re: [RAID Size Issue] Size incorrect after fresh disk instal

PostPosted: Sun Sep 13, 2015 7:46 pm
by analogique
Hi,

I have exactly the same issue.
2 drives (2TB) and the RAID tells me 2TB only in RAID 0 instead of 4TB which is what the system tells me before ending the RAID. :hairpull