Questions tagged [zfs]

ZFS is a combined file system and logical volume manager designed by Sun Microsystems The features of ZFS include protection against data corruption, support for high storage capacities, efficient data compression, integration of the concepts of filesystem and volume management, snapshots and copy-on-write clones, continuous integrity checking and automatic repair, RAID-Z and native NFSv4 ACLs.. -Wikipedia

Filter by
Sorted by
Tagged with
1 vote
1 answer
40 views

How to access/import/mount a zfs file

I've asked my wordpress hosting provider to give me a snapshot of the server as I'm looking to migrate the site elsewhere. What I've been given is a .zfs file. I was completely unaware of what zfs was ...
EvilWeebl's user avatar
  • 113
1 vote
1 answer
37 views

ZFS dataset encryption on top of LUKS

There has been discussions about using ZFS on top of a LUKS-encrypted partition vs. using ZFS's native per-dataset encryption. However, they are always presented as either-or. My question is about ...
Cactus's user avatar
  • 845
0 votes
0 answers
47 views

Installing Grub on btrfs /boot when root is on ZFS

I'd like to use Grub for booting my Linux system. The system has its root filesystem on a ZFS dataset, it has the usual EFI boot partition, and a btrfs partition that can be used as /boot. When the ...
Cactus's user avatar
  • 845
0 votes
0 answers
35 views

Incus - Setting migration.stateful for stateful snapshots

I'm trying to get to grips with Incus, because it looks like it is a fork of Canonical's LXD, which I can run fairly easily on Debian 12 with a deb package, rather than using snaps. I have it all set ...
Programster's user avatar
  • 2,257
0 votes
0 answers
12 views

Unlocking only specific ZFS datasets at boot

I have the following datasets in a ZFS pool: NAME                    USED  AVAIL  REFER  MOUNTPOINT rpool                  3.68G   185G   192K  none rpool/FOO              3.43M   185G   192K  none ...
Cactus's user avatar
  • 845
0 votes
1 answer
49 views

ZFS remove password

I have an encrypted ZFS partition, but I'd like to remove the password not to type any password when booting. Is it possible, ideally without decrypting each file one by one? For instance what happens ...
tobiasBora's user avatar
  • 4,101
2 votes
0 answers
43 views

zpool import error

I suffered a complete pool failure – the fan in the array chassis stopped working and all drives overheated. After cooling down, all drives checked out ok using seagate's seatools test utility and ...
mikem's user avatar
  • 845
1 vote
0 answers
33 views

Access data from ZFS encrypted drive

I need to access data from the /home directory from an ZFS encrypted drive. The drive was previously set up with encryption on a Linux Mint system during the installation process. I have two questions ...
leonardo's user avatar
4 votes
1 answer
150 views

Which filesystems support the C attribute?

On BTRFS filesystems you can disable CoW for a file using the C file attribute, like this: chattr +C filename I expected this to work on ZFS too, since it is also a CoW filesystem, but the attribute ...
Maestro's user avatar
  • 191
0 votes
1 answer
36 views

Synchronous syscalls and uninterruptible sleep

My application entered uninteruptible sleep. The process is stuck at linkat. ❯ sudo cat /proc/1308028/syscall 265 0xffffffffffffff9c 0x7fbd9f32a120 0xffffffffffffff9c 0x7fbd9f395930 0x400 ...
mq7's user avatar
  • 101
0 votes
1 answer
52 views

ZFS which uses SAN (ISCSI/FC/NVMEoe...) as VDEV

Is it reasonable to use ISCSI/FC as a block device and use it as a vdev for ZFS? Reasoning: There is only so much disks (even with external enclosures) that you can put in one host. We are looking ...
assassinatorr's user avatar
0 votes
1 answer
23 views

Tried Replacing ZFS Drive which started then errored. Now I can't get it to restart after fixing the second disk it found

I have a disk in the following state: zpool status pool: data state: DEGRADED scan: resilvered 1.49G in 05:08:02 with 0 errors on Sat Jan 6 18:35:13 2024 config: NAME ...
James Hancock's user avatar
1 vote
0 answers
47 views

