OpenZFS on Linux and FreeBSD
Go to file
loli10K d48091de81 zed: detect and offline physically removed devices
This commit adds a new test case to the ZFS Test Suite to verify ZED
can detect when a device is physically removed from a running system:
the device will be offlined if a spare is not available in the pool.

We implement this by using the existing libudev functionality and
without relying solely on the FM kernel module capabilities which have
been observed to be unreliable with some kernels.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Don Brady <don.brady@delphix.com>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #1537
Closes #7926
2018-11-09 11:17:24 -08:00
.github Advise users to retain issue/PR templates 2018-10-17 10:25:38 -07:00
cmd zed: detect and offline physically removed devices 2018-11-09 11:17:24 -08:00
config Fix statfs(2) for 32-bit user space 2018-09-24 17:11:25 -07:00
contrib Add quotations for ${ENCRYPTIONROOT} 2018-11-09 09:32:01 -08:00
etc Minor documentation, logging, and testing typos 2018-06-07 09:38:39 -07:00
include zed: detect and offline physically removed devices 2018-11-09 11:17:24 -08:00
lib Fix libudev dependency in libzutil 2018-11-06 17:47:52 -08:00
man Add zpool status -s (slow I/Os) and -p (parseable) 2018-11-08 16:47:24 -08:00
module zed: detect and offline physically removed devices 2018-11-09 11:17:24 -08:00
rpm Add BuildRequires gcc, make, elfutils-libelf-devel 2018-11-07 15:48:24 -08:00
scripts Make gitrev more reliable 2018-10-22 12:23:30 -07:00
tests zed: detect and offline physically removed devices 2018-11-09 11:17:24 -08:00
udev Add kernel module auto-loading 2018-03-13 10:45:55 -07:00
.gitignore Ignore *.o.ur-safe build artifacts 2018-05-13 18:59:02 -07:00
.gitmodules Add zimport.sh compatibility test script 2014-02-21 12:10:31 -08:00
.travis.yml Add .travis.yml 2017-11-13 09:18:18 -08:00
AUTHORS Update build system and packaging 2018-05-29 16:00:33 -07:00
COPYRIGHT Update build system and packaging 2018-05-29 16:00:33 -07:00
LICENSE Update build system and packaging 2018-05-29 16:00:33 -07:00
META Tag 0.8.0-rc1 2018-09-07 09:35:09 -07:00
Makefile.am Linux does not HAVE_DNLC 2018-10-17 10:30:08 -07:00
NEWS Add NEWS file 2018-09-18 12:03:47 -07:00
NOTICE Update build system and packaging 2018-05-29 16:00:33 -07:00
README.md Explicitly state supported Linux versions 2018-05-30 20:11:19 -07:00
TEST Update build system and packaging 2018-05-29 16:00:33 -07:00
autogen.sh Cause autogen.sh to fail if autoreconf fails 2018-07-06 09:27:37 -07:00
configure.ac Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00
copy-builtin Allow copy-builtin to work with modified sources 2018-10-17 12:06:05 -07:00
zfs.release.in Move zfs.release generation to configure step 2012-07-12 12:22:51 -07:00

README.md

img

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

codecov coverity

Official Resources

Installation

Full documentation for installing ZoL on your favorite Linux distribution can be found at our site.

Contribute & Develop

We have a separate document with contribution guidelines.

Release

ZFS on Linux is released under a CDDL license.
For more details see the NOTICE, LICENSE and COPYRIGHT files; UCRL-CODE-235197

Supported Kernels

  • The META file contains the officially recognized supported kernel versions.