Hello everybody
i got a real problem on raid 5.
How i got the problem
At first i had an SMART Error
shut down the system
unplug fault drive
got a new hard disk
plug the new
reboot
On the GUI i have no Raid, drive are there
##########
console outputs
cat /etc/mdadm/mdadm.conf
################
root@nas-omv:~# cat /etc/mdadm/mdadm.conf
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
# Note, if no DEVICE line is present, then "DEVICE partitions" is assumed.
# To avoid the auto-assembly of RAID devices a pattern that CAN'T match is
# used if no RAID devices are configured.
DEVICE partitions
# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes
# automatically tag new arrays as belonging to the local system
HOMEHOST <system>
# definitions of existing MD arrays
ARRAY /dev/md/FirstRaid5 metadata=1.2 name=NAS-OMV:FirstRaid5 UUID=1fcf9705:1c13cd44:c9bcf8d4:5c66fb11
# instruct the monitoring daemon where to send mail alerts
################
second output on consol:
sudo mdadm --misc --examine /dev/sd[abc]
################
root@nas-omv:~# sudo mdadm --misc --examine /dev/sda
/dev/sda:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x1
Array UUID : 1fcf9705:1c13cd44:c9bcf8d4:5c66fb11
Name : NAS-OMV:FirstRaid5
Creation Time : Fri Nov 4 21:37:43 2016
Raid Level : raid5
Raid Devices : 3
Avail Dev Size : 5860271024 (2794.39 GiB 3000.46 GB)
Array Size : 5860270080 (5588.79 GiB 6000.92 GB)
Used Dev Size : 5860270080 (2794.39 GiB 3000.46 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262056 sectors, after=944 sectors
State : clean
Device UUID : 751ecf5b:6fd057ae:4fbf95d7:939777d0
Internal Bitmap : 8 sectors from superblock
Update Time : Tue Feb 12 19:59:12 2019
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : 405dfe1a - correct
Events : 37509
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 0
Array State : AAA ('A' == active, '.' == missing, 'R' == replacing)
root@nas-omv:~# sudo mdadm --misc --examine /dev/sdb
/dev/sdb:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x1
Array UUID : 1fcf9705:1c13cd44:c9bcf8d4:5c66fb11
Name : NAS-OMV:FirstRaid5
Creation Time : Fri Nov 4 21:37:43 2016
Raid Level : raid5
Raid Devices : 3
Avail Dev Size : 5860271024 (2794.39 GiB 3000.46 GB)
Array Size : 5860270080 (5588.79 GiB 6000.92 GB)
Used Dev Size : 5860270080 (2794.39 GiB 3000.46 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262056 sectors, after=944 sectors
State : clean
Device UUID : 7254c079:85f1e316:d64fd1da:6fbb95b9
Internal Bitmap : 8 sectors from superblock
Update Time : Tue Feb 12 19:59:12 2019
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : b335098d - correct
Events : 37509
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 1
Array State : AAA ('A' == active, '.' == missing, 'R' == replacing)
root@nas-omv:~# sudo mdadm --misc --examine /dev/sdc
mdadm: No md superblock detected on /dev/sdc.
################
mdadm --create /dev/md0 --assume-clean --level=5 --verbose --raid-devices=3 missing /dev/sda /dev/sdb /dev/sdc
##############
root@nas-omv:~# mdadm --create /dev/md0 --assume-clean --level=5 --verbose --raid-devices=3 missing /dev/sda /dev/sdb /dev/sdc
mdadm: You have listed more devices (4) than are in the array(3)!
##############
blkid
##############
root@nas-omv:~# blkid
/dev/sda: UUID="1fcf9705-1c13-cd44-c9bc-f8d45c66fb11" UUID_SUB="751ecf5b-6fd0-57ae-4fbf-95d7939777d0" LABEL="NAS-OMV:FirstRaid5" TYPE="linux_raid_member"
/dev/sdb: UUID="1fcf9705-1c13-cd44-c9bc-f8d45c66fb11" UUID_SUB="7254c079-85f1-e316-d64f-d1da6fbb95b9" LABEL="NAS-OMV:FirstRaid5" TYPE="linux_raid_member"
/dev/sdd1: UUID="b2f11b56-6610-4618-b4e8-037387c66fc4" TYPE="ext4" PARTUUID="afb2ec5b-01"
/dev/sdd5: UUID="e13aacbb-179e-4577-a52e-16776674f174" TYPE="swap" PARTUUID="afb2ec5b-05"
##############
fdisk -l | grep "Disk "
##############
root@nas-omv:~# fdisk -l | grep "Disk "
Disk /dev/sda: 2,7 TiB, 3000592982016 bytes, 5860533168 sectors
Disk /dev/sdb: 2,7 TiB, 3000592982016 bytes, 5860533168 sectors
Disk /dev/sdc: 2,7 TiB, 3000592982016 bytes, 5860533168 sectors
Disk /dev/sdd: 14,9 GiB, 15977152512 bytes, 31205376 sectors
Disk identifier: 0xafb2ec5b
root@nas-omv:~#
##############
mdadm --detail --scan --verbose
##############
root@nas-omv:~# mdadm --detail --scan --verbose
root@nas-omv:~#
##############
So i need some advise to fix this issue.
Thanks!!
Christian