linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Doug Ledford <dledford@redhat.com>
To: Mikael Abrahamsson <swmike@swm.pp.se>
Cc: Jon Nelson <jnelson-linux-raid@jamponi.net>, linux-raid@vger.kernel.org
Subject: Re: [ANNOUNCE] mdadm-3.1 has been withdrawn
Date: Mon, 09 Nov 2009 16:07:09 -0500	[thread overview]
Message-ID: <4AF8847D.8030303@redhat.com> (raw)
In-Reply-To: <alpine.DEB.1.10.0911091749320.22728@uplift.swm.pp.se>

[-- Attachment #1: Type: text/plain, Size: 1939 bytes --]

On 11/09/2009 11:51 AM, Mikael Abrahamsson wrote:
> On Mon, 9 Nov 2009, Jon Nelson wrote:
> 
>> I've been using 1.1 for everything.  What's the current wisdom
>> regarding 1.0 vs 1.1 or 1.2?
>> I used 1.1 because that's also where filesystem metadata usually goes
>> and therefore one might hope that the presence of the md metadata
>> would prevent accidental identification of a raid volume as containing
>> a filesystem.
> 
> I like 1.2 because if you happen to write an MBR or something to the
> drive, you don't lose the superblock.

Of course, I recently had a bug report that I ended closing out as
NOTABUG because of this very ability.  The person had arrays with 1.2
superblocks, and they went to add a new disk, and all the existing disks
had a specific partition layout, so he copied that to the new disk, then
tried to add the partition to the raid array.  It kept returning "device
too small for array".  Then, upon inspection, we come to see he has a
1.2 superblock on the *entire* drive, which left the partition table
intact, but the partition table is *pointless* because the array is on
the whole disk devices.  This sort of confusion is bad.  So, while I
could see making it 1.2 for partitions (so that boot sectors won't
overwrite the superblock), I wouldn't make it 1.2 for whole disk
devices, and in fact it might be wise to refuse to create 1.2
superblocks on whole disk devices.  Just a thought.

> With 1.2 I can also take the drive from a 3ware hw-raid (single drive in
> 3ware bios) and put in a non-3ware (because the 3ware stores the
> superblock at the end, so when you put it in a non-3ware the end has now
> changed).

1.1 should work just as well for this.

-- 
Doug Ledford <dledford@redhat.com>
              GPG KeyID: CFBFF194
	      http://people.redhat.com/dledford

Infiniband specific RPMs available at
	      http://people.redhat.com/dledford/Infiniband


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2009-11-09 21:07 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-06  6:45 [ANNOUNCE] mdadm-3.1 has been withdrawn Neil Brown
2009-11-09 14:39 ` Doug Ledford
2009-11-09 15:36   ` berk walker
2009-11-09 15:42     ` Jon Nelson
2009-11-09 16:51       ` Mikael Abrahamsson
2009-11-09 21:07         ` Doug Ledford [this message]
2009-11-09 21:27           ` Luca Berra
2009-11-09 21:43             ` Jon Nelson
2009-11-10  8:25           ` Mikael Abrahamsson
2009-11-10 14:22             ` Jon Nelson
2009-11-11  3:26               ` Michael Evans
2009-11-12 22:25           ` Bill Davidsen
2009-11-13  5:50             ` Mikael Abrahamsson
2009-11-13 13:04               ` Bill Davidsen
2009-11-09 20:22   ` Neil F Brown
2009-11-09 21:00     ` Doug Ledford
2009-11-13 23:54     ` Dan Williams
2009-11-14  3:32       ` Doug Ledford
     [not found] <nfbrown@novell.com>
2009-11-12 17:51 ` greg
2009-11-12 23:02   ` Rudy Zijlstra
2009-11-13  1:53     ` Michael Evans
2009-11-13  2:02   ` Neil Brown

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=4AF8847D.8030303@redhat.com \
    --to=dledford@redhat.com \
    --cc=jnelson-linux-raid@jamponi.net \
    --cc=linux-raid@vger.kernel.org \
    --cc=swmike@swm.pp.se \
    /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).