Linux RAID subsystem development
 help / color / mirror / Atom feed
From: "Brian C. Lane" <bcl-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Phil Susi <psusi-GeWIH/nMZzLQT0dZR+AlfA@public.gmane.org>
Cc: linux-raid-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	parted-devel-XbBxUvOt3X2LieD7tvxI8l/i77bcL1HB@public.gmane.org
Subject: Re: [PATCH 1/2] Add nonfs partition type 0xda (#1263835)
Date: Fri, 9 Oct 2015 09:21:11 -0700	[thread overview]
Message-ID: <20151009162111.GR2984@lister.brianlane.com> (raw)
In-Reply-To: <5617D701.1010109-GeWIH/nMZzLQT0dZR+AlfA@public.gmane.org>

On Fri, Oct 09, 2015 at 11:02:25AM -0400, Phil Susi wrote:
> On 10/8/2015 5:49 PM, Brian C. Lane wrote:
> > https://bugzilla.redhat.com/show_bug.cgi?id=1118065 has a pile of
> > discussion on it.
> > 
> > What it amounts to is that on msdos partitioned disks mdadm only wants
> > 0xfd to be used for version 0.90 arrays which the kernel can
> > autoassemble, for 1.x arrays some other type needs to be used.
> 
> So use 0x80?  That's what I always have done and it has never been a
> problem.  Likewise, 0xfd won't cause a problem either: it will trigger
> kernel auto activation *if* you boot with no initramfs, *and* the
> partition does contain 0.90 metadata.  If it has 1.x, then it won't
> trigger auto activation, but has no other negative consequence.
> 
> I see from the discussion in that bug report that the mdadm man page
> recommends this type code.  Is there any reason for that recommendation?
>  Are there any consequences to not following it?  Cc'ing mdadm list to
> see if they can answer this.
> 

I think their thinking is that 0x80 implies a filesystem.

I really don't see any harm in adding it, if you don't want to use it,
don't.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)

  parent reply	other threads:[~2015-10-09 16:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1443654419-3714-1-git-send-email-bcl@redhat.com>
     [not found] ` <560EB887.6060302@ubuntu.com>
     [not found]   ` <20151008214916.GK2984@lister.brianlane.com>
2015-10-09 15:02     ` [parted-devel] [PATCH 1/2] Add nonfs partition type 0xda (#1263835) Phil Susi
     [not found]       ` <5617D701.1010109-GeWIH/nMZzLQT0dZR+AlfA@public.gmane.org>
2015-10-09 16:21         ` Brian C. Lane [this message]
2015-10-09 17:23           ` Phil Susi
2015-10-09 18:35             ` Brian C. Lane

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=20151009162111.GR2984@lister.brianlane.com \
    --to=bcl-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=linux-raid-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=parted-devel-XbBxUvOt3X2LieD7tvxI8l/i77bcL1HB@public.gmane.org \
    --cc=psusi-GeWIH/nMZzLQT0dZR+AlfA@public.gmane.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