search for: drive_disk_size

Displaying 2 results from an estimated 2 matches for "drive_disk_size".

2009 Nov 04
1
[PATCH node] add ability to select separate disks for Root and HostVG in o-c-storage
...$ROOT_SIZE * 2 + $HOSTVG_NEED_SIZE"| bc -l) else - printf "Required Space : $need_size MB\n\n" + drive_list="ROOT HOSTVG" fi + for drive in $drive_list; do + drive_need_size=$(eval "echo \${$(echo ${drive}_NEED_SIZE)"}) + drive_disk_size=$(eval "echo \${$(echo ${drive}DRIVESPACE)"}) + + if [ $drive_need_size -gt $drive_disk_size ]; then + local gap_size=$(echo "scale=0; $drive_need_size-$drive_disk_size;" | bc -l) + printf "\n" + printf "====================...
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
..._space_dict["ROOT_NEED_SIZE"] = ROOT_NEED_SIZE + else: + drive_list.append("ROOT") + drive_list.append("HOSTVG") + + for drive in drive_list: + drive_need_size = drive_space_dict["drive" + "NEED_SIZE"] + drive_disk_size= drive_space_dict["drive" + "DRIVESPACE"] + + if drive_need_size > drive_disk_size: + gap_size = drive_need_size - drive_disk_size + log("\n") + log("=============================================================\n...