Questions tagged [zfs]

ZFS is a modern file system and volume manager originally developed by Sun Microsystems and licensed under the CDDL. It is a copy-on-write file system with support for large storage arrays, protection against corruption, snapshots, clones, compression, deduplication and NFSv4 ACLs. An open-source fork of ZFS can be found at http://open-zfs.org/ , which is supported by ZFSonlinux.org, illumos.org and ZFS developers in the FreeBSD & Mac OS X communities.

Filter by
Sorted by
Tagged with
0 votes
0 answers
367 views

ZFS Pool Disk faulted. Offlined and replaced and now I am stuck

Original fault: pool: datastore7 state: DEGRADED status: One or more devices could not be used because the label is missing or invalid. Sufficient replicas exist for the pool to continue functioning ...
Ashley Hill's user avatar
1 vote
2 answers
211 views

zfs pool status unstable

I've been running zfs pool on ubuntu problem free for years. currently on 20.04 since around beginning of this year I've had to replace 2 out of 4 disks and even then brand new disks started showing ...
gdanov's user avatar
  • 111
2 votes
0 answers
741 views

Progress for zpool import -fFX

I'm running zpool import -fFX on a 8x4TB striped, mirrored (raid10) pool. The documentation states the extreme rewind import (import -X) performs a full traversal of all blocks in the pool for ...
user714559's user avatar
0 votes
1 answer
780 views

Error replacing ZFS disk

I’m trying to replace a disk in a TrueNAS ZFS pool and I’m getting the error cannot replace 5885333735856859460 with ada6: already in replacing/spare config; wait for completion or use 'zpool detach' ...
Rich's user avatar
  • 163
2 votes
1 answer
943 views

Recovering data from TrueNAS pool in Ubuntu

I am having a heck of a time trying to get my data off my drives that were in a pool in TrueNAS. I installed Ubuntu on another drive in the same server and loaded Ubuntu 21.04 and installed zfsutils. ...
Parzival's user avatar
0 votes
1 answer
198 views

ZFS Transfer extremely bursty

I am testing a new ZFS configuration with z-std for log storage and storage of highly compressible files. The Array is tested on a 5 drive raidz-1 in a virtual machine on my PC which has direct access ...
user3829915's user avatar
4 votes
1 answer
529 views

HUH721010AL5200 drives with different number of sectors (WD vs Dell)

I ordered some spare hard drives to replace a failed hard drive in my zfs pool (raidz2 with 12 10TB hard drives on a supermicro server running Ubuntu). I made sure to order hard drives with the exact ...
Jean-François Gout's user avatar
2 votes
1 answer
1k views

ZFS pool continually DEGRADED or FAULTED

I've got a pool in raidz1-0 with 5 drives in it. I'm not sure exactly when, but all of the sudden all the drives went from always being ONLINE with no read, write or checksum errors to randomly ...
SteppingHat's user avatar
1 vote
0 answers
554 views

Is there a way to restrict the maximum path length to a directory on Linux and/or OpenZFS?

I have a ZFS filesystem (ZFS version 0.8.5) on Linux (kernel 3.10.0) for which I'd like to restrict the total path length on nested directories. I'm not sure if there's a way to do that, though. My ...
asciiphil's user avatar
  • 3,146
0 votes
2 answers
914 views

restore from zfs incremental backup

I have create zfs backup in the following way: create full backup zfs snapshot pool/mydata@fullback zfs send pool/mydata@fullback > /backup/fullback 2.create five incremenatal backup incr1 .. ...
Pratik Gautam's user avatar
7 votes
1 answer
1k views

Data missing after ZFS replication on FreeNAS/TrueNAS

In order to use the new encryption method in TrueNAS 12 I copied all data from a legacy encrypted FreeNAS pool to a newly formatted pool via a replication task. After replication there seems to be ...
Andept's user avatar
  • 73
0 votes
1 answer
2k views

Add users, permissions of folders, etc on ZFS pool

First of all, I'm still learning Unix basics :) so sorry in advance. I had created on my home server ZFS pool by Proxmox as "root". After that I created Linux Mint virtual machine ( with &...
ruffpl's user avatar
  • 1
