All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: Doug Ledford <dledford@redhat.com>
Cc: Neil Brown <neilb@suse.de>,
	Jon Nelson <jnelson-linux-raid@jamponi.net>,
	LinuxRaid <linux-raid@vger.kernel.org>
Subject: Re: [Patch] mdadm ignoring homehost?
Date: Sat, 18 Apr 2009 09:58:53 -0400	[thread overview]
Message-ID: <49E9DC9D.5050708@tmr.com> (raw)
In-Reply-To: <D6CEC060-43DC-40A5-A7EE-F2653DBA9C4C@redhat.com>

Doug Ledford wrote:
> On Apr 16, 2009, at 11:49 PM, Neil Brown wrote:
>> On Monday April 6, dledford@redhat.com wrote:
>>> On Apr 1, 2009, at 6:46 PM, Neil Brown wrote:
>>>
>>>> On Wednesday April 1, jnelson-linux-raid@jamponi.net wrote:
>>>>> ping?
>>>>
>>>> Oh yeah, that's right, I was going to reply to that - thanks for the
>>>> reminder.
>>>>
>>>>>
>>>>> On Tue, Mar 24, 2009 at 11:57 AM, Jon Nelson
>>>>> <jnelson-linux-raid@jamponi.net> wrote:
>>>>>>
>>>>>> I have a raid1 comprised of a local physical device (/dev/sda) and a
>>>>>> network block device (/dev/nbd0).
>>>>>> When the machine hosting the network block device comes up, however,
>>>>>> it creates /dev/md127.
>>>>>> Why?
>>>>
>>>> Because you cannot please all the people, all the time.
>>>
>>> Very true.
>>
>> And I fear I'm going to be displeasing again :-(
>>
>>>
>>>>
>>>> People seem to want their arrays to auto-assemble - you know, just
>>>> appear and do the right thing, read their mind probably, because
>>>> creating config files is too hard.
>>>> So I've endeavoured to make that happen.
>>>>
>>>> The biggest problem with auto-assembly is what to do if two arrays
>>>> claim to have the same name. (e.g. /dev/md0) - which one wins.
>>>> The 'homehost' is (currently) used to resolve that.  An array only
>>>> gets to use the name it claims to have if it can show that it belongs
>>>> to "this" host.  If it doesn't it still get assembled, but with some
>>>> other more generic name.
>>>
>>> FWIW, I happen to disagree with this method.  And I'm currently
>>> testing out a new algorithm for this in Fedora 11 beta.
>>
>> Thank you for explaining this in such detail.
>> There are aspects of it that I don't like, but I think there might be
>> pieces that I can take away from it too.
>>
>> As you probably know, my preferred solution is to have all arrays
>> listed in /etc/mdadm.conf.  If it isn't in mdadm.conf, it doesn't get
>> assembled.   But I don't have a lot of company in this opinion.  Lots
>> of people want to have arrays assembled without them being in
>> mdadm.conf, and I'm trying to work with that.
>
> This appears to be the difference between a server setup and a desktop 
> setup.  Server admins want to list things and only have known actions 
> happen.  Desktop people want things to "just work".  I've had several 
> people tell me they thought the idea of mdadm.conf was completely out 
> of date and it should just go away entirely.  Not saying I agree, just 
> letting you know what I get.
>
>> Parts of what you are proposing seem to involve expecting people to
>> take a middle ground with some arrays listed in mdadm.conf and other
>> that aren't.
>
> I do this myself FWIW.  My / and /boot arrays are in mdadm.conf, but 
> arrays that I plug in via USB, eSATA, etc. are not.

Similar here, I have arrays which should not be assembled without 
explicit request, for various reasons, including some which have 
passwords on the filesystem, and some which are mutually exclusive (test 
and production, 32/64 bit setups, etc).

-- 
bill davidsen <davidsen@tmr.com>
  CTO TMR Associates, Inc

"You are disgraced professional losers. And by the way, give us our money back."
    - Representative Earl Pomeroy,  Democrat of North Dakota
on the A.I.G. executives who were paid bonuses  after a federal bailout.



  parent reply	other threads:[~2009-04-18 13:58 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-24 16:57 mdadm ignoring homehost? Jon Nelson
2009-04-01 15:15 ` Jon Nelson
2009-04-01 22:46   ` Neil Brown
2009-04-06 14:47     ` [Patch] " Doug Ledford
2009-04-06 19:33       ` Luca Berra
2009-04-17  3:49       ` Neil Brown
2009-04-17  7:08         ` Gabor Gombas
2009-04-20  5:23           ` Neil Brown
2009-04-21  6:34             ` Gabor Gombas
2009-04-21  7:06               ` Luca Berra
2009-04-17 18:17         ` Doug Ledford
2009-04-17 18:40           ` Piergiorgio Sartor
2009-04-18  7:54             ` Luca Berra
2009-04-18  8:36               ` Piergiorgio Sartor
2009-04-18 10:19                 ` Luca Berra
2009-04-18 13:06                   ` Piergiorgio Sartor
2009-04-20  5:58                     ` Neil Brown
2009-04-20 12:29                       ` Doug Ledford
2009-04-20 18:17                       ` Piergiorgio Sartor
2009-04-20 19:49                         ` Leslie Rhorer
2009-04-20 20:04                           ` Piergiorgio Sartor
2009-04-20 21:18                           ` Luca Berra
2009-04-20 21:13                         ` Luca Berra
2009-04-20 21:24                           ` Piergiorgio Sartor
2009-04-20 23:47                             ` Doug Ledford
2009-04-21  0:00                               ` Doug Ledford
2009-04-21  8:57                                 ` Michal Soltys
2009-04-21  6:29                               ` Luca Berra
2009-04-21 18:15                           ` Piergiorgio Sartor
2009-04-22 16:06                             ` Andrew Burgess
2009-04-23  1:20                               ` Doug Ledford
2009-04-23  5:51                                 ` Luca Berra
2009-04-23  6:09                                   ` Luca Berra
2009-04-23 11:05                                   ` Doug Ledford
2009-04-23 21:31                                     ` Luca Berra
2009-04-24 16:46                                       ` Doug Ledford
2009-04-24 19:15                                 ` Piergiorgio Sartor
2009-04-26 11:52                                   ` Doug Ledford
2009-04-26 12:14                                     ` Piergiorgio Sartor
2009-04-26 12:58                                       ` Piergiorgio Sartor
2009-04-26 18:06                                         ` Doug Ledford
2009-04-26 19:08                                           ` Piergiorgio Sartor
2009-04-26 21:37                                       ` Michal Soltys
2009-04-18 14:34             ` Andrew Burgess
2009-04-18  8:12           ` Luca Berra
2009-04-18  8:44             ` Piergiorgio Sartor
2009-04-18 13:35             ` Doug Ledford
2009-04-18 13:52               ` Piergiorgio Sartor
2009-04-18 14:50                 ` Doug Ledford
2009-04-18 14:48               ` Jon Nelson
2009-04-20  6:08               ` Neil Brown
2009-04-20 12:26                 ` Luca Berra
2009-04-20 12:36                 ` Doug Ledford
2009-04-18 13:58           ` Bill Davidsen [this message]
2009-04-20  7:23           ` Neil Brown
2009-04-20 13:15             ` Doug Ledford
2009-04-21  6:54               ` Neil Brown
2009-05-11  6:47               ` Neil Brown
2009-04-01 22:47 ` Michal Soltys

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=49E9DC9D.5050708@tmr.com \
    --to=davidsen@tmr.com \
    --cc=dledford@redhat.com \
    --cc=jnelson-linux-raid@jamponi.net \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    /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.