mdadm 3.0.2 won't read mdadm.conf file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux