TS-453D - RAID 5 Group 1 Not Active

Questions about SNMP, Power, System, Logs, disk, & RAID.
Post Reply
jirischmitt
New here
Posts: 3
Joined: Wed Sep 22, 2021 2:59 pm

TS-453D - RAID 5 Group 1 Not Active

Post by jirischmitt »

Hi,

I have a TS-453D model with firmware 4.5.4.1723 (2021/07/08)

I have Raid 5 with 4 2T discs. 2 discs have warning regarding bad sectors, so I start replacing it to new ones. Options for replace one by one disc was disabled, so I replace directly disc in 2 slot to new. New discs I have 4TB. After replacing it causes degraded raid and replaced dis was in state "not member". I found solution how to add this disk to raid by following command:

Code: Select all

mdadm --manage /dev/md1 --add /dev/sdc3
It was working, raid was rebuild and I repeat this procedure for disk in 1 slot. Everything was OK and today I restart NAS and after it is loaded I can see that raid is not active.
2021-09-22_7-38-41.png
So I looked for this issue and found some solutions on this forum. I tried followinf command:

Code: Select all

 md_checker
result:

Code: Select all

Welcome to MD superblock checker (v2.0) - have a nice day~

Scanning system...


RAID metadata found!
UUID:           6e7c43ac:55c1bfdb:727c6edd:adcf0f72
Level:          raid5
Devices:        4
Name:           md1
Chunk Size:     512K
md Version:     1.0
Creation Time:  Dec 14 15:17:22 2015
Status:         OFFLINE
===============================================================================================
 Enclosure | Port | Block Dev Name | # | Status |   Last Update Time   | Events | Array State
===============================================================================================
 ----------------------------------  0  Missing   -------------------------------------------
 ----------------------------------  1  Missing   -------------------------------------------
 NAS_HOST       3        /dev/sda3   2   Active   Sep 22 07:24:07 2021    71508   AAAA
 NAS_HOST       4        /dev/sdb3   3   Active   Sep 22 07:24:07 2021    71508   AAAA
===============================================================================================
next I run following command

Code: Select all

/etc/init.d/init_lvm.sh
result:

Code: Select all

Changing old config name...
Reinitialing...
Detect disk(8, 48)...
dev_count ++ = 0Detect disk(8, 16)...
dev_count ++ = 1Detect disk(8, 32)...
dev_count ++ = 2Detect disk(8, 0)...
dev_count ++ = 3Detect disk(8, 48)...
Detect disk(8, 16)...
Detect disk(8, 32)...
Detect disk(8, 0)...
/bin/cat: /sys/bus/pci/devices/0000:00:13.0/0000:01:00.0/subsystem_vendor: No such file or directory
/bin/cat: /sys/bus/pci/devices/0000:00:13.0/0000:01:00.0/subsystem_vendor: No such file or directory
sys_startup_p2:got called count = -1
Done
Now I can see that raid is corrupted, it has only 2 discs
2021-09-22_9-20-00.png
Could you somebody help me please?

cat /proc/mdstat

Code: Select all

Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath]
md322 : active raid1 sdd5[3](S) sdc5[2](S) sdb5[1] sda5[0]
      7235136 blocks super 1.0 [2/2] [UU]
      bitmap: 0/1 pages [0KB], 65536KB chunk

md256 : active raid1 sdd2[3](S) sdc2[2](S) sdb2[1] sda2[0]
      530112 blocks super 1.0 [2/2] [UU]
      bitmap: 0/1 pages [0KB], 65536KB chunk

md13 : active raid1 sdd4[27] sda4[2] sdb4[3]
      458880 blocks super 1.0 [27/3] [U_UU_______________________]
      bitmap: 1/1 pages [4KB], 65536KB chunk

md9 : active raid1 sdd1[26] sdc1[25] sda1[2] sdb1[3]
      530048 blocks super 1.0 [25/4] [UUUU_____________________]
      bitmap: 1/1 pages [4KB], 65536KB chunk

unused devices: <none>
df -h

Code: Select all

Filesystem                Size      Used Available Use% Mounted on
none                    400.0M    286.3M    113.7M  72% /
devtmpfs                  1.8G      8.0K      1.8G   0% /dev
tmpfs                    64.0M    388.0K     63.6M   1% /tmp
tmpfs                     1.9G    136.0K      1.9G   0% /dev/shm
tmpfs                    16.0M     92.0K     15.9M   1% /share
/dev/mmcblk0p5            7.7M     46.0K      7.7M   1% /mnt/boot_config
tmpfs                    16.0M         0     16.0M   0% /mnt/snapshot/export
/dev/md9                493.5M    157.4M    336.0M  32% /mnt/HDA_ROOT
cgroup_root               1.9G         0      1.9G   0% /sys/fs/cgroup
/dev/md13               417.0M    388.0M     29.0M  93% /mnt/ext
/dev/ram2               433.9M      2.3M    431.6M   1% /mnt/update
tmpfs                    64.0M      3.2M     60.8M   5% /samba
tmpfs                    48.0M     68.0K     47.9M   0% /samba/.samba/lock/msg.lock
tmpfs                    16.0M         0     16.0M   0% /mnt/ext/opt/samba/private/msg.sock
mdadm --misc -D /dev/md9

Code: Select all

/dev/md9:
        Version : 1.0
  Creation Time : Mon Dec 14 15:16:54 2015
     Raid Level : raid1
     Array Size : 530048 (517.71 MiB 542.77 MB)
  Used Dev Size : 530048 (517.71 MiB 542.77 MB)
   Raid Devices : 25
  Total Devices : 4
    Persistence : Superblock is persistent

  Intent Bitmap : Internal

    Update Time : Wed Sep 22 09:22:33 2021
          State : active, degraded
 Active Devices : 4
Working Devices : 4
 Failed Devices : 0
  Spare Devices : 0

           Name : 9
           UUID : f5456f55:7361a422:179427ed:b4e118d5
         Events : 22138238

    Number   Major   Minor   RaidDevice State
      25       8       33        0      active sync   /dev/sdc1
      26       8       49        1      active sync   /dev/sdd1
       2       8        1        2      active sync   /dev/sda1
       3       8       17        3      active sync   /dev/sdb1
       8       0        0        8      removed
      10       0        0       10      removed
      12       0        0       12      removed
      14       0        0       14      removed
      16       0        0       16      removed
      18       0        0       18      removed
      20       0        0       20      removed
      22       0        0       22      removed
      24       0        0       24      removed
      26       0        0       26      removed
      28       0        0       28      removed
      30       0        0       30      removed
      32       0        0       32      removed
      34       0        0       34      removed
      36       0        0       36      removed
      38       0        0       38      removed
      40       0        0       40      removed
      42       0        0       42      removed
      44       0        0       44      removed
      46       0        0       46      removed
      48       0        0       48      removed
Thank you
Jiri
You do not have the required permissions to view the files attached to this post.
User avatar
dolbyman
Guru
Posts: 35232
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: TS-453D - RAID 5 Group 1 Not Active

Post by dolbyman »

you had two broken disks in your data raid ..raid5 can only survive 1 failed disk. (md_checker tells you that)

reinitializing lvm just killed it completly ...so I hope you have backups
jirischmitt
New here
Posts: 3
Joined: Wed Sep 22, 2021 2:59 pm

Re: TS-453D - RAID 5 Group 1 Not Active

Post by jirischmitt »

before I restarted NAS I had recovered all disks and looked everything's good. Data was accessible.
If I understand I can see new created raid md322 which contains 2 disks from 1 a 2 slots.
2021-09-22_16-06-54.png
Is it possible delete this raid or detach discs and try to add them to old raid?

I tried mdadm --stop /dev/md322 but it failed

Code: Select all

mdadm: Cannot get exclusive access to /dev/md322:Perhaps a running process, mounted filesystem or active volume group?
also unmount /dev/md322 not working in my NAS

Code: Select all

unmount: command not found
You do not have the required permissions to view the files attached to this post.
User avatar
dolbyman
Guru
Posts: 35232
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: TS-453D - RAID 5 Group 1 Not Active

Post by dolbyman »

that isnt the one with your data on..it's some system raid

bring the system to a data recovery professional if you had no backups

or at least open a ticket with qnap...
jirischmitt
New here
Posts: 3
Joined: Wed Sep 22, 2021 2:59 pm

Re: TS-453D - RAID 5 Group 1 Not Active

Post by jirischmitt »

ok thank you
Post Reply

Return to “System & Disk Volume Management”