Note for Reviewers

The main implementation is already in breezy. This spec is to recollect the bits that needs to be polished/tested in Dapper. For all the rationale and cosmetic bits please see InstallerVolumeManagement (that are not up for discussion since already approved at UDU).

Rationale

partman-auto-lvm could not be enabled on breezy powerpc because parted upstream did not support lvm.

Implementation Plan

# expand_scheme can't cope with decimal and lvm overhead.
# lvm overhead gets calculated properly only using kbytes.
# Switch to that. The worst scenario is that the last partition will be one PE smaller,
# but in the big numbers it's nothing (4MB).
free_size=$(vgs -o vg_free --units k --noheading --nosuffix $VG_name | sed -e 's/\..*//g')

newscheme=''
foreach_partition '
        newmin="${1}000"
        newmed="${2}000"
        if [ "$3" != "1000000000" ]; then
           newmax="${3}000"
        else
           newmax="$3"
        fi

in perform_recipe_by_lvm file)

Packages Affected

Outstanding Issues

DapperInstallerVolumeManagement (last edited 2008-08-06 16:26:10 by localhost)