Ich habe eine Open Media Vault Nas mit einem Raid5 aus 4x 3TB HDD's. Mir ist beim Aufräumen eine Platte herausgefallen
![Facepalm :facepalm:](./images/smilies/icon_ochmann.gif)
Code: Alles auswählen
root@Parkplatz:~# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md0 : active raid5 sdc[1] sde[3] sdd[2]
8790405120 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [_UUU]
unused devices: <none>
Code: Alles auswählen
root@Parkplatz:~# blkid
/dev/sda1: UUID="99f7e158-3e18-4798-aaf1-8c0c177bbc49" TYPE="ext4"
/dev/sda5: UUID="ecd92541-451d-4907-a5b7-53b930fcdb28" TYPE="swap"
/dev/sdc: UUID="cbb0c15c-5402-f3f1-04b3-c106f9e3153c" UUID_SUB="e3043537-d4e7-5b7d-735f-a5d09a48e232" LABEL="Parkplatz:Daten" TYPE="linux_raid_member"
/dev/sdd: UUID="cbb0c15c-5402-f3f1-04b3-c106f9e3153c" UUID_SUB="f13ba75e-544f-0c8d-cf7c-cc823a749bc0" LABEL="Parkplatz:Daten" TYPE="linux_raid_member"
/dev/sde: UUID="cbb0c15c-5402-f3f1-04b3-c106f9e3153c" UUID_SUB="3132deea-eda2-bfa3-74cd-55d739c8b6a3" LABEL="Parkplatz:Daten" TYPE="linux_raid_member"
/dev/md0: LABEL="Daten" UUID="f318cc62-a02c-4646-ac3b-def27e4d5be8" TYPE="ext4"
/dev/sdb: UUID="cbb0c15c-5402-f3f1-04b3-c106f9e3153c" UUID_SUB="8db274f8-7b13-8259-d99e-178b985f9d9d" LABEL="Parkplatz:Daten" TYPE="linux_raid_member"
Code: Alles auswählen
root@Parkplatz:~# fdisk -l | grep "Disk "
Disk /dev/sdd doesn't contain a valid partition table
Disk /dev/sdc doesn't contain a valid partition table
Disk /dev/sde doesn't contain a valid partition table
Disk /dev/sdb doesn't contain a valid partition table
Disk /dev/md0 doesn't contain a valid partition table
Disk /dev/sda: 500.1 GB, 500107862016 bytes
Disk identifier: 0x0005d4c1
Disk /dev/sdd: 3000.6 GB, 3000592982016 bytes
Disk identifier: 0x00000000
Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
Disk identifier: 0x00000000
Disk /dev/sde: 3000.6 GB, 3000592982016 bytes
Disk identifier: 0x00000000
Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes
Disk identifier: 0x00000000
Disk /dev/md0: 9001.4 GB, 9001374842880 bytes
Disk identifier: 0x00000000
Code: Alles auswählen
root@Parkplatz:~# 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/md0 metadata=1.2 name=Parkplatz:Daten UUID=cbb0c15c:5402f3f1:04b3c106:f9e3153c
Code: Alles auswählen
root@Parkplatz:~# mdadm --detail --scan --verbose
ARRAY /dev/md0 level=raid5 num-devices=4 metadata=1.2 name=Parkplatz:Daten UUID=cbb0c15c:5402f3f1:04b3c106:f9e3153c
devices=/dev/sdc,/dev/sdd,/dev/sde
![Hail :hail:](./images/smilies/icon_hail.gif)