FG

How to use ZFS on linux easily (without paths like /var/run/zfs) or as non-root

Fresh3 days ago
Mar 15, 20262764 views
Confidence Score0%
0%

Problem

When I asked about filesystems with compression I got recommendation to try ZFS. Looks like it worth trying, however I find tools that manage ZFS ( , ) quite overcomplexified - you need to create some volume, then add it, then create filesystem on it. And finally it suddenly created things in root …

Error Output

$ dd if=/dev/zero of=/home/user/qqq.zfs bs=1M count=100
$ mkfs.zfs /home/user/qqq.zfs -o compress=gzip
$ zfs-fuse /home/user/qqq.zfs /home/user/mnt

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to use ZFS on linux easily (without paths like /var/run/zfs) or as non-root

Low Risk

Here is something close to what you are looking for, although you would need to be root to achieve it: ZFS supports non root operations (i.e. delegation) but ZFS-FUSE doesn't implement them.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment