From 55c8152860e4d8a45822cda7242f1eaf07c790ef Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 27 Jan 2005 11:09:49 +0000 Subject: switch back to auto=yes : > > the only problem with auto=yes is that it ignores the minor number > > specified and always uses the first avaliable minor number, so you might > > find /dev/md2 with minor 0, /proc/mdstat will call it based on minor > > number. This is going to get really confusing for users. > > I was planning to fix this in upstream source, but i have not been able > > to find time to do it yet. > > ok, i fixed that in mdadm-1.8.0-2mdk > there is a new option (auto=dev) that will create the device file with > the correct minor number based on the device name. > so please put auto=dev instead of auto=yes in the /etc/mdadm.conf > please hold the auto=dev change, the mdadm author feel this should be the default behaviour for auto=yes, so i will upload a new mdadm-1.9.0-0pre1.1mdk with fully working auto as soon as i return to italy (this weekend i believe) --- perl-install/raid.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/raid.pm b/perl-install/raid.pm index ba3ecf011..3de848ee8 100644 --- a/perl-install/raid.pm +++ b/perl-install/raid.pm @@ -227,7 +227,7 @@ sub prepare_prefixed { output("$::prefix/etc/mdadm.conf", join(' ', 'DEVICE', @devices) . "\n", - map { "ARRAY " . devices::make($_->{device}) . " UUID=$_->{UUID} auto=dev\n" } @$raids); + map { "ARRAY " . devices::make($_->{device}) . " UUID=$_->{UUID} auto=yes\n" } @$raids); } sub get_md_info { -- cgit v1.2.1