325 v2 - 2x1TB HDD RAID1, 1 HDD not working

There are 2 topic:
- I do not know, why not works one of my HDD in the NAS (see below).
- I want to upgrade my system: 2x3TB HDD. (How can i do it?)

Let's start with the first: 

My RAID status is degraded. It looks one of my HDD does not work, when i want to repair, it says: "Disk capacity must be equal to or greater than the smallest disk in the RAID."





I running some command FYI:
~ # cat /proc/mdstat
Personalities : [linear] [raid0] [raid1]
md0 : active raid1 sdb2[2]
      976244792 blocks super 1.2 [2/1] [U_]

unused devices: <none>
~ #

~ # ~ # cat /proc/partition
-sh: /root: Permission denied
~ # cat: can't open '/proc/partition': No such file or directory
> ~ # cat /proc/partitions
> major minor  #blocks  name
>
>    7        0     143360 loop0
>    8        0  976762584 sda
>    8        1     514048 sda1
>    8        2  976245952 sda2
>    8       16  976762584 sdb
>    8       17     514048 sdb1
>    8       18  976245952 sdb2
>   31        0       1024 mtdblock0
>   31        1        512 mtdblock1
>   31        2        512 mtdblock2
>   31        3        512 mtdblock3
>   31        4      10240 mtdblock4
>   31        5      10240 mtdblock5
>   31        6      48896 mtdblock6
>   31        7      10240 mtdblock7
>   31        8      48896 mtdblock8
>    9        0  976244792 md0
> ~ #
>

~ # mdadm --examine /dev/sda2
/dev/sda2:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 4eea64cf:5d991670:2c4f0303:66920046
           Name : Szamlazo-NAS:0
  Creation Time : Tue Mar  1 03:25:35 2016
     Raid Level : raid1
   Raid Devices : 2

 Avail Dev Size : 976244928 (931.02 GiB 999.67 GB)
     Array Size : 976244792 (931.02 GiB 999.67 GB)
  Used Dev Size : 976244792 (931.02 GiB 999.67 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : active
    Device UUID : a0b49484:d4b49e62:e6e4694e:e04c15e7

    Update Time : Thu May 26 16:54:30 2022
       Checksum : 209e8765 - correct
         Events : 0


   Device Role : spare
   Array State : A. ('A' == active, '.' == missing)
~ #
~ # mdadm --examine /dev/sdb2
/dev/sdb2:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 4eea64cf:5d991670:2c4f0303:66920046
           Name : Szamlazo-NAS:0
  Creation Time : Tue Mar  1 03:25:35 2016
     Raid Level : raid1
   Raid Devices : 2

 Avail Dev Size : 976244928 (931.02 GiB 999.67 GB)
     Array Size : 976244792 (931.02 GiB 999.67 GB)
  Used Dev Size : 976244792 (931.02 GiB 999.67 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 2e477b31:713f062c:9f25a12f:5cc24265

    Update Time : Thu May 26 17:29:16 2022
       Checksum : f662d255 - correct
         Events : 1142637


   Device Role : Active device 0
   Array State : A. ('A' == active, '.' == missing)
~ #


~ # fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x83da0a07

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          64      514048+   8  AIX
/dev/sda2              65      121601   976245952+  20  Unknown

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x72035a78

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1          64      514048+  83  Linux
/dev/sdb2              65      121601   976245952+  20  Unknown
~ #


Thanks for all!






All Replies

  • Mijzelf
    Mijzelf Posts: 2,140
    100 Answers 1000 Comments Friend Collector Fifth Anniversary
     Guru Member
    I *think* you have a small read error on your remaining disk, causing the repair to fail. As the firmware just gets the 'failed' message, it assumes your 2nd disk is too small.

    In your case I think it's the easiest to create a new volume on the 2 3TB disks, then pull one, and put the remaining 1 TB disk in. The NAS should see both volumes, and then you can copy your data over. Finally put back the 2nd 3TB disk, and let it resync.

Consumer Product Help Center