Hello all, my machine stopped working and had to be hard reset and resulted in missing arrays after reboot, I tried to follow a few articles I found online to recover the arrays but all were unsuccessful.
Here are some specifications of my hardware
6 x 3TB drives in a raid 6 array
6 x 2TB drives in a second raid 6 array
Openmediavault is installed on a small 2.5" harddrive I took from an old laptop
Here's the output for:
cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md127 : active raid6 sdb[0] sdg[5] sdf[4] sde[3] sda[6] sdc[1]
7813531648 blocks super 1.2 level 6, 512k chunk, algorithm 2 [6/6] [UUUUUU]
unused devices: <none>
blkid
/dev/sdb: UUID="108cdb04-4b23-0eca-c6ed-aba6fd1b91b4" UUID_SUB="a946292d-ebd3-28a0-1c13-3e56691e1e9e" LABEL="HomeMediaVault:VaultDiskRaid2" TYPE="linux_raid_member"
/dev/sde: UUID="108cdb04-4b23-0eca-c6ed-aba6fd1b91b4" UUID_SUB="c18fb694-4826-89a4-6f42-6cbf0ef6591f" LABEL="HomeMediaVault:VaultDiskRaid2" TYPE="linux_raid_member"
/dev/sdf: UUID="108cdb04-4b23-0eca-c6ed-aba6fd1b91b4" UUID_SUB="03d9be9c-6002-2205-bb5f-2695081c60da" LABEL="HomeMediaVault:VaultDiskRaid2" TYPE="linux_raid_member"
/dev/sdc: UUID="108cdb04-4b23-0eca-c6ed-aba6fd1b91b4" UUID_SUB="3035b457-e90d-05ed-aabe-c50410b6d63a" LABEL="HomeMediaVault:VaultDiskRaid2" TYPE="linux_raid_member"
/dev/sdg: UUID="108cdb04-4b23-0eca-c6ed-aba6fd1b91b4" UUID_SUB="fce18705-a82b-6abf-6475-cb6bfd8a4ec6" LABEL="HomeMediaVault:VaultDiskRaid2" TYPE="linux_raid_member"
/dev/md127: LABEL="VaultDataDisk2" UUID="538e819d-f5d7-437a-8af6-5efc98b8b50b" TYPE="ext4"
/dev/sdd: UUID="65a0b0ed-2eb8-4a7e-21a1-5ddd90c2ae62" UUID_SUB="d0635761-8bcb-3933-9e16-790e171a1091" LABEL="HomeMediaVault:VaultDiskRaid1" TYPE="linux_raid_member"
/dev/sdi: UUID="65a0b0ed-2eb8-4a7e-21a1-5ddd90c2ae62" UUID_SUB="342f95bd-a2fe-f67b-5c0b-99668e090948" LABEL="HomeMediaVault:VaultDiskRaid1" TYPE="linux_raid_member"
/dev/sdl: UUID="65a0b0ed-2eb8-4a7e-21a1-5ddd90c2ae62" UUID_SUB="bc796a45-6aa3-ad82-5161-97274649b52c" LABEL="HomeMediaVault:VaultDiskRaid1" TYPE="linux_raid_member"
/dev/sdm: UUID="65a0b0ed-2eb8-4a7e-21a1-5ddd90c2ae62" UUID_SUB="724c507e-d22d-6367-9959-dc61265e18d0" LABEL="HomeMediaVault:VaultDiskRaid1" TYPE="linux_raid_member"
/dev/sdj: UUID="65a0b0ed-2eb8-4a7e-21a1-5ddd90c2ae62" UUID_SUB="910b6a15-fc99-fb13-0316-bbd09e6b0fba" LABEL="HomeMediaVault:VaultDiskRaid1" TYPE="linux_raid_member"
/dev/sdk: UUID="65a0b0ed-2eb8-4a7e-21a1-5ddd90c2ae62" UUID_SUB="0a2ae95a-0ed7-3557-e32d-e2fe1b437898" LABEL="HomeMediaVault:VaultDiskRaid1" TYPE="linux_raid_member"
/dev/sdh1: UUID="bd3643ef-6216-48d1-907d-06e4f9c70f5a" TYPE="ext4"
/dev/sdh5: UUID="318c18dd-3440-4fbe-823f-d3b5b37d898d" TYPE="swap"
/dev/sda: UUID="108cdb04-4b23-0eca-c6ed-aba6fd1b91b4" UUID_SUB="7195ba6e-60cd-878b-afe9-aae972b9a07f" LABEL="HomeMediaVault:VaultDiskRaid2" TYPE="linux_raid_member"
Alles anzeigen
fdisk -l | grep "Disk "
WARNING: GPT (GUID Partition Table) detected on '/dev/sdi'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdj doesn't contain a valid partition table
WARNING: GPT (GUID Partition Table) detected on '/dev/sdk'! The util fdisk doesn't support GPT. Use GNU Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sdl'! The util fdisk doesn't support GPT. Use GNU Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sdm'! The util fdisk doesn't support GPT. Use GNU Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda doesn't contain a valid partition table
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sdg'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdh: 160.0 GB, 160041885696 bytes
WARNING: GPT (GUID Partition Table) detected on '/dev/sdf'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk identifier: 0x000aafe1
Disk /dev/sdi: 3000.6 GB, 3000592982016 bytes
Disk identifier: 0x00000000
Disk /dev/sdj: 3000.6 GB, 3000592982016 bytes
Disk identifier: 0x00000000
Disk /dev/sdk: 3000.6 GB, 3000592982016 bytes
Disk identifier: 0x00000000
Disk /dev/sdl: 3000.6 GB, 3000592982016 bytes
Disk identifier: 0x00000000
Disk /dev/sdm: 3000.6 GB, 3000592982016 bytes
Disk identifier: 0x00000000
Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
Disk identifier: 0x00000000
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
Disk identifier: 0x00000000
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
Disk identifier: 0x00000000
Disk /dev/sdg: 2000.4 GB, 2000398934016 bytes
Disk /dev/sdd doesn't contain a valid partition table
WARNING: GPT (GUID Partition Table) detected on '/dev/sde'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/md127 doesn't contain a valid partition table
Disk identifier: 0x00000000
Disk /dev/sdf: 2000.4 GB, 2000398934016 bytes
Disk identifier: 0x00000000
Disk /dev/sdd: 3000.6 GB, 3000592982016 bytes
Disk identifier: 0x00000000
Disk /dev/sde: 2000.4 GB, 2000398934016 bytes
Disk identifier: 0x00000000
Disk /dev/md127: 8001.1 GB, 8001056407552 bytes
Disk identifier: 0x00000000
Alles anzeigen
cat /etc/mdadm/mdadm.conf
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/VaultDiskRaid2 metadata=1.2 name=HomeMediaVault:VaultDiskRaid2 UUID=108cdb04:4b230eca:c6edaba6:fd1b91b4
ARRAY /dev/md127 metadata=1.2 spares=1 name=HomeMediaVault:VaultDiskRaid1 UUID=65a0b0ed:2eb84a7e:21a15ddd:90c2ae62
Alles anzeigen
mdadm --detail --scan --verbose
ARRAY /dev/md/VaultDiskRaid2 level=raid6 num-devices=6 metadata=1.2 name=HomeMediaVault:VaultDiskRaid2 UUID=108cdb04:4b230eca:c6edaba6:fd1b91b4
devices=/dev/sdb,/dev/sdc,/dev/sda,/dev/sde,/dev/sdf,/dev/sdg
From what I can understand, the array with 6 x 2tb drives is up but its identifier? used to be md126 instead of 127 which if I remember correctly belonged to the other array made up of 3tb drives
when I try the command mdadm --stop /dev/md127, I get
mdadm: Cannot get exclusive access to /dev/md127:Perhaps a running process, mounted filesystem or active volume group?
Would appreciate any help I can get to recover the array thank you.