Changeset 3312


Ignore:
Timestamp:
Aug 28, 2014, 5:20:35 AM (5 years ago)
Author:
bruno
Message:
  • Fix #753 by forcing LV creation which on RHEL7 now asks a question in case something was already there before.
Location:
branches/3.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/MondoRescue/lib/MondoRescue/LVM.pm

    r3219 r3312  
    467467        my ($tag,$lvname,$vgname,$lvaccess,$lvstat,$lvnum,$oclv,$lvsize,$leinlv,$lealloc,$allocpol,$readahead,$major,$minor) = split(/:/);
    468468        print $OUTPUT "# Create Logical Volume $lvname\n";
    469         print $OUTPUT $lvmcmd."lvcreate -n $lvname -L ".$lvsize*$mrmult;
     469        print $OUTPUT $lvmcmd."echo y | lvcreate -n $lvname -L ".$lvsize*$mrmult;
    470470        print $OUTPUT " -r $readahead" if (defined $readahead);
    471471        print $OUTPUT " $vgname\n";
  • branches/3.2/mindi/analyze-my-lvm

    r3275 r3312  
    7575    fi
    7676
    77     echo "# $LVMCMD lvcreate$params -n $logical_volume $volume_group"
     77    echo "# echo y | $LVMCMD lvcreate$params -n $logical_volume $volume_group"
    7878}
    7979
Note: See TracChangeset for help on using the changeset viewer.