Devices were only being created at module load time or when a dataset was created. Similiar devices were not always being removed at all the correct times. This patch updates all the places where devices should either be created or removed. I'm reasonably sure I got them all but if theres a case I missed we can catch it with a follow up patch. module load/unload zfs create/remove zpool import/export zpool destroy This patch also adds a simple regression test to zconfig.sh to ensure zpool import/export is basically working properly. This test specifically checks that devices are created properly, removed after export, created after import, and removed as a consequence of a zpool destroy. |
||
---|---|---|
cmd | ||
config | ||
etc | ||
lib | ||
man | ||
module | ||
patches | ||
scripts | ||
.gitignore | ||
.topdeps | ||
.topmsg | ||
AUTHORS | ||
COPYING | ||
COPYRIGHT | ||
ChangeLog | ||
DISCLAIMER | ||
GIT | ||
META | ||
Makefile.am | ||
Makefile.in | ||
OPENSOLARIS.LICENSE | ||
README.markdown | ||
ZFS.RELEASE | ||
autogen.sh | ||
configure | ||
configure.ac | ||
zfs-modules.spec.in | ||
zfs.spec.in | ||
zfs_config.h.in |
README.markdown
Native ZFS for Linux! ZFS is an advanced file system and volume manager which was originally developed for Solaris. It has been successfully ported to FreeBSD and now there is a functional Linux ZFS kernel port too. The port currently includes a fully functional and stable SPA, DMU, and ZVOL with a ZFS Posix Layer (ZPL) on the way!
Documentation for building, configuring, and using ZFS can be found at: http://wiki.github.com/behlendorf/zfs/