Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ArtemGr/147584 to your computer and use it in GitHub Desktop.
Save ArtemGr/147584 to your computer and use it in GitHub Desktop.
ZFS-FUZE, Ubuntu
export LANG=en_US.UTF-8; export LANGUAGE=
apt-get install build-essential zlib1g-dev libfuse-dev libaio-dev scons mercurial
hg clone http://www.wizy.org/mercurial/zfs-fuse/trunk
cd trunk/src/
scons install
zfs-fuze # Will start the ZFS daemon.
zpool import # To see what pools we have around.
zpool import -R /mnt -f tank # Where "tank" is the name of the pool.
# Mount the root filesystem (if not already mounted! depends on whether the legacy mode is used for root filesystem!).
zfs set mountpoint=/root tank # Is now available as "/mnt/root".
# Work with the pool...
# ...
# Restore the legacy mode for the root filesystem (only if we changed the mountpoint earlier)!!
zfs set mountpoint=legacy tank
# Finally release the pool:
zpool export tank
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment