diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-03-29 14:01:34 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-03-29 14:01:34 +0000 |
commit | 43cd3d5ab4a29dc5c9d66b077843b49a2b4b5275 (patch) | |
tree | 8f532234ad722ca6868f991d642946e8815594b7 /perl-install/lvm.pm | |
parent | a6e830dd34f7284bcf73654931f2d2dcd8f876a2 (diff) | |
download | drakx-backup-do-not-use-43cd3d5ab4a29dc5c9d66b077843b49a2b4b5275.tar drakx-backup-do-not-use-43cd3d5ab4a29dc5c9d66b077843b49a2b4b5275.tar.gz drakx-backup-do-not-use-43cd3d5ab4a29dc5c9d66b077843b49a2b4b5275.tar.bz2 drakx-backup-do-not-use-43cd3d5ab4a29dc5c9d66b077843b49a2b4b5275.tar.xz drakx-backup-do-not-use-43cd3d5ab4a29dc5c9d66b077843b49a2b4b5275.zip |
ensure we have a {lv_name} (esp. for auto_installs)
Diffstat (limited to 'perl-install/lvm.pm')
-rw-r--r-- | perl-install/lvm.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/lvm.pm b/perl-install/lvm.pm index 4499b9a1f..6f9ac2a20 100644 --- a/perl-install/lvm.pm +++ b/perl-install/lvm.pm @@ -136,6 +136,7 @@ sub suggest_lv_name { sub lv_create { my ($lvm, $lv) = @_; + suggest_lv_name($lvm, $lv); $lv->{device} = "$lvm->{VG_name}/$lv->{lv_name}"; lvm_cmd_or_die('lvcreate', '--size', int($lv->{size} / 2) . 'k', '-n', $lv->{lv_name}, $lvm->{VG_name}); $lv->{size} = get_lv_size($lv->{device}); #- the created size is smaller than asked size |