示例#1
0
def scrub_start(pool, force=False):
    mnt_pt = mount_root(pool)
    p = PoolScrub(mnt_pt)
    p.start()
    return p.pid
示例#2
0
def scrub_start(pool, force=False):
    mnt_pt = mount_root(pool)
    p = PoolScrub(mnt_pt)
    p.start()
    return p.pid
示例#3
0
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
示例#4
0
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
示例#5
0
def scrub_start(pool_name, pool_device, force=False):
    from pool_scrub import PoolScrub
    mnt_pt = mount_root(pool_name, '/dev/' + pool_device)
    p = PoolScrub(mnt_pt)
    p.start()
    return p.pid