Re: Problem with mdadm, raid1 and automatically adds any disk to raid

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



On Mon, Feb 25, 2019 at 06:50:11AM +0100, Simon Matter via CentOS (centos@xxxxxxxxxx) wrote:
> > Hi.
> >
> >   dd if=/dev/zero of=/dev/sdX bs=512 seek=$(($(blockdev --getsz
> > /dev/sdX)-1024)) count=1024
> 
> I didn't check but are you really sure you're cleaning up the end of the
> drive? Maybe you should clean the end of every partition first because
> metadata may be written there.

Mmmmhhh, not sure.
I run fdisk on it, basically re-creating everything from the start.

The "trying to re-create the MDX's" happens when I use "w" in fdisk.
As soon as I hit the "w" it starts re-creating the MDx!

Thats the annoying part.

[snip]
> > No matter what I do as soon as I hit the "w" in fdisk systemd tries to
> > assemble the array again without letting me to decide what to do.
> 
> <don't try this at home>

I am not ;-), it's @ work.


Jobst


-- 
You seem (in my (humble) opinion (which doesn.t mean much)) to be (or possibly could be) more of a Lisp programmer (but I could be (and probably am) wrong)

  | |0| |   Jobst Schmalenbach, General Manager
  | | |0|   Barrett & Sales Essentials
  |0|0|0|   +61 3 9533 0000, POBox 277, Caulfield South, 3162, Australia
_______________________________________________
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