Hot answers tagged

2

I was not able to wait for a solution, anything I found online didn't work while the array was active. So I stopped the array mdadm --stop /dev/md0 and then started it again mdadm --assemble /dev/md0 /dev/sd{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x} This effectively stopped the resync and started rebuild.


1

You need to update your GRUB and boot kernel installation. update-initramfs -u This command updates your boot kernel configuration to match the current state of your system. mdadm --detail --scan > /tmp/mdadm.conf Copy /tmp/mdadm.conf contents to /etc/mdadm/mdadm.conf replacing any previous entries. This way the MD device configuration information ...


1

I have moved my raid1 to raid10 now and while this page helped me but there are some things missing in the answers above. Especially my aim was to keep ext4 birthtimes. the setup was: 2 raid1 disks of each type msdos and md0 with ext4 partition and mbr with msdos 2 fresh new disks becoming the new primaries (all same size) resulting in an 4 disks ...



Only top voted, non community-wiki answers of a minimum length are eligible