Good Morning,
yesterday unfortunately my NAS was not usable because some chaos in the cable management. I ordered everything new and started OMV. Everything fine except one HD got a problem with a electricity. This I saw in OMV GUI because one HD was missing. I shutdowned the NAS and fixed the problem. Now the RAID is in clean,degraded status. I read a lot of articles about this theme, but because I´m a real newby in LINUX I want to ask for help. (/dev/sdc got the problem)
Here is the output of the standard commands
root:~# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md0 : inactive sdc[2](S)
2930265560 blocks super 1.2
md127 : active raid5 sda[0] sdd[3] sdb[1]
8790795264 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UU_U]
unused devices: <none>
root:~# blkid
/dev/sda: UUID="1502d52d-95e2-6795-1640-733c336993e9" UUID_SUB="f4b35227-50c1-0395-aacf-ea17c6c0448b" LABEL="PCADS:Media" TYPE="linux_raid_member"
/dev/sdb: UUID="1502d52d-95e2-6795-1640-733c336993e9" UUID_SUB="747d9708-d350-2453-9796-376b9efd0cec" LABEL="PCADS:Media" TYPE="linux_raid_member"
/dev/sdc: UUID="1502d52d-95e2-6795-1640-733c336993e9" UUID_SUB="a1f38150-9d8b-90a3-fbaa-6e7ce05e0e9f" LABEL="PCADS:Media" TYPE="linux_raid_member"
/dev/md127: LABEL="Storage" UUID="fdbab16c-3441-4b48-89a6-dbfa96ae3ff4" TYPE="ext4"
/dev/sdd: UUID="1502d52d-95e2-6795-1640-733c336993e9" UUID_SUB="259ea68e-e1ae-060a-7f21-74d26e2c127a" LABEL="PCADS:Media" TYPE="linux_raid_member"
/dev/sde1: UUID="1c616f83-f1f0-4e89-b62f-4a39b3b6a049" TYPE="ext4"
/dev/sde5: UUID="e4d4e52f-a3a4-4ec7-ba88-19767e6f0b1e" TYPE="swap"
root:~# fdisk -l | grep "Disk "
Disk /dev/sda doesn't contain a valid partition table
Disk /dev/sdb doesn't contain a valid partition table
Disk /dev/sdc doesn't contain a valid partition table
Disk /dev/sdd doesn't contain a valid partition table
Disk /dev/md127 doesn't contain a valid partition table
Disk /dev/sda: 3000.6 GB, 3000592982016 bytes
Disk identifier: 0x00000000
Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes
Disk identifier: 0x00000000
Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
Disk identifier: 0x00000000
Disk /dev/sdd: 3000.6 GB, 3000592982016 bytes
Disk identifier: 0x00000000
Disk /dev/sde: 63.0 GB, 63023063040 bytes
Disk identifier: 0x0003987e
Disk /dev/md127: 9001.8 GB, 9001774350336 bytes
Disk identifier: 0x00000000
# 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/md0 metadata=1.2 name=PCADS:Media UUID=1502d52d:95e26795:1640733c:336993e9
MAILADDR root
root:~# mdadm --detail --scan --verbose
ARRAY /dev/md/Media level=raid5 num-devices=4 metadata=1.2 name=PCADS:Media UUID=1502d52d:95e26795:1640733c:336993e9
devices=/dev/sda,/dev/sdb,/dev/sdd
mdadm: md device /dev/md0 does not appear to be active.
Can anyone please help me integrating the sdc HD again?