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
1
vote
1answer
22 views

Frozen boot due to slow disk/controller

Im running ubuntu 20.04 on dell r740xd, One of the disk controller seem to present the disk(multipath disks used for openzfs pool) slow while the server is booting. If the server is boot from '...
0
votes
1answer
48 views

ZFS does not count memory usage

I've a zfs pool (raid10) of 4 hdd (2 tb) within my proxmox installation. Today i tried to overwrite the free memory with zero data on the root partition. Actually i wrote over 12tb without any errors -...
0
votes
1answer
39 views

ZFS performance: Extreme low write speed

I am running a small home server. The specs are: CPU: AMD Ryzen 5 2600 RAM: 32 GB ECC System drive: 128GB NVMe SSD Data drives: 3x 4 TB Seagate Barracuda HDD The server runs some applications like ...
0
votes
0answers
50 views

FIO 17x slower on ZFS than raw device

I have ZFS pool RAIDZ-1 on 4 x 3.84TB SATA3 'enterprise' SSDs. zfs create rpool/fio zfs set primarycache=none rpool/fio fio --ioengine=sync --filename=[X] --direct=1 --rw=read --bs=4K --numjobs=1 --...
1
vote
0answers
28 views

ZFS disk error on write

our ZFS backup pool is producing strange disk errors when writing data. This pool is replicated via DRBD on a second server with identical hardware which is also experiencing the same errors. This is ...
0
votes
1answer
36 views

Recovering data from a zpool with a missing device

I have a zpool consisting of two mirrored drives, storing all my personal data. I wanted to add another mirror drive, since the other drives have been in use for several years now. Instead, I managed ...
0
votes
1answer
29 views

Does zfs zfs recv validate checksums?

It seems that zfs send includes a checksum for all included data (stated for instance here). Is this checksum automatically verified by zfs recv? I would assume it is, but I cannot find any ...
0
votes
0answers
19 views

Degraded RAIDZ2 but cannot find the failed disk

I'm not too experienced with raid and ZFS things, and here's what I encounter. A raidz2 array was showing degraded status. One disk states unavail and says that it was /dev/da3p2. Strangely enough, ...
0
votes
0answers
63 views

Is a ZVOL considered copy-on-write anymore if I format it with another filesystem?

According to official requirements from Microsoft, SQL Server 2019 only supports either ext4 or xfs. I suspect that a Copy-On-Write filesystem such as btrfs or zfs may hurt the performance of the ...
0
votes
0answers
30 views

Understanding output of zpool status and physically identify faulted disk

I have a ZFS running on an Ubuntu 20.04 server that currently is running in degraded state due to a faulted disk. The output of zpool status looks as follows: me@server:~$ zpool status tank pool: ...
1
vote
0answers
29 views

Running zfs trim twice on the same pool still takes forever the second time

I have this ZFS pool consisting of two mirrored 1TB Samsung 870 QVO drives, that I've been using for about a year for storing bhyve guest images as ZVOLs. During that time, I've created / messed with /...
1
vote
1answer
91 views

ZFS datasets wont mount after upgrade to ubuntu 21.10

So i recently upgraded from Ubuntu 21.04 to 21.10 and now my ZFS datasets wont mount, even manually using the forced option. I have tried exporting the pool and re-importing the pool, but even trying ...
0
votes
1answer
39 views

How to Diagnose Constant ZFS Repairs

I ran a zpool scrub 4 times on my pool today. Each time, it found and fixed errors. Bad drive, right? The pool has 2 drives, and smartctl reports zero Raw_Read_Error_Rate for each. So the drives say ...
1
vote
0answers
12 views

No files after send/receive of snapshot between systems

I have two separate systems, prime and alt, on the same network in the same rack: prime 192.168.0.100 alt 192.168.0.101 Each system has a zpool running on it, created with the following sequence: &...
2
votes
2answers
48 views

Does it make sense to create a zpool with lots of mirror vdevs?

To prefix, I am rather new to ZFS. My goal is to create an internal NAS system, with minimal chance of losing all my data. I've currently acquired four 4TB disks, and I plan to run them in a single ...
2
votes
2answers
121 views

High speed network writes with large capacity storage

I have a NAS running Samba with a 20T ZFS pool with one raid1 vdev with two spinning rust drives. I have 16G RAM in the machine right now. The storage is used for continuously growing, permanent ...
1
vote
1answer
38 views

