Hello,
I've just been trying to setup this omv NAS for about a week now. I gave up on raid 10 because this happened in the first place but then got paranoid about redundancy again so now I am trying again and need help.
The issue:
When setting up my raid for my 4x 2tb hard drives (well one is actually a 3) I wanted to go with Raid 10. Upon creating the raid it never seems to finish resyncing and upon creating a file system the first 2 drives will fail and the raid will become (clean, degraded). This only seems to happen on raid 10 because upon setting up linear for the last few days I've been able to write and read from the server with no problems. Upon creation of the raid 10 it displays (PENDING). Upon changing monitors to check the server terminal I see that 2 drives have supposedly failed, these devices being sda and sdc, and it will attempt to continue on two devices. Restarting the server gives the same error message and nothing I seem to do fixes this. So this is where I stand.
I'm new here so if you want any files or settings logs I will attempt to provide them.
EDIT:
cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [ra id10]
md0 : active raid1 dm-1[1] dm-0[0]
3906895872 blocks super 1.2 [2/2] [UU]
[>....................] resync = 2.5% (97925120/3906895872) finish=701.0 min speed=90553K/sec
bitmap: 30/30 pages [120KB], 65536KB chunk
unused devices: <none>
root@WymanStorage:~# blkid
/dev/mmcblk1p1: UUID="5bab0a55-56f1-4443-8cac-297e1181425c" TYPE="ext4" PARTUUID="01bb5fb4-01"
/dev/mmcblk1p2: UUID="d0da7bbe-e3af-4588-8715-aa5c4478eb88" UUID_SUB="8d229fcf-d05b-48da-8f0b-b3211c04308d" TYPE="btrfs" PARTUUID="01bb5fb4-02"
/dev/zram0: UUID="0451ae98-459a-4591-97c7-478ce5d88aab" TYPE="swap"
/dev/zram1: UUID="a8896e2a-15bf-4e3c-bef1-8c7470314f55" TYPE="swap"
/dev/zram2: UUID="dc9b24b9-237d-41b6-a91a-8ddc221c3faa" TYPE="swap"
/dev/zram3: UUID="35f0b903-f653-48a8-81b1-9e101182a0b0" TYPE="swap"
/dev/zram4: UUID="27ea442a-e1b8-4c0f-837d-28af81389ceb" TYPE="swap"
/dev/zram5: UUID="97be9180-b8fc-465c-984d-138eacb96da5" TYPE="swap"
/dev/zram6: UUID="ff0e0042-7140-4ea0-8881-42a82b7d28cc" TYPE="swap"
/dev/zram7: UUID="66e109ed-5f8e-4ff0-a868-e650699a7543" TYPE="swap"
/dev/sde: UUID="3KhV0T-z2eP-tdd0-q4UJ-enGb-ANCV-B1Qt7O" TYPE="LVM2_member"
/dev/sdf: UUID="H7GAdO-1tmO-DU42-nYYa-010n-T0tV-ufhFAL" TYPE="LVM2_member"
/dev/sdg: UUID="UZRsJT-mnfz-By9J-cYb3-v1Hd-R0Hq-y3C91H" TYPE="LVM2_member"
/dev/sdh: UUID="z7UXnh-dLoT-7RX1-Hiu7-3oes-NrHE-waVgJ5" TYPE="LVM2_member"
/dev/mapper/Strip2-Shrug2: UUID="f03104d1-8e61-e93f-8ee0-3854ef1a9d0b" UUID_SUB="990744ce-f6af-3eb0-0301-11ee9dfc893b" L ABEL="WymanStorage:ttttt" TYPE="linux_raid_member"
/dev/mapper/Strip1-shrug1: UUID="f03104d1-8e61-e93f-8ee0-3854ef1a9d0b" UUID_SUB="707db9c1-a523-bcb5-4c04-471f103bae75" L ABEL="WymanStorage:ttttt" TYPE="linux_raid_member"
/dev/mmcblk1: PTUUID="01bb5fb4" PTTYPE="dos"
/dev/mmcblk1p3: PARTUUID="01bb5fb4-03"
root@WymanStorage:~# fdisk -l | grep "disk "
root@WymanStorage:~# 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=WymanStorage:ttttt UUID=f03104d1:8e61e93f:8ee03854:ef1a9d0b
root@WymanStorage:~# cat /etc/mdadm/mdadm.conf5
cat: /etc/mdadm/mdadm.conf5: No such file or directory
root@WymanStorage:~# cat /etc/mdadm/mdadm.conf(5)
-bash: syntax error near unexpected token `('
root@WymanStorage:~# 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=WymanStorage:ttttt UUID=f03104d1:8e61e93f:8ee03854:ef1a9d0b
root@WymanStorage:~# mdadm --detail --scan --verbose
ARRAY /dev/md0 level=raid1 num-devices=2 metadata=1.2 name=WymanStorage:ttttt UUID=f03104d1:8e61e93f:8ee03854:ef1a9d0b
devices=/dev/dm-0,/dev/dm-1
Alles anzeigen