Hello everyone.
I am new to the forum and a neophyte to Debian and OMV.
I'll come straight to the problem. Months ago I created a NAS with OMV 5.6.21 and it worked perfectly until yesterday, when I tried to expand the RAID by adding an additional hard drive, the seventh (already done once a few months ago with success).On reboot I went to RAID - Expand and it gave me an error (which I didn't write down, darn me!). I then closed everything, restarted the machine and, as if by magic, the RAID now has the status of MISSING!
Panic to the max!
I ask you: can I restore the RAID without losing the data on it? And how do I do it? Please tell me there is a way to!
Sorry for my bad English!
Thank you for reading.
Riccardo
Code
root@NAS:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : inactive sdd[0](S) sdi[4](S) sdf[1](S) sdh[3](S) sdg[2](S)
4394789240 blocks super 1.2
Code
root@NAS:~# blkid
/dev/sda2: LABEL="Volume" UUID="34361084361048EE" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="c70bf0f6-a523-4316-b32b-a8f6c755fad5"
/dev/sdc: UUID="ae7e9eb5-bee1-f7f9-411a-df9006ac2c50" UUID_SUB="f5d632ee-0862-52d0-fae6-db7216457f5f" LABEL="debian:Raid" TYPE="linux_raid_member"
/dev/sdb1: UUID="1bd2afac-cfd2-4057-9ab6-9689d5d809b7" TYPE="ext4" PARTUUID="dd89cebb-01"
/dev/sdb5: UUID="07def11c-d621-4134-b6e9-d7f73f67ee0d" TYPE="swap" PARTUUID="dd89cebb-05"
/dev/sdb6: UUID="6eb1430c-c539-4820-9f0f-3706f5cbb61a" TYPE="ext4" PARTUUID="dd89cebb-06"
/dev/sdd: UUID="ae7e9eb5-bee1-f7f9-411a-df9006ac2c50" UUID_SUB="8685b52a-d38a-a213-23af-de8efb29e7c5" LABEL="debian:Raid" TYPE="linux_raid_member"
/dev/sdg: UUID="ae7e9eb5-bee1-f7f9-411a-df9006ac2c50" UUID_SUB="2adb935b-d2cb-7ce2-1870-f996ad436f1e" LABEL="debian:Raid" TYPE="linux_raid_member"
/dev/sdh: UUID="ae7e9eb5-bee1-f7f9-411a-df9006ac2c50" UUID_SUB="ef01a0fe-2272-1eab-643a-45e88906f500" LABEL="debian:Raid" TYPE="linux_raid_member"
/dev/sdf: UUID="ae7e9eb5-bee1-f7f9-411a-df9006ac2c50" UUID_SUB="826b168f-decb-878f-0381-fa27681ec0ad" LABEL="debian:Raid" TYPE="linux_raid_member"
/dev/sdi: UUID="ae7e9eb5-bee1-f7f9-411a-df9006ac2c50" UUID_SUB="2a6fb2e8-02cf-cfc5-bea4-07d7b238c24d" LABEL="debian:Raid" TYPE="linux_raid_member"
/dev/sda1: PARTLABEL="Microsoft reserved partition" PARTUUID="82c13a36-5a45-4555-894d-07a89c5f523c"
Display More
Code
root@NAS:~# fdisk -l | grep "Disk "
The backup GPT table is corrupt, but the primary appears OK, so that will be used.
The backup GPT table is not on the end of the device. This problem will be corrected by write.
Partition 1 does not start on physical sector boundary.
Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: WDC WD20PURZ-85A
Disk identifier: EF464C3E-12EB-4A7B-B590-9C3130943236
Disk /dev/sdc: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: WDC WD20PURZ-85G
Disk /dev/sdb: 93.2 GiB, 100030242816 bytes, 195371568 sectors
Disk model: Hitachi HTS72101
Disk identifier: 0xdd89cebb
Disk /dev/sdd: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10PURZ-85U
Disk /dev/sdg: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Disk model: WDC WD5000AAKX-0
Disk /dev/sdh: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10PURZ-85U
Disk /dev/sdf: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10EARS-00Z
Disk /dev/sdi: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10EZEX-00W
Display More
Code
root@NAS:~# cat /etc/mdadm/mdadm.conf
# This file is auto-generated by openmediavault (https://www.openmediavault.org)
# WARNING: Do not edit this file, your changes will get lost.
# 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=debian:Raid UUID=ae7e9eb5:bee1f7f9:411adf90:06ac2c50
Display More