Hi OMV Support Team,
My Nas is currently running with OMV6 on a separate SSD and Data on a Raid5 with 4x 2Tb.
It is full at 82%, so I decided not to wait the last minute to upgrade and replace my disks to 4x 5Tb.
I removed the 1st 2Tb disk from the Nas and copied the partition on the 1st 5Tb with GParted on another computer.
On the 5Tb there was no formated partition.
I successfully cloned/copied the 2Tb partiton to the 5Tb disk: of course only 2Tb is used.....I want to resize it later.
I wanted to try my cloned disk by putting it into the 2Tb disk, I didn't knew that I had to 1st go the disk management menu and remove the 2Tb.
Which has for consequence to show my raid5 as clean/degraded.
Of course the new disk was detected in the Disk menu, but in the Raid menu/ recovery, I could not select it....because not erased/cleaned.
- Then I put back the original 2Tb at its location, but the Raid was still displayed as clean/degraded.
- I tried to recover it, but could not select it.
- So I deleted it under the Disk menu, now in the Raid/Recovery menu I can select it but when I click save to execute the recovery, it returns me the following error message:
mdadm: Cannot add disks to a 'member' array, perform this operation on the parent container
See also the attached image below.
It returns the same message when i try in CLI:
root@wd-omv:~# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
md126 : active raid5 sdc[2] sdd[1] sde[0]
5860536320 blocks super external:/md127/0 level 5, 64k chunk, algorithm 0 [4/3] [_UUU]
md127 : inactive sde[3](S) sdb[2](S) sdc[1](S) sdd[0](S)
9568 blocks super external:imsm
unused devices: <none>
root@wd-omv:~# fdisk -l | grep "Disk "
Disk /dev/sdc: 1,82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: WDC WD2000F9YZ-0
Disk /dev/sda: 111,79 GiB, 120034123776 bytes, 234441648 sectors
Disk model: KINGSTON SA400S3
Disk identifier: 66C03338-D551-4160-A0E7-225F99E7DD16
Disk /dev/sde: 1,82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: WDC WD2000F9YZ-0
Disk /dev/sdd: 1,82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: WDC WD20EARS-42S
Disk /dev/sdb: 1,82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: WDC WD2000F9YZ-0
Disk /dev/md126: 5,46 TiB, 6001189191680 bytes, 11721072640 sectors
Disk /dev/loop0: 49,84 MiB, 52260864 bytes, 102072 sectors
Disk /dev/loop2: 49,84 MiB, 52260864 bytes, 102072 sectors
Disk /dev/loop3: 55,61 MiB, 58310656 bytes, 113888 sectors
Disk /dev/loop1: 10,66 MiB, 11182080 bytes, 21840 sectors
Disk /dev/loop4: 55,61 MiB, 58314752 bytes, 113896 sectors
root@wd-omv:~# mdadm --detail --scan --verbose
ARRAY /dev/md/imsm0 level=container num-devices=4 metadata=imsm UUID=8ff3cce2:34c9c3d5:edb2ce61:d6ae4cc5
devices=/dev/sdb,/dev/sdc,/dev/sdd,/dev/sde
ARRAY /dev/md/Volume0 level=raid5 num-devices=4 container=/dev/md/imsm0 member=0 UUID=a0a6b7ac:570dc38b:4e516081:0ae75967
devices=/dev/sdc,/dev/sdd,/dev/sde
root@wd-omv:~# mdadm --add /dev/md126 /dev/sdb
mdadm: Cannot add disks to a 'member' array, perform this operation on the parent container
I'm not an expert, so that's why I need your support and would to know how to "perform this operation on the parent container"
Or any other way to fix it and recover one of those 2 disks into the Raid5 array.
Best Regards
Youness