Eu tinha um servidor com o Raid 5, e queria limpar tudo e fazer o Raid 10. Eu apaguei o ataque 5 o melhor que pude, zerando superblocos, removendo-o do fstab, etc. E eu criei o ataque 10. Agora , Não consigo montá-lo:
$ sudo mdadm --assemble --scan --verbose /dev/md127
mdadm: looking for devices for /dev/md127
mdadm: /dev/dm-0 is not one of /dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1,/dev/sde1,/dev/sdf1
mdadm: /dev/md/Pangolin:0 is not one of /dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1,/dev/sde1,/dev/sdf1
mdadm: /dev/sdh1 is not one of /dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1,/dev/sde1,/dev/sdf1
mdadm: /dev/sdh is not one of /dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1,/dev/sde1,/dev/sdf1
mdadm: /dev/sdg1 is not one of /dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1,/dev/sde1,/dev/sdf1
mdadm: /dev/sdg is not one of /dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1,/dev/sde1,/dev/sdf1
mdadm: /dev/sdf1 is busy - skipping
mdadm: /dev/sdf is not one of /dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1,/dev/sde1,/dev/sdf1
mdadm: /dev/sde1 is busy - skipping
mdadm: /dev/sde is not one of /dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1,/dev/sde1,/dev/sdf1
mdadm: /dev/sdd1 is busy - skipping
mdadm: /dev/sdd is not one of /dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1,/dev/sde1,/dev/sdf1
mdadm: /dev/sdc1 is busy - skipping
mdadm: /dev/sdc is not one of /dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1,/dev/sde1,/dev/sdf1
mdadm: /dev/sdb1 is busy - skipping
mdadm: /dev/sdb is not one of /dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1,/dev/sde1,/dev/sdf1
mdadm: /dev/sda5 is not one of /dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1,/dev/sde1,/dev/sdf1
mdadm: /dev/sda2 is not one of /dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1,/dev/sde1,/dev/sdf1
mdadm: no RAID superblock on /dev/sda1
mdadm: /dev/sda is not one of /dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1,/dev/sde1,/dev/sdf1
mdadm: /dev/sr0 is not one of /dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1,/dev/sde1,/dev/sdf1
Estou um pouco confuso quanto à saída. Aqui está o /proc/mdstat
, que mostra que é apenas /dev/sda1-f1
:
$ sudo cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md127 : active raid10 sdf1[4] sde1[3] sdd1[2] sdc1[1] sdb1[0] sdg1[5]
2929890816 blocks super 1.2 256K chunks 2 far-copies [6/6] [UUUUUU]
md0 : inactive sdh[4](S)
976631512 blocks super 1.2
Não sei exatamente por que minhas unidades aparecem como ocupadas. Tentei montar / desmontar ambas as unidades e o RAID /dev/md127
, mas eles ainda estavam voltando como ocupados. Então, tentei ver se conseguia encontrar um processo, mas
$ sudo lsof | grep /dev/
não retornou nada que possa apontar para a causa.