Storage: ZFS: Difference between revisions
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
Create Zpool | Create Zpool | ||
zpool create tank /dev/sdb | zpool create -m /var/lib/vz/tank /dev/sdb | ||
Create ZFS | Create ZFS |
Revision as of 13:43, 10 February 2010
How to install ZFS-fuse under Proxmox
apt-get install build-essential libaio-dev libattr1-dev libacl1-dev libz-dev libz-dev libfuse-dev libfuse2 scons libssl-dev wget -nd http://zfs-fuse.net/releases/0.6.0/zfs-fuse-0.6.0.tar.bz2 tar jxvf zfs-fuse-0.6.0.tar.bz2 cd zfs-fuse-0.6.0 cd src scons scond install
Fire up ZFS-fuse daemon
/usr/local/sbin/zfs-fuse
Create Zpool
zpool create -m /var/lib/vz/tank /dev/sdb
Create ZFS
zfs create tank/filesystem
ZFS clone a vm
zfs snapshot tank/filesystem@master zfs clone tank/filesystem@master clone1