Editing Install
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 250: | Line 250: | ||
sudo zpool export $poolname | sudo zpool export $poolname | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Make sure they have exported successfully. | Make sure they have exported successfully. | ||
Line 264: | Line 258: | ||
It should say, "no pools available." | It should say, "no pools available." | ||
+ | |||
+ | Alternatively, you can use this script to export all pools: | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | #!/bin/bash | ||
+ | |||
+ | if [ x$(which zpool) != x ] | ||
+ | then | ||
+ | zpool list -H | awk -F '\t' '{print $1;}' | xargs -I '#' sudo zpool export '#' | ||
+ | else | ||
+ | cd ~/Developer/zfs | ||
+ | ./cmd.sh zpool list -H | awk -F '\t' '{print $1;}' | xargs -I '#' sudo ./cmd.sh zpool export '#' | ||
+ | fi | ||
+ | </syntaxhighlight> | ||
Get any [[zfsadm]] updates: | Get any [[zfsadm]] updates: |