LXD on ZFS on LVM on H/W RAID 10

I have a Dell R540 with PERC H730P running RAID 10 over 12 DISK to the tune of ~22TB. I want to run various applications/services in LXD containers. I understand that ZFS is preferred for LXC storage ...
0
votes
0answers
60 views

adding a new hard drive for data under linux with zfs

I cannot get my zpool dataset to preserve and mount after reboot I am sure I am missing something basic, but here goes: I have Linux (Artix) installed on /dev/sda as ext4. Note: Artix does not use ...
0
votes
1answer
65 views

Is there an advantage to using discreet ZFS datasets/filesystems in a single zpool?

I have a Centos server utilizing ZFS on Linux. The disks are in a single zpool. When you type in zfs list it shows a single filesystem(?)(dataset?), tank1. NAME USED AVAIL REFER ...
2
votes
1answer
118 views

ZFS Pool Data Backup and Restore

I currently have a zfs raidz2 pool stuck in a resilvering loop as I was trying to replace the 3TB disks with 8TB disks. After letting the first replacement disk resilver online for over a week it ...
1
vote
0answers
118 views

Clear ZFS Checksum errors?

TLDR; My ZFS mirror pool got some checksum errors. I replaced the controller, thinking that was the most likely cause, but the errors won't clear. pool clear temporarily resets them, but they come ...
3
votes
1answer
102 views

Are ZFS Automatic Spares Size-Aware when Using "autoreplace=on"?

Max ZFS codebase for pool: zfs-linux (0.7.5-1ubuntu16.11) Imagine a pool that grew unexpectedly, by adding larger mirrors in terms of physical disk capacity. Spares went in tow. New mirror, new spare. ...
1
vote
1answer
40 views

Why ZFS spare is in use with all drives working

I have a zpool with 7 drives, 6 for raidz-2 and 1 for spare. Just now the system is suddenly off, and after restarting it shows the spare is in use, but the drives seems to be working. Also, it has a ...
0
votes
0answers
81 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 ...
1
vote
2answers
103 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 ...
1
vote
0answers
115 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 ...
0
votes
1answer
147 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' ...
2
votes
1answer
158 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. ...
0
votes
0answers
32 views

Stale Samba Shares from ZFS on Ubuntu

Originally, this Ubuntu server had a zpool attached, and the filesystems on it had sharesmb enabled. Since then, the zpool is no longer attached, and zfsutils-linux has been uninstalled. However, the ...
0
votes
1answer
64 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 ...
0
votes
0answers
65 views

Zpool seems to have both resilver and scrub happening concurrently after disk reinsertion

I have an Ubuntu 20.04 server which is running ZFS with a 56TB disk array. We have a disk marked as FAULTED. While trying to deal with this, we accidentally pulled out the wrong disk (it seems the ...
4
votes
1answer
152 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 ...
2
votes
1answer
34 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 ...
0
votes
0answers
114 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 ...
0
votes
2answers
172 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 .. ...
6
votes
1answer
515 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 ...
0
votes
0answers
89 views

ZFS + samba server gets stuck. How can I debug?

I run a Ubuntu server on my LAN for self hosting multiple services for my family and it has been getting stuck regularly and I am lost at where to look. Any help would be very appreciated. The problem ...
0
votes
1answer
151 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 &...
2
votes
1answer
486 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 "...
0
votes
0answers
63 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 ...
2
votes
2answers
31 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 ...
2
votes
1answer
109 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 ...
0
votes
0answers
45 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 ...
2
votes
1answer
597 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 ...
0
votes
0answers
23 views

using different sized zfs-mirrors to keep pool expandable

I'm a fulltime Linux-Admin and want to get more into becoming more familar with zfs. For my homelab-setup I always followed the following strategy for storage: Generic Linux-box, ubuntu LTS or ...
0
votes
0answers
157 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 ...
2
votes
1answer
277 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 ...
0
votes
0answers
18 views

Where did my bind mountpoint go? What is ZFS doing underneath with set mountpoint?

This is ZFS on Linux, under Proxmox 6.3-4. zfs.ko v.2.0.3-pve2 on kernel 5.4.101-1-pve #1 SMP PVE I create 3 filesystems, touch an identifying file in two, then set mountpoint of one into another, ...
1
vote
0answers
76 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....
2
votes
1answer
49 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 ...

1
2 3 4 5
27