Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Native ZFS for Linux
C Shell Other

Fix to work with disk vdevs

The "zpool status" output shows the full pathname for file-type vdevs,
but only the basename component for disk-type vdevs.  In commit
bee6665, the "basename" command was dropped from altering the vdev
name used when searching the "zpool status" output.  Consequently,
hot-disk sparing for disk vdevs broke since "zpool status" output
was now being searched for the full pathname to the disk vdev.

Parsing the "zpool status" output in this manner is rather brittle.
It would be preferable to search for the vdev based on its guid.
But until that happens, this commit adds back the "basename" command
to fix the vdev name breakage.

Signed-off-by: Chris Dunlap <>
Signed-off-by: Brian Behlendorf <>
Closes #3310
latest commit de6d197683
@dun dun authored behlendorf committed
Failed to load latest commit information.
cmd Fix to work with disk vdevs
config Add RHEL style kmod packages
contrib Add bash completions by Aneurin Price.
dracut Execute udevadm settle before trying to import pools
etc Rebuild init scripts on source file updates
include Mark all ZPL and ioctl functions as PF_FSTRANS
lib zpool import should honor overlay property
man Document bookmarks a little better in zfs(8)
module Mark additional functions as PF_FSTRANS
rpm Tag zfs-0.6.4
scripts Set zfs_autoimport_disable default value to 1
udev Open pools asynchronously after module load
.gitignore Ignore *.{deb,rpm,tar.gz} files in the top directory.
.gitmodules Add compatibility test script
AUTHORS Add a missing > to AUTHORS
COPYRIGHT Refresh links to web site
DISCLAIMER Fix minor typos and update marketing copy.
META Tag zfs-0.6.4 Kernel header installation should respect --prefix
README.markdown Fix minor typos and update marketing copy. build: do not call boilerplate ourself Add RHEL style kmod packages
copy-builtin Consistent menuconfig name Initial implementation of zed (ZFS Event Daemon) Move zfs.release generation to configure step


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:

Something went wrong with that request. Please try again.