Created
July 15, 2009 08:48
-
-
Save ArtemGr/147584 to your computer and use it in GitHub Desktop.
ZFS-FUZE, Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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