On 07/19/2019 03:06 AM, stakanov wrote:
I tried the proposed solution. The RAID1 should be EXT4. So: mdadm --create --verbose /dev/md0 --level=mirror --raid-devices=2 /dev/sdb1 missing mkfs -text4 /dev/md0
Those are TWO different commands: (1) create the single drive array: mdadm --create --verbose /dev/md0 --level=mirror --raid-devices=2 /dev/sdb1 missing (2) create the filesystem on the array: mkfs -t ext4 /dev/md0 No wonder mdadm said there is no -t option. So if you are creating the array, do what you are doing, create the first array with a 'missing' disk. Copy all data to that array (make sure it will assemble, etc..). Then pull the current drive and boot from the array. When that is working fine, partition the current drive exactly like the disk in the array and create the filesystems. Then connect the freshly formatted drive and use mdadm --re-add to add the drive in place of the 'missing' drive. mdadm will automatically start syncing the drives. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org