linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mdadm 3.0.2 won't read mdadm.conf file
@ 2009-09-28  7:13 Aggelos Kyritsis
  2009-09-28  9:18 ` Kristleifur Daðason
  0 siblings, 1 reply; 9+ messages in thread
From: Aggelos Kyritsis @ 2009-09-28  7:13 UTC (permalink / raw)
  To: linux-raid

Dear sir/madam,

I am running ubuntu 9.04. Until recently I used the mdadm version that
exists in the ubuntu repositories, with perfect success. However,
since that version is fairly old (2.6, I think), I decided to install
the latest version 3.0.2.

On a freshly formatted system with no mdadm I downloaded
http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-3.0.2.tar.gz,
unzipped it and run the "sudo make" and "sudo make install" commands.
According to mdadm --version, I succesfuly installed version 3.0.2 of
the program. I was also successful on creating and mounting a fresh
raid 5 array.

However, the installation didn't create either the
/etc/mdadm/mdadm.conf or the /etc/mdadm.conf file, where I need to
specify the array details so that it is assembled during boot time.

I manually created the mdadm.conf file in both locations and added the
"DEVICE partitions" line and a line with the result from mdadm
--examine --scan

Even though this was enough on the old version of mdadm for auto
assemble during the boot sequence (so that /etc/fstab could mount
/dev/md0), on version 3.0.2 it made no diferrence at all, as if the
mdadm I compiled and installed manually wouldn't read the mdadm.config
file, neither on /etc/mdadm/mdadm.conf or on /etc/mdadm.conf

Is there anything I could do to address this problem? Any way to
permanently point the mdadm to its mdadm.conf file? is there an
mdadm.conf file created on some other location on the disk, where I
can add the array information?

Thanks in advance

Kind regards

Angelos Kyritsis.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-09-28 18:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-28  7:13 mdadm 3.0.2 won't read mdadm.conf file Aggelos Kyritsis
2009-09-28  9:18 ` Kristleifur Daðason
     [not found]   ` <1e36c70e0909280536s513fa655n9533efe220dceddf@mail.gmail.com>
     [not found]     ` <73e903670909280553t3de93c68t5673ba234ac72bef@mail.gmail.com>
     [not found]       ` <1e36c70e0909280652j42ee420mabaa4141363a976a@mail.gmail.com>
     [not found]         ` <73e903670909280704r1189e86aoc08cbc260e6d8ab8@mail.gmail.com>
2009-09-28 14:14           ` Aggelos Kyritsis
2009-09-28 14:48             ` Aggelos Kyritsis
2009-09-28 16:32               ` Majed B.
2009-09-28 16:50                 ` Aggelos Kyritsis
2009-09-28 17:30                   ` John Robinson
2009-09-28 17:47                   ` Majed B.
2009-09-28 18:13                     ` Aggelos Kyritsis

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).