zfs/lib
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
..
libavl Remove autotools products 2012-08-27 11:47:44 -07:00
libefi Use (void) memcpy(), not (void *) memcpy() 2015-01-30 09:43:04 -08:00
libnvpair Illumos #2619 and #2747 2013-01-08 10:35:35 -08:00
libshare Remove unconditional sharetab update 2014-01-07 09:48:09 -08:00
libspl Swap DTRACE_PROBE* with Linux tracepoints 2014-11-17 11:13:55 -08:00
libunicode Remove autotools products 2012-08-27 11:47:44 -07:00
libuutil Remove autotools products 2012-08-27 11:47:44 -07:00
libzfs Check all vdev labels in 'zpool import' 2015-03-25 14:52:52 -07:00
libzfs_core Illumos 4757, 4913 2014-08-01 14:28:05 -07:00
libzpool Change VERIFY to ASSERT in mutex_destroy() 2015-02-11 13:58:40 -08:00
Makefile.am Illumos #2882, #2883, #2900 2013-09-04 15:49:00 -07:00