forked from openzfs/zfs
-
Notifications
You must be signed in to change notification settings - Fork 10
Uninstall
Jorgen Lundman edited this page Apr 19, 2026
·
1 revision
If you still have the Docs & Scripts folder from when you installed, use that. Otherwise, open the OpenZFS_on_OS_X_x.y.z.dmg file you originally downloaded.
If you no longer have the DMG file, you can download it again from the Downloads page.
- Open the Docs & Scripts folder.
- Find the file
uninstall-openzfsonosx.sh. - Open Terminal.app. You can launch it from Spotlight or from
/Applications/Utilities. - Close all open files from your pools.
- Export every pool:
sudo zpool list
# For each pool listed
sudo zpool export <pool1name>
sudo zpool export <pool2name>
# Verify all pools have been exported
sudo zpool status
Run the uninstall script. You can drag and drop uninstall-openzfsonosx.sh into the Terminal window, or type:
/Volumes/OpenZFS*/Docs\ \&\ Scripts/uninstall-openzfsonosx.sh
Press Return.
Enter your password when prompted.
The script will then uninstall OpenZFS on OS X.
Uninstalling a Source Install
The procedure is the same as for uninstalling a release version
, except that you should use the script uninstall-make-install.sh instead of uninstall-openzfsonosx.sh.
If you want, you can also move ~/Developer/spl and ~/Developer/zfs to the Trash afterward.
Alternative: Generate a File List with DESTDIR
You can also determine which files were installed by installing into a DESTDIR first:
cd ~/Developer
cd spl
sudo make DESTDIR=~/Developer/destdir install
cd ..
cd zfs
sudo make DESTDIR=~/Developer/destdir install
cd ..
cd destdir
find . -type f > o3x_uninstall_list.txt
open o3x_uninstall_list.txt
You can then manually remove each listed file either with rm in Terminal or by dragging them to the Trash in Finder.
When finished, you can also remove:
~/Developer/destdir
~/Developer/spl
~/Developer/zfs