Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable zfs-test zpool_expand_002_pos #5757

Merged
merged 2 commits into from
Feb 13, 2017

Commits on Feb 10, 2017

  1. Use file-based pools for zpool_expand test 002 and enable it

    Use -pH flags in get_pool_prop so that numeric properties such as size
    can be compared.  The zpool_expand test suite is currently the only one
    which uses get_pool_prop for a numeric property.
    
    Add TEMPFILE and TEMPFILE{0,1,2} to default.cfg for tests that must
    build pools on top of files, such as this one where expansion is
    necessary but the entries in DISKS may not point to entities that can be
    expanded.
    
    Base the pool used for testing on file-type VDEVs instead of using zvols
    within an underlying pool, to avoid issues that come up when pools are
    backed by other pools.
    
    Remove shell variables EX_1GB and EX_2GB used to recognize correct expansion,
    and instead calculate the appropriate values based on the variables used to
    control file or volume size, org_size and exp_size.  This change is also
    made in test 001 although that test is not enabled because it depends on
    FMA.
    
    Finally, enable zpool_expand_002_pos.
    
    Signed-off-by: Olaf Faaland <faaland1@llnl.gov>
    ofaaland committed Feb 10, 2017
    Configuration menu
    Copy the full SHA
    9762b97 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2017

  1. Configuration menu
    Copy the full SHA
    43948fd View commit details
    Browse the repository at this point in the history