Re: mdraid doesn't allow creation: device or resource busy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 06/29/2017 05:06 PM, adam_kalisz wrote:

Do you have any ideas? What logs/ information should I provide if you
want to have a look into this.


Run "vgs" to see if the drives brought up an old volume group. Run "pvs" to see if they were imported into the volume group you were already using. Check the content of /proc/mdstat to see if an old RAID array was started.

Use "vgchange -a n old_group" to stop an old volume group, and "wipefs -a /dev/md42" to delete the LVM2 data on the old volume group's array. Use "mdadm --stop md42" to stop the old array, and "wipefs -a /dev/sd[cdefgh]1" to delete the dm RAID data on all of those partitions. Use "wipefs -a /dev/sd[cdefgh]" to delete the partition table on those drives.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux