mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
ZTS: Fix vdev_zaps_005_pos on CentOS 6
The ancient version of blkid (v2.17.2) used in CentOS 6 will not detect the newly created pool unless it has been written to. Force a pool sync so `zpool import` will detect the newly created pool. Reviewed-by: John Kennedy <john.kennedy@delphix.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #9199
This commit is contained in:
parent
b7c9207fbd
commit
b72548575e
@ -41,6 +41,7 @@ orig_top=$(get_top_vd_zap $DISK $conf)
|
||||
orig_leaf=$(get_leaf_vd_zap $DISK $conf)
|
||||
assert_zap_common $TESTPOOL $DISK "top" $orig_top
|
||||
assert_zap_common $TESTPOOL $DISK "leaf" $orig_leaf
|
||||
log_must zpool sync
|
||||
|
||||
# Export the pool.
|
||||
log_must zpool export $TESTPOOL
|
||||
|
Loading…
Reference in New Issue
Block a user