zfs releases space before destroying snapshots

I cleaned up today. When I started my filesystem was 90% full. Now it is showing 87%: Filesystem 1K-blocks Used Available Use% Mounted on rpool/DATA 23201798016 20038152576 ...
Ole Tange's user avatar
  • 35.6k
0 votes
0 answers
44 views

ZFS nested datasets shown in KDE dolphin as mounted NFS shares. How to keep visible only parent mounted share?

I have the ZFS pool called zdata on our server which is mounted at /mnt/zdata, and it is also shared with NFS, so clients can mount it. The NFS share configured /etc/exports only for the parent ...
Ivan Lebedev's user avatar
0 votes
1 answer
110 views

ZFS: Best Practices for Restructuring multiple pools with encrypted datasets at once

High Level Description So I currently have a convoluted ZFS setup and want to restructure it, reusing some of the existing hardware. I know that the recommended way of doing something like this is to ...
frieder's user avatar
0 votes
0 answers
25 views

Permission Denied error when I try to open the image file stored on the ZFS disk accessed through sshfs from another machine

I would like to boot the FreeBSD 13.2 image file using Libvirt + virt-manager. I have stored the image on the external hard drive,"formatted" with ZFS while I'm using Devuan 5 installed on ...
Marietto's user avatar
  • 531
1 vote
1 answer
643 views

How can I encrypt a ZFS pool?

Preface: I used to run TrueNAS (SCALE) which is where I originally created the tank pool. On Ubuntu Server, I'm trying to assign/change the key of a newly created pool but I am getting the error Key ...
telometto's user avatar
  • 1,985
0 votes
1 answer
43 views

Two system pools on 1 disk - 1 or 2 /boot directories and WTB grub?

I have a legacy root-on-zfs install that was once made by installing to an ext4 / with /boot on a separate ext4 partition, and then moving the contents of / to a ZFS pool. I had various *BSD ...
RJVB's user avatar
  • 254
0 votes
1 answer
218 views

Linux Mint Mate 21.2 ZFS rpool, bpool, and another one - in Caja Sidebar visible - How to get rid of it?

In installed an enrcypted Linux on an separate SSD. In the Install process i choose ZFS. In Caja (1.26) i saw these Folder and wonder why i get this, so i just want to get rid of it, because i dont ...
CJCoochie's user avatar
0 votes
1 answer
128 views

Unable to remount/import ZFS Pool drive

I have got a 3TB WD HDD which I used zfs to create a pool using proxmox. I was copying data to the drive before a power failure occurred. Now i am unable to remount or import the drive at all on my ...
LogicalDeveloper's user avatar
0 votes
0 answers
60 views

How to do ZFS incremental backup to IBM TSM

I am going to set up a new zpool. I plan to use nested datasets to store individual files. For example I could have the following datasets: tank tank/homes/user1 tank/homes/user2 ... tank/shares/pub ...
T. Pluess's user avatar
  • 550
0 votes
2 answers
419 views

Windows not reporting correct used and available disk space on Samba server with ZFS

I have a Samba server running ZFS in Linux. It is a standard by-the-book install with no special configuration. Each share is mapped to their own ZFS dataset, but not all datasets have their own ...
MacroTradition's user avatar
1 vote
1 answer
168 views

Creating swap for Debian across several SSD drives

I have my home server with Proxmox installed. During installation I created just a default swap partition of small size, but did not consider it necessary, since my server has 192GB of RAM installed. ...
Paul Vetrov's user avatar
0 votes
0 answers
152 views

nfs-server.service won't start, bad exportfs entry persists

I'm using Proxmox and ZFS. Previously, I had set up an NFS share using sharenfs, on a now removed zfs pool (panzer). Over a year has passed, and I'm trying to set up a new NFS share. When I run ...
Daniel's user avatar
  • 101
1 vote
2 answers
186 views

How to know if files inside an encrypted ZFS dataset are actually encrypted or not?

When you make any change on a zfs dataset, changes are not applied to already existant data. So, if you find a ZFS dataset that says it has encyption ON, there is a way to check if an individual file ...
Héctor's user avatar
  • 278
2 votes
0 answers
95 views

Samba does not show all ZFS snapshots

I am setting up a file server that uses Samba together with ZFS. I have configured Samba such that it shows the ZFS snapshots under "Previous Versions" in Windows; following is an excerpt of ...
T. Pluess's user avatar
  • 550
2 votes
1 answer
2k views

How can I automatically unlock and mount a ZFS pool at boot?

I was wondering if it's possible to automatically decrypt and mount a ZFS pool and its datasets at boot. Currently, I have to unlock the pool manually by using the command # zfs load-key -a and then ...
telometto's user avatar
  • 1,985
0 votes
1 answer
61 views

Is it safe to use device name such as sda to create md and ZFS RAID array?

In md we can scan or assemble an array using UUID: mdadm --assemble "/dev/md/raid5" --uuid "b9a09187:a1ac838f:b4e90395:d6293c19" And in ZFS, we have a service for that purpose: rc-...
Livy's user avatar
  • 455
0 votes
0 answers
154 views

Can't access files in ZFS rpool /root directory in live recovery environment, but can access others outside /root

my Ubuntu installation fails to boot. Things hang after entering the encryption key with message WARNING: Pool 'rpool' has encountered an uncorrectable I/O failure and has been suspended. When I boot ...
numerous's user avatar
1 vote
1 answer
499 views

ZFS Inode Consumption

I have a ZFS pool in raid Z1 that's around 90TB or so which acts as a PLEX server. I currently have ~300GB free. On average, most files are 70-80GB each. If I copy smaller files, ~10GB, I have no ...
Austin's user avatar
  • 11
0 votes
0 answers
259 views

Mount zvol partition of filesystem type 'LVM2_member' which is a snapshot of a raw qcow2 export

I'm currently trying to migrate some VMs which are stored in qcow2 files onto ZFS ZVOLs. One of the things I want to do before deciding if I really want to stick with this is to see if I can make ...
Daniel F's user avatar
  • 867
0 votes
1 answer
98 views

What checksums are involved/recalculated in a ZFS send/recv?

I read a while back that a zfs send/recv is more immune to memory errors than a standard rsync, because it retains all of the zfs on disk checksums. I can no longer find this post, but the more I ...
zfspan's user avatar
  • 1
0 votes
2 answers
87 views

Extensible software production-ready RAID in Linux?

My #1 goal with RAID, is redundancy from failure. My #2 concern is scalability. Because ZFS's RAID doesn't yet allow you to add a disk to the raid pool, and BTRFS RAID6 isn't stable what are my ...
Evan Carroll's user avatar
  • 30.9k
0 votes
0 answers
276 views

Why isn't it possible to convert an existing striped / raidz zfs pool to one with increased parity by adding one or more disks?

Just to be clear, I am talking about taking an existing striped (i.e. RAID0) zfs pool and converting it to raidz1 (RAID5) or raidz2 (RAID6) after adding one or two new devices respectively and ...
paperclip optimizer's user avatar
0 votes
0 answers
85 views

Can vm-bhyve migrate a cloned vm?

I am trying to migrate (copy) a bhyve vm from one host to another using vm-bhyve's migrate command. If I migrate a zfs origin vm then the migration works. If I try to migrate a clone of that vm then ...
James B. Byrne's user avatar
3 votes
0 answers
348 views

What's the sharenfs syntax for using a netgroup with ZFS on Linux?

I'm trying to set up an NFS share with a new ZFS dataset (pool/data) and trying to share using an existing netgroup (foogroup). Running Ubuntu 20.04 on both the NFS server side and client side, it ...
qman777's user avatar
  • 31
0 votes
1 answer
150 views

zfs-2.1.12 with kernel 6.3.8-200.fc38.x86_64

zfs latest version is supposed to run on 6.3, but on fedora 38 (after installed zfs-2.1.12-1.fc38.x86_64) I get this after issued modprobe zfs: modprobe: FATAL: Module zfs not found in directory /lib/...
Tiutto's user avatar
  • 1
0 votes
1 answer
158 views

ZFS script pull latest snapshot and restore

