From: Neil Brown <neilb@suse.de>
To: David Greaves <david@dgreaves.com>
Cc: Janek Kozicki <janek_listy@wp.pl>, linux-raid@vger.kernel.org
Subject: Re: deleting mdadm array?
Date: Thu, 25 Oct 2007 20:12:02 +1000 [thread overview]
Message-ID: <18208.27634.262419.581091@notabene.brown> (raw)
In-Reply-To: message from David Greaves on Thursday October 25
On Thursday October 25, david@dgreaves.com wrote:
> I think the only time you need to 'delete' an array before creating a new one is
> if you change the superblock version since it quietly writes different
> superblocks to different disk locations you may end up with 2 superblocks on the
> disk and then you get confusion :)
> (I'm not sure if mdadm is clever about this though...)
>
Mdadm tries to be clever.
When creating an array, it zeros any superblocks that it finds on the
array in any of the expected locations.
And when guessing the metadata format used, if it find two or more, it
chooses the one with the more recent create timestamp.
NeilBrown
next prev parent reply other threads:[~2007-10-25 10:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-25 8:06 deleting mdadm array? Janek Kozicki
2007-10-25 8:17 ` Neil Brown
2007-10-25 9:55 ` David Greaves
2007-10-25 10:12 ` Neil Brown [this message]
2007-10-25 13:36 ` Janek Kozicki
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=18208.27634.262419.581091@notabene.brown \
--to=neilb@suse.de \
--cc=david@dgreaves.com \
--cc=janek_listy@wp.pl \
--cc=linux-raid@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).