summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-30 16:27:53 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-30 16:27:53 +0000
commit926cc846a8b7263bfb85e8a830b3ce9e88a775fc (patch)
treee3bc626e88431942928f786c6f2c15e6342456ec
parentd43047f679ab6a72106d50f2f0ca58530ca31845 (diff)
downloaddrakx-926cc846a8b7263bfb85e8a830b3ce9e88a775fc.tar
drakx-926cc846a8b7263bfb85e8a830b3ce9e88a775fc.tar.gz
drakx-926cc846a8b7263bfb85e8a830b3ce9e88a775fc.tar.bz2
drakx-926cc846a8b7263bfb85e8a830b3ce9e88a775fc.tar.xz
drakx-926cc846a8b7263bfb85e8a830b3ce9e88a775fc.zip
(Add2LVM): for LVM on RAID, ensure the RAID is created & enabled
-rw-r--r--perl-install/diskdrake/interactive.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index 2410e0df4..2c9b70ca0 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -751,6 +751,7 @@ sub Add2LVM {
$lvm = bless { disks => [], LVMname => $name }, 'lvm';
push @$lvms, $lvm;
}
+ raid::make($all_hds->{raids}, $part) if isRAID($part);
$part->{lvm} = $lvm->{LVMname};
push @{$lvm->{disks}}, $part;
delete $part->{mntpoint};