RAID Group 1 "Not active"

Questions about SNMP, Power, System, Logs, disk, & RAID.
Post Reply
ehhrage
New here
Posts: 5
Joined: Mon Mar 07, 2022 10:06 am

Re: RAID Group 1 "Not active"

Post by ehhrage »

thx will try that later on when i get home.
ehhrage
New here
Posts: 5
Joined: Mon Mar 07, 2022 10:06 am

Re: RAID Group 1 "Not active"

Post by ehhrage »

so i got
[~] # mdadm --assemble --scan
mdadm: scan_assemble: failed to get exclusive lock on mapfile
mdadm: No arrays found in config file
User avatar
dolbyman
Guru
Posts: 35024
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: RAID Group 1 "Not active"

Post by dolbyman »

try

Code: Select all

mdadm -S /dev/md1 

Code: Select all

mdadm --assemble /dev/md1 --run 
ehhrage
New here
Posts: 5
Joined: Mon Mar 07, 2022 10:06 am

Re: RAID Group 1 "Not active"

Post by ehhrage »

i got

[~] # mdadm -S /dev/md1
mdadm: error opening /dev/md1: No such file or directory
[~] # mdadm --assemble /dev/md1 --run
mdadm: /dev/md1 not identified in config file.
User avatar
dolbyman
Guru
Posts: 35024
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: RAID Group 1 "Not active"

Post by dolbyman »

next step would be to peek at the config file...did you open a ticket with qnap yet ?
ehhrage
New here
Posts: 5
Joined: Mon Mar 07, 2022 10:06 am

Re: RAID Group 1 "Not active"

Post by ehhrage »

not yet, got to make a qnap id thing. i will look up the config file a well see if anything is there when i get home tomorrow.
jonat08
New here
Posts: 2
Joined: Sun Jul 03, 2022 12:18 pm

Re: RAID Group 1 "Not active"

Post by jonat08 »

Hi,

I got a similar issue as reported by others in this thread.

I had a failed disk, and RAID Group 1 turned to Not Active.
I've put a new disk in, which the GUI sees correctly. All 4 disks are green, but the recover RAID Group is failing.

When running md_Checker, it seems I got disk #2(3rd slot disk that failed and got replaced) as missing.

It also seems that #3 is slightly out of sync by a few minutes.

Recommendation on what command to do next??

thanks!


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

Scanning system...


RAID metadata found!
UUID: 8a2e636a:838af856:587efa2e:6e56d6b6
Level: raid5
Devices: 4
Name: md1
Chunk Size: 64K
md Version: 1.0
Creation Time: Jul 17 22:53:10 2015
Status: OFFLINE
================================================================================ ===============
Enclosure | Port | Block Dev Name | # | Status | Last Update Time | Events | Array State
================================================================================ ===============
NAS_HOST 1 /dev/sda3 0 Active Jul 1 14:12:37 2022 4984275 AA.A
NAS_HOST 2 /dev/sdb3 1 Active Jul 1 14:12:37 2022 4984275 AA.A
---------------------------------- 2 Missing ------------------------------ -------------
NAS_HOST 4 /dev/sdd3 3 Active Jul 1 14:02:17 2022 4984274 AA.A
================================================================================ ===============
FSC830
Experience counts
Posts: 2043
Joined: Thu Mar 03, 2016 1:11 am

Re: RAID Group 1 "Not active"

Post by FSC830 »

Backup available?
If so, dont hesitate, rebuild raid and restore.With two disks failed (one missing, one seems out of sync) raid5 is gone usually.

Regards
jonat08
New here
Posts: 2
Joined: Sun Jul 03, 2022 12:18 pm

Re: RAID Group 1 "Not active"

Post by jonat08 »

FSC830 wrote: Sun Jul 03, 2022 6:21 pm Backup available?
If so, dont hesitate, rebuild raid and restore.With two disks failed (one missing, one seems out of sync) raid5 is gone usually.

Regards
No backup available. So any potential command I can at least attempt?

thanks
FSC830
Experience counts
Posts: 2043
Joined: Thu Mar 03, 2016 1:11 am

Re: RAID Group 1 "Not active"

Post by FSC830 »

Unfortunately not.
Even if mdadm assemble will succeed, you need to reconstruct the LVM information.
Best is may be to contact QNAP support.

Regards
hotshotken
First post
Posts: 1
Joined: Tue Feb 23, 2016 5:47 pm

Re: RAID Group 1 "Not active"

Post by hotshotken »

Hi - Wondering if anyone can help diagnose what I'm seeing w/ my raid, and how I might be able to get it sorted. What's weird is md_checker shows 2 devices missing, but the qnap interface shows disk2 missing despite it being physically there. Previously they were scanned as fine / ok.


Thanks


[~] # md_checker

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

Scanning system...


RAID metadata found!
UUID: 97645e2e:51c5b76b:16428322:7dabe581
Level: raid10
Devices: 4
Name: md1
Chunk Size: 512K
md Version: 1.0
Creation Time: Mar 8 07:06:57 2019
Status: ONLINE (md1) [_UUU]
===============================================================================================
Enclosure | Port | Block Dev Name | # | Status | Last Update Time | Events | Array State
===============================================================================================
---------------------------------- 0 Missing -------------------------------------------
---------------------------------- 1 Missing -------------------------------------------
NAS_HOST 3 /dev/sdc3 2 Active Dec 30 14:46:02 2022 56723 .AAA
NAS_HOST 4 /dev/sdd3 3 Active Dec 30 14:46:02 2022 56723 .AAA
===============================================================================================
perintoxa
New here
Posts: 4
Joined: Tue Mar 12, 2019 6:37 am

Re: RAID Group 1 "Not active"

Post by perintoxa »

Hello! Did you find the solution?
I have the same problem with very small difference.
I have "Status: OFFLINE" and "Chunk Size : 64K"
User avatar
dolbyman
Guru
Posts: 35024
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: RAID Group 1 "Not active"

Post by dolbyman »

Best to open a new thread and explaining what is actually going on or what you have tried so far
User avatar
dolbyman
Guru
Posts: 35024
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: RAID Group 1 "Not active"

Post by dolbyman »

https://www.qnap.com/en/how-to/faq/arti ... -using-ssh

These commands can be extremely destructive if you have now idea what you are doing, so best to open a support ticket if you already have to ask what and where SSH access it.
Post Reply

Return to “System & Disk Volume Management”