mirror_zfs/cmd
Brian Behlendorf 7d90f569b3 Check all vdev labels in 'zpool import'
When using 'zpool import' to scan for available pools prefer vdev names
which reference vdevs with more valid labels.  There should be two labels
at the start of the device and two labels at the end of the device.  If
labels are missing then the device has been damaged or is in some other
way incomplete.  Preferring names with fully intact labels helps weed out
bad paths and improves the likelihood of being able to import the pool.

This behavior only applies when scanning /dev/ for valid pools.  If a
cache file exists the pools described by the cache file will be used.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chris Dunlap <cdunlap@llnl.gov>
Closes #3145
Closes #2844
Closes #3107
2015-03-25 14:52:52 -07:00
..
arc_summary Replace sysctl summary with tunables summary. 2015-01-28 11:05:53 -08:00
arcstat Print header properly when terminal resizes 2014-11-14 15:32:30 -08:00
dbufstat Python 3 fixes 2013-11-08 14:30:29 -08:00
fsck_zfs Add /sbin/fsck.zfs helper 2013-01-09 16:54:58 -08:00
mount_zfs Check all vdev labels in 'zpool import' 2015-03-25 14:52:52 -07:00
vdev_id vdev_id: use mawk-compatible regular expression 2014-12-19 12:05:16 -08:00
zdb Fix zdb segfault 2014-10-23 15:30:32 -07:00
zed Fix build error when make deb 2015-02-06 09:16:32 -08:00
zfs Create an 'overlay' property 2014-08-15 13:39:19 -07:00
zhack Illumos 4370, 4371 2014-07-28 14:29:58 -07:00
zinject Make command line guid parsing more tolerant 2014-04-02 13:10:08 -07:00
zpios Fix error message in zpios 2014-01-29 15:11:56 -08:00
zpool Check all vdev labels in 'zpool import' 2015-03-25 14:52:52 -07:00
zstreamdump Illumos 4757, 4913 2014-08-01 14:28:05 -07:00
ztest Avoid dladdr() in ztest 2015-02-27 13:54:15 -08:00
zvol_id Improve zvol symlink handling. 2014-11-06 11:13:18 -08:00
Makefile.am Install arc_summary.py 2015-03-03 13:38:17 -08:00