Responses to kextunload

This forum is to find answers to problems you may be having with ZEVO Community Edition.

Moderators: jhartley, MSR734, nola

Responses to kextunload

Post by grahamperrin » Thu Jun 06, 2013 12:44 am

Spun off from Compatibility with other ZFS systems, from MacZFS-related discussion in IRC, and from viewtopic.php?p=4884#p4884 under disable automatic pool import

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:

grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Return to Troubleshooting

Who is online

Users browsing this forum: bileyqrkq and 0 guests

cron