Package Details: zfs-utils 2.0.3-1

Git Clone URL: https://aur.archlinux.org/zfs-utils.git (read-only, click to copy)
Package Base: zfs-utils
Description: Userspace utilities for the Zettabyte File System.
Upstream URL: https://zfsonlinux.org/
Licenses: CDDL
Submitter: eschwartz
Maintainer: eschwartz
Last Packager: eschwartz
Votes: 22
Popularity: 2.97
First Submitted: 2018-10-28 22:49
Last Updated: 2021-02-12 02:23

Pinned Comments

eschwartz commented on 2020-12-27 22:43

@Win8Error,

This package doesn't support people who have failed to read the wiki page https://wiki.archlinux.org/index.php/Makepkg, or cannot interpret error messages.

eschwartz commented on 2019-10-16 03:49

aarch64 is not an officially supported architecture for this PKGBUILD, since I don't exactly test it on such architectures. It failing to work is therefore not very surprising.

I guess you can do any necessary followup in that upstream bug report, hopefully upstream can get it into a state of "working out of the box" so that makepkg --ignorearch works. But I'm not investing any of my own time in this...

Latest Comments

1 2 3 4 5 Next › Last »

eschwartz commented on 2021-03-03 22:34

Because that's not how the arch array works, what you actually want is for it to include armv7h. See the PKGBUILD(5) documentation...

aphirst commented on 2021-03-03 22:17

Is there any reason this PKGBUILD isn't set to "any" architecture? I'm running it on my armv7h (archlinux-ARM) box along with zfs-dkms (which DOES use "any" architecture) without any issues.

krzyszto commented on 2021-02-07 11:20

zfs.initcpio.hook is missing load-key support.

initcpio hook from the official zfs-utils package has stuff like:

zfs_decrypt_fs() {
    dataset=$1

    # check if 'zfs load-key' is available
    zfs 2>&1 | grep load-key > /dev/null || return 0

    # check if dataset is encrypted
    [ "$(zfs get -H -o value encryption "${dataset}")" != "off" ] || return 0

    # check if key is already loaded
    [ "$(zfs get -H -o value keystatus "${dataset}")" != "available" ] || return 0

    # get the encryption root
    encryptionroot=$(zfs get -H -o value encryptionroot "${dataset}")

    # export encription root to be used by other hooks (SSH)
    echo "${encryptionroot}" > /.encryptionroot

    # loop until we get the correct password or key is unlocked by another vector (SSH for instance)
    while [ "$(zfs get -H -o value keystatus "${encryptionroot}")" != "available" ] &&
      ! eval zfs load-key "${encryptionroot}"; do
        sleep 2
    done

    if [ -f /.encryptionroot ]; then
        rm /.encryptionroot
    fi
}

and they call this function just before mounting every dataset.

defab67 commented on 2021-01-18 07:35

@ipickering I ran into the same issue a few days ago. It turns out that the maintainers of the zfs-linux-lts package maintain their own unofficial zfs-utils package for situations like this. See this comment for the link:

https://aur.archlinux.org/packages/zfs-linux-lts/#comment-779700

It worked for me. Not sure if/how it differs from this one. Maybe you can compare the PKGBUILDs.

ipickering commented on 2021-01-18 07:27

Is this going to be updated to 2.0.1? I upgraded my system and got stuck because I can't reinstall ZFS after removing it because now it has a dependency on 2.0.1, which doesn't exist.

jaybeavers commented on 2021-01-10 03:45

Will confirm that adding aarch64 works great with the current PKGBUILD @eschwartz.

RPi4, especially the 8 GB model, makes for a pretty decent personal NAS.

eschwartz commented on 2020-12-27 22:43

@Win8Error,

This package doesn't support people who have failed to read the wiki page https://wiki.archlinux.org/index.php/Makepkg, or cannot interpret error messages.

Win8Error commented on 2020-12-27 21:54

==> Verifying source file signatures with gpg... zfs-2.0.0.tar.gz ... FAILED (unknown public key 0AB9E991C6AF658B)

==> ERROR: One or more PGP signatures could not be verified!

==> ERROR: Could not download sources.

JLSalvador commented on 2020-11-23 10:30

This package requires "core/which" to support the dracut module check. @eschwartz can you add it, please?

j0b314 commented on 2020-10-19 05:36

zfs and zfs-utils are running here on Raspberry Pi 4 (4GB) (aarch64) without any issues. To build it, just replace PKGBUILD line:

arch=("i686" "x86_64")

with

arch=("i686" "x86_64" "aarch64")