219P in raid in degraded mode

Questions about SNMP, Power, System, Logs, disk, & RAID.
Post Reply
cyric_74
Starting out
Posts: 11
Joined: Tue Jul 13, 2010 10:41 pm

219P in raid in degraded mode

Post by cyric_74 »

Hi All,

I have a 219P that's running in degraded mode and I don't know why.

It should be mirrored
Both drives report as Good

This all started when I wanted to upgrade the capacity of the nas. (From 2TB drives to 8TB drives)
I replaced drive 1, and it went fine, raid rebuilt.
I replaced drive 2 and it failed to rebuild the raid

I have since checked the 2nd drive with short and long scans and smart says its fine the 219p says the drive is good.
I've tried checking the file system and it doesn't report errors
Rebooting hasn't helped

I have no options when I go in to raid management, it says :
Mirroring disk volume : Drive 1
The action button is grey and is not clickable.

Any suggestions/thoughts/help?
User avatar
dolbyman
Guru
Posts: 35024
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: 219P in raid in degraded mode

Post by dolbyman »

On these old CAT1 devices you have to follow the "one by one" process, swapping the drives without it will not result in expansion
cyric_74
Starting out
Posts: 11
Joined: Tue Jul 13, 2010 10:41 pm

Re: 219P in raid in degraded mode

Post by cyric_74 »

Thanks for the reply!

Can you explain a bit more?

I did do the drives one by one.
I selected 1 drive, clicked change, the nas said go ahead, I swapped it.
Repeated for the 2nd drive.

I didn't even get to expanding the capacity.. because the mirror didn't rebuild, and it's been in degraded mode now.

I can't get the mirror back up and working
FSC830
Experience counts
Posts: 2043
Joined: Thu Mar 03, 2016 1:11 am

Re: 219P in raid in degraded mode

Post by FSC830 »

May be drive 2 is faulty.

You can try the following: remove drive 2 again, connect it to a PC (USB dock) and remove all partitions.
Connect per SSH to NAS and look up in /mnt/HDA_root/.conf if there is an entry for that disk marked "Error" and remove this line.
Put drive back to NAS, rebuild should start.

Take care to pull the correct drive!

Regards
cyric_74
Starting out
Posts: 11
Joined: Tue Jul 13, 2010 10:41 pm

Re: 219P in raid in degraded mode

Post by cyric_74 »

>and look up in /mnt/HDA_root/.conf if there is an entry for that disk marked "Error" and remove this line.

Can you step by step this part?
I've never really used SSH

I've managed to connect via SSH and login but don't know how to navigate or edit /remove lines

:(
User avatar
Toxic17
Ask me anything
Posts: 6469
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: 219P in raid in degraded mode

Post by Toxic17 »

use winscp to ssh into the file system, its then easier to understand and you can edit files just by double clicking them.

just make sure you edit the files correctly.
Regards Simon

Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
cyric_74
Starting out
Posts: 11
Joined: Tue Jul 13, 2010 10:41 pm

Re: 219P in raid in degraded mode

Post by cyric_74 »

I finally had time to sit down and take another look
Winscp Is easier, thank you :)

This is the contents of my .conf file

QNAP = TRUE
hd_name = /dev/sdb
mirror = 1
serial_no1 = Z840FT8T
serial_no2 = Z840FN36
hw_addr = 00:00:00:00:05:09


I'm not sure why there isn't just an option/button to rebuild the mirror!?!? :(
And if it ever works, I've upgraded from 2GB drives to 8GB drives.. and don't see how I can expand the size either?
User avatar
dolbyman
Guru
Posts: 35024
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: 219P in raid in degraded mode

Post by dolbyman »

As said, just swapping the drives does not enable capacity expansion on these decade+ old units, you HAVE to go through the GUI "one by one" swap here
cyric_74
Starting out
Posts: 11
Joined: Tue Jul 13, 2010 10:41 pm

Re: 219P in raid in degraded mode

Post by cyric_74 »

I appreciate that I have to do the 'one by one' swap to expand capacity.
Ok. That's a secondary problem.

Right now the raid is in degraded mode so I cannot do Anything.

I need to get that repaired and I'm not having any luck.
No luck being, there are no options to rebuild the raid, the only option I appear to have is to check the file system. Which I do and it's fine.

The second drive appears good, smart is good, stats are correct.
It just said raid is in degraded mode

Checking file system comes back good

Under raid management, it is greyed out and I can do nothing

I have the option to format (obviously bad), check file system (does nothing) and remove (which warns me that everything will be deleted)


I want to resolve the degraded mode issue.

Then by all means, if I can find this one by one swap method, I'd do that.
Although, by the sounds of it, that's what I did to upgrade the drives.
cyric_74
Starting out
Posts: 11
Joined: Tue Jul 13, 2010 10:41 pm

Re: 219P in raid in degraded mode

Post by cyric_74 »

Actually, dolbyman, you and someone else had this conversation already.
I didn't find it when I searched for the problem (rain in degraded mode)

But I searched your solution (one by one swap) and a previous thread came up

The solution was more what someone you were helping ended up doing.

For some (*)&@() reason, I had to 0 the 2nd drive for it to work.
I followed his method with the 2nd drive (that wouldn't allow me to rebuild) by downloading MiniTool Partition and then wiping the drive with 0s

When I then re-inserted the drive, it just automatically started rebuilding the array (which is what I thought Should happen with just a simply formatted drive)
Once rebuilt, the expansion was easy.

It just makes little sense that I had to 0 the drive for it to work

But that's got it all going, so appreciate the help
Post Reply

Return to “System & Disk Volume Management”