Replace failed SSD in RAID 1 configuration

Questions about SNMP, Power, System, Logs, disk, & RAID.
Post Reply
pinoylicious
Starting out
Posts: 12
Joined: Sun Dec 18, 2022 1:39 pm

Replace failed SSD in RAID 1 configuration

Post by pinoylicious »

Hey guys/gals,

Could anyone please provide or direct me to instructions on how to replace a failed RAID1 SSD (system is on it and Data is RAID 5 on HDDs). I"m really hoping it's as simple as replacing the failed SSD and flipping it back on (without having to rebuild). Configuration screenshots attached.

Thanks for reading and for any help!
You do not have the required permissions to view the files attached to this post.
User avatar
dolbyman
Guru
Posts: 35014
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Replace failed SSD in RAID 1 configuration

Post by dolbyman »

Yes.. shut the NAS down (no hotswap with NVMe) and swap the drive...boot it back up and the rebuild should start

The system is on all internal drives anyways .. just you programs would be installed on the default system volume
pinoylicious
Starting out
Posts: 12
Joined: Sun Dec 18, 2022 1:39 pm

Re: Replace failed SSD in RAID 1 configuration

Post by pinoylicious »

Awesome! thanks so much dolbyman! Now, off to see if Samsung will back their warranty.
pinoylicious
Starting out
Posts: 12
Joined: Sun Dec 18, 2022 1:39 pm

Re: Replace failed SSD in RAID 1 configuration

Post by pinoylicious »

So i popped in the new m.2 SSD. It shows healthy, but still degraded. I manually go into Rebuild RAID Group. Hit the Rebuild button, but it doesn't show any free disks. Thoughts?
User avatar
dolbyman
Guru
Posts: 35014
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Replace failed SSD in RAID 1 configuration

Post by dolbyman »

can you post some screenshots of the GUI?

also check the md9 and md13 rebuild status

Code: Select all

cat /proc/mdstat
pinoylicious
Starting out
Posts: 12
Joined: Sun Dec 18, 2022 1:39 pm

Re: Replace failed SSD in RAID 1 configuration

Post by pinoylicious »

Hi dolbyman - I really appreciate the help. In the last screenshot I try to rebuild the RAID, but it doesn't show a disk to select. Please see below.

Code: Select all

[~] # cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath]
md2 : active raid5 sdb3[0] sda3[2] sdc3[1]
      27324845056 blocks super 1.0 level 5, 512k chunk, algorithm 2 [3/3] [UUU]

md1 : active raid1 nvme1n1p3[2](S) nvme0n1p3[0]
      870126080 blocks super 1.0 [2/1] [U_]

md322 : active raid1 sda5[2](S) sdc5[1] sdb5[0]
      7235136 blocks super 1.0 [2/2] [UU]
      bitmap: 0/1 pages [0KB], 65536KB chunk

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

md321 : active raid1 nvme1n1p5[2](S) nvme0n1p5[0]
      8283712 blocks super 1.0 [2/1] [U_]
      bitmap: 1/1 pages [4KB], 65536KB chunk

md13 : active raid1 nvme0n1p4[0] sda4[66] sdc4[65] sdb4[64]
      458880 blocks super 1.0 [64/4] [U_UUU___________________________________________________________]
      bitmap: 1/1 pages [4KB], 65536KB chunk

md9 : active raid1 nvme1n1p1[67] nvme0n1p1[0] sda1[66] sdc1[65] sdb1[64]
      530048 blocks super 1.0 [64/5] [UUUUU___________________________________________________________]
      bitmap: 1/1 pages [4KB], 65536KB chunk
overview_01.jpg
replaced_disk_02.jpg
Storage_Snapshots_03.jpg
Storage_Snapshots_RebuildRaid_04.jpg
blank_rebuild_raid_05.jpg
You do not have the required permissions to view the files attached to this post.
Last edited by pinoylicious on Wed Mar 22, 2023 10:35 pm, edited 2 times in total.
User avatar
dolbyman
Guru
Posts: 35014
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Replace failed SSD in RAID 1 configuration

Post by dolbyman »

weird..some RAID have rebuild ..some didn't, looks like a bug to me

best to open a ticket with QNAP
pinoylicious
Starting out
Posts: 12
Joined: Sun Dec 18, 2022 1:39 pm

Re: Replace failed SSD in RAID 1 configuration

Post by pinoylicious »

okay, thank you again!
pinoylicious
Starting out
Posts: 12
Joined: Sun Dec 18, 2022 1:39 pm

Re: Replace failed SSD in RAID 1 configuration

Post by pinoylicious »

Hi dolbyman - Turns out that my SSD in slot 1 ALSO had bad sectors. That's what prevented the rebuild from working. I replaced both m.2 SSDs with Crucial (I learned about the Samsung SSD issues on the other thread).

Everything is back up!

Thanks again
User avatar
dolbyman
Guru
Posts: 35014
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Replace failed SSD in RAID 1 configuration

Post by dolbyman »

I'd still say that is a bug, if the other SSD had busted sectors that prevented the rebuild, the interface should not say "green' all A/OK
Post Reply

Return to “System & Disk Volume Management”