Article 6KD9Z Raid5 unable to mount array disk after replacing a faulty disk in RAID5 array

Raid5 unable to mount array disk after replacing a faulty disk in RAID5 array

by
zoobie78
from LinuxQuestions.org on (#6KD9Z)
Hi,

I have a RAID5 array with 4 disks - this array was in a clean degraded status, as one of the disk was faulty and automatically removed from the array.

I have purchased a new HDD and then I have added this new disk through webmin administration tool in order to replace the faulty disk sda7 with the new disk sde6.
I have monitored the recovery process through cat/post/mdstat and the whole process took over 6 hours. A the end of the process I switched off my NAS Server (DYI running under Ubuntu 22.04).

Since then, I need to comment the mount point in fstab, as it is impossible to mount the array, each time I got the following error::

Code:manu29chatel@NAS:/home/deneufchatel_family$ sudo mount /dev/md127 /export/media3
mount: /export/media3: wrong fs type, bad option, bad superblock on /dev/md127, missing codepage or helper program, or other error.
Here is the detail of the array /dev/md127
Code:manu29chatel@NAS:/home/deneufchatel_family$ sudo mdadm -D /dev/md127
/dev/md127:
Version : 1.2
Creation Time : Sat Jan 9 18:15:50 2016
Raid Level : raid5
Array Size : 2196869568 (2.05 TiB 2.25 TB)
Used Dev Size : 732289856 (698.37 GiB 749.86 GB)
Raid Devices : 4
Total Devices : 4
Persistence : Superblock is persistent

Update Time : Thu Mar 14 07:08:23 2024
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0

Layout : left-symmetric
Chunk Size : 64K

Consistency Policy : resync

Name : NAS:media3 (local to host NAS)
UUID : c417fb9d:0bc3d299:e6704467:f6cfe34c
Events : 70249

Number Major Minor RaidDevice State
0 8 49 0 active sync /dev/sdd1
1 8 35 1 active sync /dev/sdc3
5 8 70 2 active sync /dev/sde6
4 8 19 3 active sync /dev/sdb3I have been clearly an idiot as I didn't do a backup prior adding the new disk to the array in order to replace the faulty one.

Is there a way to mount the array (/dev/md127) and to be able to recover / access the data on the array ?

Thanking you in advance for your support.

Regards,

Zoobie78
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments