As of May 31, 2023, we have updated our Code of Conduct.

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
0 votes
1 answer
30 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,813
1 vote
1 answer
27 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
-2 votes
0 answers
25 views

ZFS not working after packages update in debian

I upgraded my debian system (Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux) and a new kernel was installed (5.10.0-22-amd64). After that, the system couldn't complete the boot, and entered emergency ...
zar's user avatar
  • 241
1 vote
1 answer
73 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
  • 161
1 vote
0 answers
29 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
77 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
  • 225
1 vote
1 answer
104 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
  • 248
0 votes
0 answers
117 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,426
0 votes
1 answer
74 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,426
3 votes
1 answer
41 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
0 votes
0 answers
83 views

initramfs prompt appears while booting - Error regarding zfs mountpoint

I am getting the following error if i try to boot my system: Busybox v1.30.1 Gave up waiting for root file system device. Common problems: - Boot args (cat /proc/cmdline - Check rootdelay= (did ...
cd4user's user avatar
  • 33
2 votes
0 answers
43 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
60 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
146 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
  • 151
0 votes
0 answers
39 views

Is there a command under OpenZFS which can be compared to z/OS zfsadm shrink?

At least since version 2.3.0, there is a zfsadm shrink command under z/OS: https://www.ibm.com/docs/en/zos/2.3.0?topic=commands-zfsadm-shrink https://www.ibm.com/docs/en/zos/2.4.0?topic=commands-...
Eddy763's user avatar
  • 54
0 votes
1 answer
190 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
0 votes
1 answer
109 views

A little difficult: how to replicate the posix acl default on zfs/nfsv4 acl?

Suppose I want a dir, which all files and directories created inside has the group permission of the group owner of the dir, and 770 as default permission. With posix ACL is really easy #create a dir.....
elbarna's user avatar
  • 11.9k
1 vote
0 answers
49 views

How to reset zpool after accidentally disconnecting a drive?

I am using OpenZFS on macOS (openzfsonosx.org), on a USB drive. It turns out that if I accidentally disconnect the drive from the computer, then zpool gives errors. However, if I reboot and reconnect, ...
Ma Joad's user avatar
  • 111
1 vote
1 answer
121 views

Confusing about raid-z and new disk added

During experiments with raid-z on Solaris-CBE I obtain this I create a raid-z pool zpool create pool1 raidz c4t3d0 c4t5d0 c4t4d0 Then I want to add a disk zpool add pool1 c5t0d0 return error (pool1 ...
elbarna's user avatar
  • 11.9k
0 votes
1 answer
67 views

ZFS/ZPOOL: How to safely "reassemble" a pool?

I have a setup with a smaller boot/root SSD drive and two HDDs organised into a mirror zpool, which I created as follows: zpool create megastorage mirror /dev/sdb /dev/sdc zfs create megastorage/...
Sergey's user avatar
  • 568
0 votes
0 answers
54 views

Docker zfs storage driver not specified in daemon.json - Uses zfs storage driver

I recently checked the daemon.json file on multiple servers and zfs storage driver is no longer specified. It was previously. I believe an Openstack installation via kolla-ansible may have changed ...
alpha23's user avatar
  • 11
0 votes
0 answers
226 views

FreeNAS (11.2-U7) how to repair degraded boot pool that is on two USB sticks?

I have a Dell R230 which I've setup a few years ago with FreeNAS (installed version is 11.2-U7) The boot partition was installed on a mirrored pool on two 32GB USB sticks. /dev/da9p2 - SanDisk Ultra ...
matthias_buehlmann's user avatar
-1 votes
2 answers
163 views

How to convert ZFS to bcachefs on Linux Mint 21 and LMDE5?

The first bcachefs supporting Kernel 6.1, are released on 2022-12-11. See follow sources: https://evilpiepirate.org/git/bcachefs.git https://web.archive.org/web/20230207003903/https://evilpiepirate....
Eddy763's user avatar
  • 54
0 votes
1 answer
53 views

Solaris11: is possible to create an encrypted root and unlock it via usb?

On Linux is possible: with luks+ext4 or luks+btrfs there are a lot of how-to's on web. Is also possible using ZFS. On Solaris 11 is possible something like this? Using a passphrase on boot is ok only ...
elbarna's user avatar
  • 11.9k
1 vote
0 answers
35 views

ZFS pool corrupted, shows /dev/sdb twice as disk used

Woke up to a nasty surprise a couple of days ago to see that my zpool couldn't be imported. After discovering that sdb had faulted I assumed it was time to replace the drive, so I hot swapped it. ...
user3471547's user avatar
0 votes
1 answer
40 views

What to use to manage storage and snapshot/backups for KVM host?

I have built a KVM host, on which I will run 10-15 vm's. I am still thinking what is the most efficient and easiest way to manage its storage (5 disk with 3TB's) and the backups of the machines. For ...
Baequiraheal's user avatar
0 votes
1 answer
820 views

zfs on Linux: how to import an encrypted pool if you dont' know where key must be mounted?

I'm on a livecd with zfs. I want to import an encrypted pool which has a keyfile as "passphrase" first I mount the usb dongle with keyfile mkdir /tmpusb mount /dev/disk/by-uuid/uuidofdongle.....
elbarna's user avatar
  • 11.9k
1 vote
0 answers
181 views

What is about dnode size and limits

I've copied a reddit post which asks my question and haven't been answered: Greetings, I've been tinkering with a tool to monitor ZFS usage and statistics for the last few weeks. It's encouraged me to ...
buduboti's user avatar
1 vote
0 answers
92 views

Increment of HDDs disk read request waiting time after linux kernel update

Issue presentation: Environment: Debian (bullseye) based distro (proxmox VE) on top of ZFS Action: Kernel update from 5.15.74-1 to 5.19.17-1 Consequence: Increment of HDDs disk read request waiting ...
Héctor's user avatar
  • 248
1 vote
0 answers
196 views

arch pacman insists on wrong kernel version

Output from uname -a Linux janus 5.15.85-1-lts #1 SMP Thu, 22 Dec 2022 06:22:00 +0000 x86_64 GNU/Linux When I build zfs-liunx I get: checking kernel source and build directories... done checking ...
theking2's user avatar
  • 201
1 vote
0 answers
122 views

Recover from ZFS pool with two failed SLOG devices without recreating the pool and restore?

I accidentally assigned both sides of a mirror to the same physical device. That drive failed, I recovered from a couple lost files already. Here is the pool: # uname -a FreeBSD nas.d20int.d20hobbies....
James Risner's user avatar
  • 1,103
0 votes
0 answers
181 views

how can I do incremental backup of raw image?

the virsh checkpoint only works with qcow2 images. I wonder if it is possible to use qemu tools to create backup of raw image (offline). We use raw image due to performance issue of qcow2 on btrfs/zfs....
Wang's user avatar
  • 1,162
1 vote
0 answers
52 views

ZFS Mounting local filesystem ; eval : zfs not found - eval: touch not found - /etc/rc : date not found

My main FreeBSD 13.1 installation freezes at some point of the booting process showing these messages : Mounting local filesystem eval : zfs not found eval: touch not found /etc/rc : date not found ...
Marietto's user avatar
  • 491
0 votes
0 answers
23 views

How to spin up VM with transferred zfs image from bhyve on KVM?

I have transferred a snapshot of a VM from bhyve and this is what I have on KVM host: NAME USED AVAIL REFER MOUNTPOINT zfs-pool 50.4G 10.4T 170K /zfs-pool zfs-pool/vm-test 50.4G 10.4T 40.4G - How ...
Baequiraheal's user avatar
0 votes
1 answer
271 views

ZFS pool free space discrepancy

I am facing a similar issue with free space accounting as described in zpool list vs zfs list - why free space is 10x different?. My situation is however different, even after accounting for the ...
trashbarg's user avatar
2 votes
0 answers
91 views

lsblk showing "P" as disk capacity which is wrong

As mentioned in the title, lsblk has "P" in couple of my disk when clearly I don't have any disk that has petabyte of capacity. Or could the "P" here mean something completely ...
shriek's user avatar
  • 123
1 vote
0 answers
68 views

Help restore destroyed zfs snapshot

Docker tricked me, after a sas backplane problem, the server had been booted without the zfs systems mounted, this caused docker to create a clean directory structure under /data/servers/fs (which is ...
DusteD's user avatar
  • 11
0 votes
1 answer
1k views

Kernel-header packages I installed Debian are the wrong version

I was trying to install ZFS on Debian 11 and a prerequisite is to install the proper kernel headers. Every package I have tried to install has not worked. My kernel is 5.10.0-18-amd64, but these all ...
user avatar
0 votes
0 answers
215 views

ZFS with Docker mounting: cannot destroy snapshot, dataset is busy

I use ZFS snapshots with Sanoid. However, I have now mounted the ZFS Snapshots folder for my Docker instance of NextCloud. Unfortunately, this seems to lead to the problem that old snapshots can no ...
CptDayDreamer's user avatar
1 vote
0 answers
43 views

Automatic cloning and iscsi sharing of zfs dataset on connect

Since iSCSI was not designed to support multiple concurrent clients accessing the same dataset, is it technically possible without modifying code/recompiling (but maybe create scripts and systemd ...
Zulgrib's user avatar
  • 906
1 vote
0 answers
133 views

NFSv4 ACLs on ZFS and other permissions

All, I've been experimenting with using NFSv4 ACLs on ZFS datasets to set default permissions in a handful of directories that are accessed using a few different means (eg. SFTP, NFS, etc.) I've been ...
Steven Stallion's user avatar
0 votes
0 answers
45 views

Persistently and completely shut down disk drive in debian (as spare to a ZFS raid)

What I want Shut down persistently and completely a disk drive on debian based distribution. With persistently I mean indefinitely and persistent through power cycles / reboots. With completely I mean ...
Héctor's user avatar
  • 248
1 vote
1 answer
311 views

How to use vm-bhyve image create?

As per the Documentation it will create a new image from the named virtual machine you pass. It should look like this: vm image create -u VMNAME After executing that command as root I get this error: ...
Baequiraheal's user avatar
2 votes
1 answer
3k views

expanding ZFS raid-z vdev with newly added disks?

I realize it's only recently become possible, via the new zfs raid-z vdev expansion feature: https://github.com/openzfs/zfs/pull/12225 https://freebsdfoundation.org/blog/raid-z-expansion-feature-for-...
Bob Levy's user avatar
1 vote
0 answers
134 views

ZFS On Linux - recover lacked MBR after physical problem

We had a physical problem in our backup server (we suppose an electrical shock due to the thunderstorm). The system is Linux Debian on a disk and the storage in on a two 4 TB disks RAID-1 ZFS (ZFS On ...
Le Nain Jaune's user avatar
0 votes
0 answers
272 views

Linux - moving boot, efi, grub to other disk

I followed this steps: From the desktop, double-click "Install Linux Mint". From "Erase disk and install Linux Mint", click button "Advanced features...". Select option &...
DreamRex's user avatar
2 votes
1 answer
577 views

Failed to boot after installing dracut on Ubuntu 22.04 with zfs file system

I installed (sudo apt install dracut, did not change any configuration files) dracut on my Ubuntu 22.04 and rebooted. Now I get the message dracut: FATAL: Don't know hot to handle 'root=ZFS=rpool/ROOT/...
ubuntulinuxxuser987's user avatar
0 votes
1 answer
456 views

Expand zpool vdev

Hello I'm looking to expand my vdev and I'm confused about what command I need to do this. Here is what I have pool: DATA01 state: ONLINE scan: scrub repaired 0B in 0 days 07:43:11 with 0 errors ...
fcimeson's user avatar
-1 votes
1 answer
88 views

Need to find contents of Solaris zfs snapshot

I have zfs snapshot and I want to view the contents of particular snapshot. This is for Solaris 10.
user539698's user avatar
3 votes
0 answers
713 views

Backup entire zfs pool to different filesystem

I have a zpool with around 6TB of data on it (including snapshots for the child datasets). For the important data in it, I already have backups on filesystem level. As I need to perform some rather &...
Dom42's user avatar
  • 31

1
2 3 4 5
12