I keep my zfs snapshot backups in zfs/snapshotbackps and my virtual machghines run off direct zfs location I am trying to create a script that will pull the latest snapshot and restore it. I've tried ...
Teddy77's user avatar
  • 2,993
1 vote
1 answer
881 views

How do I remove an unavailabe cache device from a zpool?

I moved my zpool from one server to another (arch linux) by physically moving the disks, minus the cache disk to a new server and importing it. It works fine, but the old cache device still appears as ...
Andreas Hartmann's user avatar
1 vote
1 answer
434 views

ZFS - Why do compressed files show disk usage of nearly double the apparent size?

Using FreeBSD 11.1-STABLE, I have a ZFS dataset configured with gzip-9 compression, as well as a recordsize of 8K. (This volume is for archiving of small files, not speed.) zfs get all pool02/...
s.co.tt's user avatar
  • 171
1 vote
0 answers
104 views

Failed to mount "rpool"

I was copying files from a storage drive to the SD card mounted in my Chromebook R11 (Linux Mint) when it locked up. I resorted to turning off and rebooting, my file reader no longer recognizes the SD ...
Joe Barry's user avatar
2 votes
1 answer
660 views

Can I mount zfs dataset to another mointpoint?

I am using ZFSBootMenu for multi-zroot. zpRoot/LINUX/Artix/System mountpoint / zpRoot/LINUX/eos/SysClone1 mountpoint / ...
Galaxy's user avatar
  • 237
1 vote
1 answer
606 views

OpenZFS and Linux Kernel versions compatibility question

Each new release of openZFS has a range of supported linux kernel versions (for example openZFS v2.1.9 supports kernels versions between 3.10 and 6.1) But when I run zfs version I get: root@pve:~# zfs ...
Héctor's user avatar
  • 278
1 vote
0 answers
533 views

How to automatically mount ZFS external USB flash drive when I insert it

In Ubuntu 20.04, I installed the zfsutils-linux package and formatted an external USB thumbdrive to use ZFS (sudo zpool create mypool /dev/sdb). I then changed its mount point to /media/user/mypool (...
Flux's user avatar
  • 2,938
1 vote
1 answer
487 views

How to allow non-root user to write to ZFS external USB flash drive

In Ubuntu 20.04, I installed the zfsutils-linux package and formatted an external USB thumbdrive to use ZFS (sudo zpool create mypool /dev/sdb). However, the mounted pool at /mypool is only writable ...
Flux's user avatar
  • 2,938
3 votes
1 answer
84 views

file locking mandated by OS/filesystem rather than opted into by file accessors?

Is there a way to have the OS (specifically, FreeBSD) or filesystem (specifically, ZFS) enforce that all access (or, at least, all non-root access, I guess) to a certain file must be done while the ...
Bob Vesterman's user avatar
2 votes
0 answers
55 views

How would I find the increase in Free Space if I delete a tree on ZFS?

Consider a ZFS Pool with deduplication enabled. Now consider multiple directory trees that contain identical content [D1 thru D10]. The first [D1] takes up TB of "real" disk space. The ...
David V. Corbin's user avatar
2 votes
0 answers
115 views

zfs scrubbing not detecting corruption in backing store - why?

A bit of background: I am storing VM images, my home directory, my mail, my media collection on single-primary DRBD devices built on LVM logical volumes built on two RAID0 arrays (one in each DRBD ...
Alexis Huxley's user avatar
1 vote
2 answers
993 views

LXD ZFS storage pool on lvm filesystem?

The default filesystem of my machine is lvm (Ubuntu 22.04). I would like to spin up LXD/LXC virtual machines to run some Apache projects like Hadoop and Spark. When setting up Hadoop there is a step ...
Mnemosyne's user avatar
  • 161
0 votes
1 answer
838 views

zfs will not import or mount on boot (fedora)

I just upgraded my system from Fedora 35 to Fedora 37. I rebuilt ZFS and I am able to import and mount my filesystems manually. However, no matter what I do, they do no mount at startup. I am not ...
jagauthier's user avatar

1
2 3 4 5
12