I am trying to free up a partition on my work desktop. One of the partitions on the extra disk is part of an old RAID-1 configuration, and I am trying to delete the raid drive from the system and re-format that partition. However, whenever I try to use fdisk, it re-activates the RAID even though I have already removed it. Here is my partition table: # fdisk -l /dev/sdb Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: dos Disk identifier: 0x12c2c333 Device Boot Start End Sectors Size Id Type /dev/sdb1 2048 206847 204800 100M 7 HPFS/NTFS/exFAT /dev/sdb2 206848 324458495 324251648 154.6G 7 HPFS/NTFS/exFAT /dev/sdb3 324458496 358275071 33816576 16.1G 82 Linux swap / Solaris /dev/sdb4 * 358275072 1953523711 1595248640 760.7G 5 Extended /dev/sdb5 358277120 419717119 61440000 29.3G 83 Linux /dev/sdb6 419719168 481159167 61440000 29.3G 83 Linux /dev/sdb7 481161216 1953523711 1472362496 702.1G 83 Linux The device in question is /dev/sdb5. Note how if I look at the mdstat file, it shows it is active. So I try to fail the drive, but it won't let me. Then I stop the raid drive and remove it, and it shows it is no longer there. Seems like it should work. facofficeeng02:/home/george # cat /proc/mdstat Personalities : [raid1] md0 : active raid1 sdb5[0] 30703616 blocks super 1.2 [2/1] [U_] md1 : active raid1 sdb7[0] 736050176 blocks super 1.2 [2/1] [U_] bitmap: 6/6 pages [24KB], 65536KB chunk unused devices: <none> facofficeeng02:/home/george # cat /etc/mdadm.conf ARRAY /dev/md/facofficeeng02:1 UUID=a8872a97:eecd6828:f759773c:cb18678e facofficeeng02:/home/george # cat /proc/mdstat Personalities : [raid1] md0 : active raid1 sdb5[0] 30703616 blocks super 1.2 [2/1] [U_] md1 : active raid1 sdb7[0] 736050176 blocks super 1.2 [2/1] [U_] bitmap: 6/6 pages [24KB], 65536KB chunk unused devices: <none> facofficeeng02:/home/george # mdadm --fail /dev/md0 /dev/sdb5 mdadm: set device faulty failed for /dev/sdb5: Device or resource busy facofficeeng02:/home/george # mdadm --stop /dev/md0 mdadm: stopped /dev/md0 facofficeeng02:/home/george # mdadm --remove /dev/md0 facofficeeng02:/home/george # cat /proc/mdstat Personalities : [raid1] md1 : active raid1 sdb7[0] 736050176 blocks super 1.2 [2/1] [U_] bitmap: 6/6 pages [24KB], 65536KB chunk unused devices: <none> However, then when I run fdisk again, just to try and mess with it, the array re-activates itself: acofficeeng02:/home/george # fdisk /dev/sdb Welcome to fdisk (util-linux 2.28). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): q facofficeeng02:/home/george # cat /proc/mdstat Personalities : [raid1] md0 : active raid1 sdb5[0] 30703616 blocks super 1.2 [2/1] [U_] md1 : active raid1 sdb7[0] 736050176 blocks super 1.2 [2/1] [U_] bitmap: 6/6 pages [24KB], 65536KB chunk unused devices: <none> I wanted to use fdisk to try and do something to that partition, but the array is reactivated as soon as I run fdisk. I tried gdisk for experiment (I can't use gdisk because the drive is mbr, not gpt), and it does the same thing. The drive re-activates itself. How do I completely get rid of my system seeing the raid in this partition and reactivating itself? I removed all the information from the /etc/mdadm.conf file for that drive, so it is not getting information from there. I am on a 42.2 system. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org