Difference between revisions of "Uninstall"

From OpenZFS on OS X
Jump to: navigation, search
(Uninstalling the Official Release)
(Uninstalling the Official Release)
Line 1: Line 1:
 
== Uninstalling the Official Release ==
 
== Uninstalling the Official Release ==
  
#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>
 
</syntaxhighlight>
 +
 
Then for each pool listed
 
Then for each pool listed
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
sudo zpool export $poolname
 
sudo zpool export $poolname
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 
*Verify all the pools have been exported.
 
*Verify all the pools have been exported.
 
<syntaxhighlight lang="bash">
 
<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">
 
/Volumes/OpenZFS*/Docs\ \&\ Scripts/uninstall-openzfsonosx.sh
 
/Volumes/OpenZFS*/Docs\ \&\ Scripts/uninstall-openzfsonosx.sh
 
</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.

Revision as of 09:27, 14 March 2014

Uninstalling the Official Release

  • 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.
  • Find the file named uninstall-openzfsonosx.sh.
  • Open Terminal.app. You can open it from Spotlight, or from the folder in Finder /Applications/Utilities.
  • Close all open files from your pools.
  • Export every pool.
sudo zpool list

Then for each pool listed

sudo zpool export $poolname
  • Verify all the pools have been exported.
sudo zpool status
  • Now drag and drop the file uninstall-openzfsonosx.sh onto your Terminal window. Or just type
/Volumes/OpenZFS*/Docs\ \&\ Scripts/uninstall-openzfsonosx.sh
  • Press return.
  • You will be prompted for your password. Enter that and press return.

The script will run and uninstall o3x.