0

I would like to change the partition of my HD, an exception is thrown when I try to change or delete the whole disk volume. See the image of my HDD below:

  • My actual setup. I would like to delete /dev/sda1.

    enter image description here

  • The error:

    enter image description here

Can anyone help me, please?

ThunderBird
  • 1,955

1 Answers1

0

Just as Fabby said, you have to stop the array before making any changes. I did not have that in mind, thank you Fabby.

Here is the solution step by step:

# mdadm -S /dev/md0

# mdadm /dev/md0 -r /dev/sda

# dd if=/dev/zero of=/dev/sda bs=1M count=1024

after changes

# rm /etc/mdadm/mdadm.conf