3 votes
1 answer
2k views

Zero downtime with Kubernetes on top of GlusterFs on top of a ZFS raid - Is this the best solution?

TL;DR A client requests me to make a robust system to run containerized microservices within their LAN. Restriction: They give me 2 machines and 6 data-disks. No more hardware. I have to build "...
Xavi Montero's user avatar
2 votes
1 answer
2k views

Sequential write to zvol is much slower than to a dataset on the same zpool

While experimenting with Proxmox VE, we have encountered a strange performance problem: VM disks can be stored (among other options) as individual raw ZFS zvols, or as qcow2 files on a single common ...
n.st's user avatar
  • 796
1 vote
2 answers
275 views

Samba share available space is smaller than zfs poll size

I have a FreeNas server with zfs pool. Configuration: 6 x 2TB disks in RAIDZ2. 15.5 TB raw space of disks. # zpool list -v NAME SIZE ALLOC FREE EXPANDSZ FRAG ...
XorOrNor's user avatar
  • 241
2 votes
1 answer
402 views

zfs checksum errors on Solaris 11 under KVM

Synopsis: libvirt 5.6.0, QEMU 4.1.1, Linux kernel 5.5.10-200, Fedora Server 31. Solaris 11.4 fresh install (with Solaris 10 branded zones), raw disk on XFS (unfortunately, no possibility to switch to ...
drookie's user avatar
  • 8,759
0 votes
0 answers
109 views

Problems with Debian VM - import ZFS pool state: UNAVAILABLE

I had created RAIDZ1 pool in Proxmox. I had created Ubuntu VM and passed the controller with disks to it. After little while I wanted to try Debian. I had removed the controller from Ubuntu VM without ...
ruffpl's user avatar
  • 1
2 votes
1 answer
2k views

PERC H740p single-disk RAID 0 versus JBOD/Pass-Through/eHBA/IT mode (For ZFS on Linux)

We have a server with PERC H740P mini (embedded) and a 2 disk RAID 1 with EXT4 for the OS (CentOS 7.8) and a 6 disk raidz2 ZFS on Linux setup for the data, all on the same controller. It's generally ...
sed_and_done's user avatar
0 votes
0 answers
398 views

ZFS: 3 whole disks + partition vs 4 whole disks

While the title is ambiguous, I couldn't find an appropriate one. New to ZFS. I have 1 proxmox server at SoYouStart for testing purposes. The server has 4x2TB HDD (SoftRAID), and the partition table I ...
Max13's user avatar
  • 141
3 votes
1 answer
2k views

Are ZFS snapshots really "free"?

I've heard many times that ZFS snapshots are "free", that because of ZFS' copy-on-write design snapshots do not consume any disk space unless data is changed, and only then the space usage ...
Josh's user avatar
  • 9,208
1 vote
0 answers
202 views

Why does this systemd service not run at the right time (loading encryption keys from a network drive which are required for lxc containers)?

In Debian with systemd, I use zfs and lxc. My zfs datasets are encrypted and their keys can be loaded from a network host via my /etc/zfs/zfs-load-key.sh script. My LXC containers are started by lxc....
divB's user avatar
  • 570
2 votes
1 answer
110 views

What would be the ideal solution to sync 2 offline systems?

we are in a special case where we have 2 Ubuntu offline servers in 2 DCs and should be kept offline when not used. When we need to use them, we power up one of them, do whatever we want physically via ...
thouvou's user avatar
  • 43
3 votes
0 answers
115 views

ZFS missing filesystem after interrupted backup

I have two filesystems in a pool, backup/nextcloud and backup/vm. Today, after a send/receive transfer was interrupted before it could finish (I was backing stuff up to these filesystems), I no longer ...
levente's user avatar
  • 31
2 votes
2 answers
2k views

Relatively new WD Red Pro yielding ATA status: 41 (DRDY ERR), error: 40 (UNC ) on FreeBSD 12.2

I am running a TrueNAS server based on FreeBSD 12.2. I migrated the storage to 10 TB WD Red Pro. They're running for 42 days now. Out of the sudden, during a ZFS scrub, one of the disks yielded 5 ...
Peit's user avatar
  • 131
0 votes
1 answer
2k views

What happens when ZFS RAID0 or RAID1 (single disk) detects data faults?

There are many articles about how ZFS protects the data and detects bit rots etc. There is even a question asking about ZFS on a single drive. zfs on a single device: what happens when a file is ...
yurtesen's user avatar
  • 200
1 vote
2 answers
449 views

raidz1 6x4TB = 16.9t?

I an running Ubuntu server with the latest version of zfs-utils. I installed 6x4TB disks (lsblk -b shows all disks partition 1 size=4000787030016) and created a raidz1 configuration with all 6 disks. ...
Gordon Shumway's user avatar
4 votes
1 answer
743 views

ZFS: device vdev wandered faulting zpool

I have a zpool thats now showing in a FAULTED state after a power outage rebooted the server & devices names got thrown around. I understand I messed up by adding vdevs by device name, but didnt ...
tango's user avatar
  • 43
4 votes
1 answer
1k views

zfs-share vs. /etc/exports NFS export on Linux

I am setting up a share of a large ZFS storage via NFS on Linux. As far as I understood there are two possible ways to configure this: by means of /etc/exports or by using zfs-share. I have not been ...
Nicola Mori's user avatar
0 votes
1 answer
387 views

ZFS: i/o error - all block copies unavailable on reboot

I am trying to create RAID-Z pool on 3 disks, but I'm getting this error after reboot: zpool create -f -o altroot=/mnt datapool raidz vtbd0p3 /dev/da0 /dev/da1 Error is ZFS: i/o error - all block ...
Sreekanth Chityala's user avatar
9 votes
5 answers
27k views

Differences between HW RAID and ZFS

Background I'm installing Proxmox Virtual Environment on a Dell PowerEdge R730 with a Dell PowerEdge RAID Controller (PERC) H730 Mini Hardware RAID controller and eight 3TB 7.2k 3.5" SAS HDDs. I ...
Matthew Rankin's user avatar
0 votes
1 answer
55 views

i'm able to create raidz with diff sized of hard disk. where im missing?

i read about raidz5 cannot create with diff sizes of hard disks but i'm able to create raidz with diff sized of hard disk please tell me where im missing? da0 0:107 12G zfs ...
Sreekanth Chityala's user avatar
2 votes
1 answer
7k views

Proxmox kills VM when RAM usage grows

I don't know if this stackexchange site is the most suited to my question, please flag this for mods to move the question elsewhere if it isn't. Context & issue I installed Proxmox on a physical ...
Gabriel's user avatar
  • 141
0 votes
1 answer
140 views

ZFS Failed Multiple New Drives

It was decided to replace our aging primary NAS, consisting of three 48 drive SAS expanders of 4TB drives, with a similar system of 12TB drives while reusing some of the newer hardware, one expander ...
Chris Woelkers's user avatar
0 votes
1 answer
94 views

Creative solution for a crippled zpool (aka help a dying raid to survive for 1-2 weeks)

I have a ZFS RAIDZ-7 made by 8x4TB on a Proxmox 6 (linux kernel version: 5.4.78-2-pve, openZFS version: 0.8.5-pve1). An unfortunate astral conjunction force me to remove 3 disk from my RAIDZ. In ...
Steve81's user avatar
  • 23
2 votes
1 answer
107 views

Monitor ZFS shrink events

I am using ZFS with Proxmox (debian based). The system has enough free RAM but I am close to hitting the point where ARC shrinking could be trigered. I would like to monitor these events, or at least ...
drcelus's user avatar
  • 1,254
0 votes
1 answer
2k views

ZFS 2.0: How can I lower CPU-load on write with very slow disks and weak CPU?

I have a small 32bit-ARM-based board with three disk attached via USB 2.0. This has been running fine with ZFS 0.7.1 and 0.6.x for a long time, and I do not mind the reduced disk performance. (I am ...
Martin's user avatar
  • 336
2 votes
1 answer
1k views

ZFS slow scrub on two HDDs

The pool consist of two HDDs (WD Red 3 TB, 5200 RPM?, max transfer rate 147 MB/s & Verbatim (Toshiba) 3 TB, 7200 RPM) in raidz1-0 configuration. It has 2.25 TB of data, duplicated to two disks so ...
NikoNyrh's user avatar
  • 161
0 votes
1 answer
205 views

ZFS raidz3 on proxmox having IO issues

I'm running Proxmox 6.2-11 with 256GB ECC RAM and the following raidz3 pool: pool: rpool state: ONLINE scan: scrub repaired 0B in 0 days 15:25:14 with 0 errors on Sun Jan 10 15:49:29 2021 config: ...
Stanimir Stoyanov's user avatar
5 votes
1 answer
169 views

Will a Solaris server tolerate a ZFS pool from its future?

My experience with ZFS has generally been that it just works, so I expect the answer will be, it’s not a problem — but I have a data pool which will ruin my January if it fubars, so I want to double-...
Deep Thought's user avatar
  • 1,628
4 votes
1 answer
679 views

Incorrect cache device after ZFS import

I've recently migrated from an Ubuntu machine to an Arch Linux machine. I imported the pool using the zpool import -f tank and it reported my cache drive as faulted, but my storage drives are working ...
Stephen__T's user avatar
1 vote
0 answers
1k views

How to boot ZFS root filesystem after setting dnodesize = auto (making grub unable to read the disks)

I have a proxmox (v5.4 I think) installation on top of ZFS in a server with 6 disks. There are 2 pools: rpool in a mirror of two SSDs that has the proxmox root filesystem and some containers and zvols....
Héctor's user avatar
  • 141
1 vote
0 answers
179 views

ZFS: inconsistent allocated space after changing recordsize

some info/setup: pool was original created with no datasets + default recordsize (128K) + ashift=12 + no compression + using default checksum (which I believe is fletcher4) I copied some videos (...
mrjayviper's user avatar
6 votes
2 answers
11k views

When and how often does ZFS 'autotrim' take place?

I have read "Add TRIM support" article, but failed to get a clue for "When and how often does ZFS autotrim take place?" And How can I observe activities of autotrim? Thanks for ...
sohnman's user avatar
  • 83
1 vote
0 answers
433 views

proxmox zfs pool not importing

Today I restarted my proxmox server which has a zfs pool for my data. The zfs pool did not come back up after the restart and is not visible in the proxmox UI. When I try importing the pool manually I ...
Michel van Driel's user avatar
1 vote
1 answer
251 views

Intel DH895XCC Series QAT and ZFS (2.0.0) - custom initramfs with dracut

We would like to run ZFS with QAT offloading for compressions and checksums. The distribution is Centos 8.2 with the stock kernel: [root@dellqat ~]# uname -a Linux dellqat 4.18.0-193.19.1.el8_2.x86_64 ...
fstrati70's user avatar
0 votes
0 answers
69 views

In running iSCSI, Disk I/O get worse when default gateway is connected

The server has been running iSCSI service for the diskless client, and I have noticed that the connection of server's gateway(internet connection or a fake gateway) made iSCSI performance worse. Is ...
sohnman's user avatar
  • 83
6 votes
2 answers
1k views

ZFS inside of virtual machine?

Are there any technical reasons why I shouldn't use ZFS file system inside a VM on a hypervisor on top of hardware RAID? schema.png
nanashi32's user avatar
0 votes
0 answers
789 views

How to easily give all available space for "zfs create -V" command?

I need to create an ext4 fs over a zpool. I wanted to use all (or almost all) available space, as shown below. # zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP ...
nagylzs's user avatar
  • 809
2 votes
0 answers
96 views

zfs diff gives error on encrypted dataset (Key must be loaded to discover path names: Permission denied)

I'm running the following on Debian 10: zfs-0.8.4-2~bpo10+1 zfs-kmod-0.8.4-2~bpo10+1 I have a 2TB (passphrase encrypted) dataset used by many colleagues. I am also using Zabbix for monitoring, and ...
Oleg's user avatar
  • 413
2 votes
1 answer
1k views

ZFS interpret output of zdb -S tank

I wanted to know if it would pay it out for me to activate the zfs deduplication so I ran the command zdb -S tank but know I need some help to interpret the output. Simulated DDT histogram: bucket ...
White's user avatar
  • 125

1 2 3
4
5
29