diff options
author | Chunwei Chen <[email protected]> | 2018-01-26 10:49:46 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-01-26 10:49:46 -0800 |
commit | 522db29275b81c18c2bf53a95efa1aedeb13b428 (patch) | |
tree | 3edfce11d4d86d2fcb33e48cf80cbd8603b44b1e /module/zfs/zfs_vnops.c | |
parent | f55a8757a6be24c36c25e24ab5c30dcddf2ad954 (diff) |
zpool import -d to specify device path
When we know which devices have the pool we are looking for, sometime
it's better if we can directly pass those device paths to zpool import
instead of letting it to search through all unrelated stuff, which might
take a lot of time if you have hundreds of disks.
This patch allows option -d <dev_path> to zpool import. You can have
multiple pairs of -d <dev_path>, and zpool import will only search
through those devices. For example:
zpool import -d /dev/sda -d /dev/sdb
Reviewed-by: Tony Hutter <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Chunwei Chen <[email protected]>
Closes #7077
Diffstat (limited to 'module/zfs/zfs_vnops.c')
0 files changed, 0 insertions, 0 deletions