I would really appreciate some help with my RAID problem, please. I know a little Linux but have met the limit of my knowledge and Googling skills.
My NAS box (64bit) had a motherboard failure. The replacement computer only supports 32 bit, so I did a fresh install using the instructions from the thread:
"Installing OMV5 on Raspberry PI's, Armbian SBC's, & i386 32-bit platforms"
Components:
1 x IDE 80GB system drive
2 x SATA 8TB drives in RAID 1 mirror
After installation, I experienced some issues with the mobo intermittently not seeing one of the SATA drives, a replacement SATA lead resolved this.
Other times it failed to see all of the drives, a replacement RAM module resolved this.
I was able to see the original RAID array / file system and recreated the shared folders, including all the data.
At some point I saw a message (can't remember where) that the array was only running on one drive .
The other drive was still showing as a drive but not in the array and it wasn't available in the Recover options, so I used:
Storage > Disks > /dev/xxx > Wipe
RAID Management > recover,
and it let me add the /dev/xxx to the /dev/mdxxx RAID array.
It showed 'clean, degraded, recovering (x%.....)' but was stuck on 0.1% for ages.
Now shows "clean, degraded", with no % or time remaining and the Array Details shows 'Spare Devices = 1'
State : clean, degraded
Active Devices : 1
Working Devices : 2
Failed Devices : 0
Spare Devices : 1
Thanks in advance.
P.S: I am also seeing multiple errors on the console screen and in the system log, a typical block is:
Feb 22 13:24:09 NAS1 kernel: [ 6875.356499] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
Feb 22 13:24:09 NAS1 kernel: [ 6875.357161] ata3.00: BMDMA stat 0x26
Feb 22 13:24:09 NAS1 kernel: [ 6875.357799] ata3.00: failed command: READ DMA EXT
Feb 22 13:24:09 NAS1 kernel: [ 6875.358440] ata3.00: cmd 25/00:00:72:c8:81/00:02:72:00:00/e0 tag 0 dma 262144 in
Feb 22 13:24:09 NAS1 kernel: [ 6875.358440] res 51/84:e0:92:c8:81/84:01:72:00:00/e0 Emask 0x30 (host bus error)
Feb 22 13:24:09 NAS1 kernel: [ 6875.359735] ata3.00: status: { DRDY ERR }
Feb 22 13:24:09 NAS1 kernel: [ 6875.360379] ata3.00: error: { ICRC ABRT }
Feb 22 13:24:09 NAS1 kernel: [ 6875.361068] ata3: soft resetting link
Feb 22 13:24:09 NAS1 kernel: [ 6875.635123] ata3.00: configured for UDMA/33
Feb 22 13:24:09 NAS1 kernel: [ 6875.635144] ata3: EH complete
Output of the required commands:
cat /proc/mdstat
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md127 : active (auto-read-only) raid1 sdc[2] sdb[0]
7813894464 blocks super 1.2 [2/1] [U_]
bitmap: 2/59 pages [8KB], 65536KB chunk
unused devices: <none>
blkid
/dev/sda1: UUID="678b8982-463f-4ae6-b484-195bbe76617b" TYPE="ext4" PARTUUID="132f9f46-01"
/dev/sda5: UUID="86420abd-1fd7-425d-bc81-977c0b20cadf" TYPE="swap" PARTUUID="132f9f46-05"
/dev/sdb: UUID="41e45e20-f7b2-cbf7-0498-1a0dcf71ce99" UUID_SUB="3cdfc28d-aca8-06e1-b0bd-19a7e97a679c" LABEL="NAS1:OMVStore" TYPE="linux_raid_member"
/dev/md127: LABEL="NTFS" UUID="3416FC8116FC4580" TYPE="ntfs" PTTYPE="atari"
/dev/sdc: UUID="41e45e20-f7b2-cbf7-0498-1a0dcf71ce99" UUID_SUB="0cdd921d-2079-318f-b77b-250907fd5bab" LABEL="NAS1:OMVStore" TYPE="linux_raid_member"
fdisk -l | grep "Disk "
Partition 1 does not start on physical sector boundary.Disk /dev/sda: 74.5 GiB, 80026361856 bytes, 156301488 sectors
Disk model: WDC WD800BB-00FJ
Disk identifier: 0x132f9f46
Disk /dev/sdb: 7.3 TiB, 8001563222016 bytes, 15628053168 sectors
Disk model: ST8000DM004-2CX1
Disk /dev/sdc: 7.3 TiB, 8001563222016 bytes, 15628053168 sectors
Disk model: ST8000DM004-2CX1
Disk /dev/md127: 7.3 TiB, 8001427931136 bytes, 15627788928 sectors
Disk identifier: 0x6e697373
Partition 2 does not start on physical sector boundary.
Partition 3 does not start on physical sector boundary.
Partition 4 does not start on physical sector boundary.
Alles anzeigen
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/md/OMVStore metadata=1.2 spares=0 name=NAS1:OMVStore UUID=41e45e20:f7b2cbf7:04981a0d:cf71ce99
Alles anzeigen