Re: Minor mdadm fixes

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Doug Ledford
Date: Tuesday, March 23, 2010 - 12:20 pm

On 03/19/2010 03:01 AM, Luca Berra wrote:
ed
s,
s

Because on Fedora /lib/init/rw doesn't exist, and neither does any other
early rw area other than /dev, and it's too late to create a new one, so
I need to use someplace in /dev.  However, I agree with Neil that if you
are hiding things under . names then you are admitting something isn't
right.  So, I'm perfectly happy putting the map file in /dev/md as I
think it has a perfect right to exist there.


I don't know how many arrays you have on your system, but I would hardly
call /dev/md messy.


[ citation needed ]


There is no guarantee /dev/.mdadm exists on a clean install, where as I
have made sure that all possible places that might need /dev/md will
create it if it doesn't exist.  Hence, the direst of situations is
handled better with /dev/md than with /dev/.mdadm

ia

Because /dev/md/map is too easy a name to conflict with a legitimate md
array device name, and that's what it defaults to if you set ALT_RUN to
/dev/md.



Except I set it to md-device-map.  Aside from not conflicting with md
device names, the map file name is mostly irrelevant except to indicate
to people perusing the directory what the file is for as nothing uses it
besides mdadm and mdadm will gladly use it with whatever name you call
it as it both creates and uses the file from the same compile time
configuration setting.

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

Infiniband specific RPMs available at
	      http://people.redhat.com/dledford/Infiniband
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Minor mdadm fixes, Doug Ledford, (Thu Mar 18, 7:13 pm)
Re: Minor mdadm fixes, Luca Berra, (Fri Mar 19, 12:01 am)
Re: Minor mdadm fixes, Doug Ledford, (Tue Mar 23, 12:20 pm)
Re: Minor mdadm fixes, Luca Berra, (Tue Mar 23, 1:28 pm)
Re: Minor mdadm fixes, Neil Brown, (Tue Mar 23, 5:27 pm)
Re: Minor mdadm fixes, Doug Ledford, (Wed Mar 24, 10:48 am)