Editing Uninstall

Jump to: navigation, search

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
[[Category:About O3X]]
+
== Uninstalling the Official Release ==
[[Category:Getting and installing O3X]]
+
== Uninstalling a release version ==
+
  
*If you have the folder Docs & Scripts from when you installed, go there, otherwise open the Open_ZFS_on_OS_X_x.y.z.dmg file you downloaded when you originally installed. If you no longer have the .dmg file, you can re-download it, on the [[Downloads]] page.
+
#If you have the folder Docs & Scripts from when you installed, go there, otherwise open the Open_ZFS_on_OS_X_x.y.z.dmg file you downloaded when you originally installed. If you no longer have the .dmg file, you can re-download it, on the [[Downloads]] page.
  
*Open the folder Docs & Scripts.
+
#Open the folder Docs & Scripts.
  
*Find the file named uninstall-openzfsonosx.sh.
+
#Find the file named uninstall-openzfsonosx.sh.
  
*Open Terminal.app. You can open it from Spotlight, or from the folder in Finder /Applications/Utilities.
+
#Open Terminal.app. You can open it from Spotlight, or from the folder in Finder /Applications/Utilities.
  
*Close all open files from your pools.
+
#Close all open files from your pools.
  
*Export every pool.
+
#Export every pool.
  
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
sudo zpool list
 
sudo zpool list
 +
</syntaxhighlight>
 +
 +
Then for each pool listed
 +
 +
<syntaxhighlight lang="bash">
 +
sudo zpool export $poolname
 +
</syntaxhighlight>
  
#For each pool listed
 
sudo zpool export $pool1name
 
sudo zpool export $pool2name
 
...
 
 
#Verify all the pools have been exported.
 
#Verify all the pools have been exported.
 +
 +
<syntaxhighlight lang="bash">
 
sudo zpool status
 
sudo zpool status
 
</syntaxhighlight>
 
</syntaxhighlight>
  
*Now drag and drop the file uninstall-openzfsonosx.sh onto your Terminal window. Or just type
+
#Now drag and drop the file uninstall-openzfsonosx.sh onto your Terminal window. Or just type
  
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
Line 32: Line 35:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
*Press return.
+
#Press return.
  
*You will be prompted for your password. Enter that and press return.
+
#You will be prompted for your password. Enter that and press return.
  
 
The script will run and uninstall o3x.
 
The script will run and uninstall o3x.
 
== Uninstalling a source install ==
 
The procedure is the same as for [[#Uninstalling_a_release_version|uninstalling a release version]], except you need to use the uninstaller script named "uninstall-make-install.sh" instead of the one named "uninstall-openzfsonosx.sh." And if you wish, in Finder you can drag  ~/Developer/spl and ~/Developer/zfs to the Trash.
 
 
Alternatively, you can determine the list of files that were installed by installing to a DESTDIR.
 
 
<syntaxhighlight lang="bash">
 
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
 
</syntaxhighlight>
 
 
Now you can manually remove each of the files listed either by using "rm" in Terminal.app or by dragging them to the trash from Finder. You can also remove ~/Developer/destdir, ~/Developer/spl, and ~/Developer/zfs when you're done.
 

Please note that all contributions to OpenZFS on OS X may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenZFS on OS X:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)