With Apple Core Storage a basis for ZEVO Community Edition 1.1.1
- Code: Select all
sh-3.2$ diskutil eject /dev/disk4
Disk /dev/disk4 ejected
sh-3.2$ sudo kextunload /System/Library/Extensions/ZFSFilesystem.kext
(kernel) Can't remove kext com.getgreenbytes.filesystem.zfs; services failed to terminate - 0xdc008018.
Failed to unload com.getgreenbytes.filesystem.zfs - (libkern/kext) kext is in use or retained (cannot unload).
sh-3.2$ sudo kextunload /System/Library/Extensions/ZFSDriver.kext
(kernel) Can't unload kext com.getgreenbytes.driver.zfs; classes have instances:
(kernel) Kext com.getgreenbytes.driver.zfs class ZFSTopLevelVirtualDevice has 1 instance.
Failed to unload com.getgreenbytes.driver.zfs - (libkern/kext) kext is in use or retained (cannot unload).
sh-3.2$ diskutil list /dev/disk4
/dev/disk4
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *616.0 GB disk4
1: EFI 209.7 MB disk4s1
2: ZFS 615.7 GB disk4s2
sh-3.2$
Without Core Storage as a basis
A guess: if there's a ZFS type slice on any internal physical disk, you'll be similarly unable to unload the KEXT.
If you experiment with kextunload with KEXTs of ZEVO Community Edition 1.1.1
Please proceed with caution. A consideration: