def scrub_start(pool, force=False): mnt_pt = mount_root(pool) p = PoolScrub(mnt_pt) p.start() return p.pid
def scrub_start(pool, pool_device, force=False): mnt_pt = mount_root(pool, '/dev/' + pool_device) p = PoolScrub(mnt_pt) p.start() return p.pid