All of lore.kernel.org
 help / color / mirror / Atom feed
From: d tbsky <tbskyd@gmail.com>
To: Mateusz <mateusz-lists@ant.gliwice.pl>
Cc: list Linux RAID <linux-raid@vger.kernel.org>
Subject: Re: add new disk with dd
Date: Thu, 29 Apr 2021 23:32:29 +0800	[thread overview]
Message-ID: <CAC6SzH+JM9EWiB9kQNPaSm8prX-hK3N7D7yzB3Po3nS43fZJ3A@mail.gmail.com> (raw)
In-Reply-To: <7903054.T7Z3S40VBb@matkor-hp>

Mateusz <mateusz-lists@ant.gliwice.pl>
> Should in most cases [1], but IMHO it's good idea to
> mdadm --zero-superblock /dev/YOU_ARE_SURE_IS_ONE_YOU_WANT_TO_ADD
> before adding disk already used somewhere else.

   "madam --zero-superblock" is great.  I will add it to my procedure.
   thanks a lot for the hint!

> BTW,  IMHO it's better to clone partition layout, and than install bootloaders
> instead of dding disk.

   yes. but sometimes dd is easy, especially for mbr layout.
anyway I think your suggestion "--zero-superblock" make things safe
with new and old disks.

   thanks again for your kindly help.

  reply	other threads:[~2021-04-29 15:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-29  8:52 add new disk with dd d tbsky
2021-04-29  9:05 ` Roman Mamedov
2021-04-29  9:21 ` Mateusz
2021-04-29 15:32   ` d tbsky [this message]
2021-04-29 15:34     ` Reindl Harald
2021-05-01 10:07     ` Wols Lists

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAC6SzH+JM9EWiB9kQNPaSm8prX-hK3N7D7yzB3Po3nS43fZJ3A@mail.gmail.com \
    --to=tbskyd@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=mateusz-lists@ant.gliwice.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.