User Tools

Site Tools


software:zfs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revisionBoth sides next revision
software:zfs [2016/07/26 20:20] – created Michele Porellisoftware:zfs [2019/12/23 05:21] Michele Porelli
Line 5: Line 5:
 You have just to create a snapshot and send it to the new pool. All the previous snapshots will be sent preserving dates and names. You have just to create a snapshot and send it to the new pool. All the previous snapshots will be sent preserving dates and names.
 <code>zfs send -R MY_OLD_POOL@MY_LATEST_SNAPSHOT | zfs receive -F MY_NEW_POOL</code> <code>zfs send -R MY_OLD_POOL@MY_LATEST_SNAPSHOT | zfs receive -F MY_NEW_POOL</code>
 +==== Compile latest release for Debian ====
 +<code>
 +# apt install --yes debootstrap gdisk dpkg-dev linux-headers-$(uname -r) \
 +  git-buildpackage build-essential dkms libaio-dev \
 +  libattr1-dev libelf-dev libblkid-dev libselinux1-dev libssl-dev \
 +  libudev-dev python3-cffi python3-setuptools python3-sphinx \
 +  python3-all-dev uuid-dev zlib1g-dev
 +# git clone https://salsa.debian.org/zfsonlinux-team/zfs.git
 +# cd zfs
 +# git checkout pristine-tar
 +# git checkout master
 +# gbp buildpackage -uc -us
 +# cd ..
 +# dpkg --install \
 +  libnvpair1linux_0.8.1-4_amd64.deb \
 +  libuutil1linux_0.8.1-4_amd64.deb \
 +  libzfs2linux_0.8.1-4_amd64.deb \
 +  libzpool2linux_0.8.1-4_amd64.deb \
 +  zfs-dkms_0.8.1-4_all.deb \
 +  zfsutils-linux_0.8.1-4_amd64.deb \
 +  zfs-zed_0.8.1-4_amd64.deb
 +# modprobe zfs
 +</code>
software/zfs.txt · Last modified: 2021/12/05 22:59 by Michele Porelli