diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-01-27 11:09:49 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-01-27 11:09:49 +0000 |
commit | 55c8152860e4d8a45822cda7242f1eaf07c790ef (patch) | |
tree | 63f0db34d88752b64db55601964a939c4136fedc /perl-install/raid.pm | |
parent | 4b0ec96b42b2d222dbdd886edb4dd65829c60502 (diff) | |
download | drakx-backup-do-not-use-55c8152860e4d8a45822cda7242f1eaf07c790ef.tar drakx-backup-do-not-use-55c8152860e4d8a45822cda7242f1eaf07c790ef.tar.gz drakx-backup-do-not-use-55c8152860e4d8a45822cda7242f1eaf07c790ef.tar.bz2 drakx-backup-do-not-use-55c8152860e4d8a45822cda7242f1eaf07c790ef.tar.xz drakx-backup-do-not-use-55c8152860e4d8a45822cda7242f1eaf07c790ef.zip |
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)
Diffstat (limited to 'perl-install/raid.pm')
-rw-r--r-- | perl-install/raid.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |