Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Native ZFS for Linux
C Shell Other
branch: master

This branch is even with zfsonlinux:master

Fix io-spare.sh 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 <cdunlap@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3310
latest commit de6d197683
@dun dun authored committed
Failed to load latest commit information.
cmd Fix io-spare.sh 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 zimport.sh 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
Makefile.am Kernel header installation should respect --prefix
OPENSOLARIS.LICENSE Add CDDL license file
README.markdown Fix minor typos and update marketing copy.
autogen.sh build: do not call boilerplate ourself
configure.ac Add RHEL style kmod packages
copy-builtin Consistent menuconfig name
zfs-script-config.sh.in Initial implementation of zed (ZFS Event Daemon)
zfs.release.in Move zfs.release generation to configure step

README.markdown

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

Something went wrong with that request. Please try again.