Brian Behlendorf c30d8ded0c Fix 'zpool import' detection issue
Before adding the entry to the configuration verify that the
device can be opened exclusively.  This ensures that as long
as multipathd is running the underlying multipath devices, which
otherwise appear identical to their /dev/mapper counterpart,
are pruned from the configuration.

Failure to do so can result in a result in the vdev appearing
as UNAVAIL when the vdev path provided to the kernel can't be
opened exclusively.

This check would normally be performed in zpool_open_func()
but placing it there would result in false positives because
it is called concurrently for many devices.


Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #5387
2016-11-14 09:40:18 -08:00
2016-11-10 13:52:59 -08:00
2016-10-19 14:29:33 -07:00
2016-09-20 10:07:58 -07:00
2016-11-14 09:40:18 -08:00
2016-11-10 08:50:32 -08:00
2016-10-28 16:10:00 -07:00
2016-10-19 14:29:33 -07:00
2014-09-02 14:18:53 -07:00
2016-11-04 10:46:40 -07:00
2015-05-11 15:07:00 -07:00
2016-10-28 16:10:00 -07:00
2016-10-26 10:36:33 -07:00
2008-12-01 14:49:34 -08:00
2016-11-08 13:57:17 -08:00

Native ZFS for Linux!

ZFS is an advanced file system and volume manager which was originally developed for Solaris and is now maintained by the Illumos community.

ZFS on Linux, which is also known as ZoL, is currently feature complete. It includes fully functional and stable SPA, DMU, ZVOL, and ZPL layers.

Full documentation for installing ZoL on your favorite Linux distribution can be found at: http://zfsonlinux.org

S
Description
No description provided
Readme 122 MiB
Languages
C 70.2%
Shell 19.9%
Assembly 5.1%
M4 1.9%
Python 1.6%
Other 1.3%