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.

ZFS is supported out of the box on a number of operating systems:

  • Solaris 10
  • Oracle Solaris 11 Express
  • FreeBSD
  • NexentaStor
  • illumos - specifically, illumos-based distributions, like:
    • Nexenta's illumian
    • Joyent's SmartOS (server OS with strong focus on virtualization)
    • OmniTI's OmniOS (general purpose server OS)
    • OpenIndiana (general purpose desktop/server OS)

Due to license incompatibilities, the CDDL licensed ZFS code cannot be distributed as part of the GPL licensed Linux kernel. Other alternatives methods are available for running ZFS on Linux:

1391 questions
1
vote
1 answer

Replacement disk faults

I had a disk in my pool fault (raise too many errors). The number of I/O errors associated with a ZFS device exceeded acceptable levels. ZFS has marked the device as faulted. impact: Fault tolerance of the pool may be compromised. eid: 52 …
fcimeson
  • 13
  • 2
1
vote
0 answers

ZFS/ZoL: Consequences of increasing zfs_vdev_async_read_min_active (and max)?

Vdev async read queues have min=1 and max=3 by default. All sync read/write queues are defaulted to min=max=10, while async writes get min=2 and max=10. Async reads are described as "prefetch reads" in the docs. So I take it that by design, when i/o…
Tavin
  • 111
  • 2
1
vote
0 answers

ZFS send/recv full snapshot

I have been backing up my ZFS pool in Server A to Server B (backup server) via zfs send/recv, and using daily incremental snapshots. Due to hardware issues, the ZFS pool in Server A is now gone - and I want to restore/recover it asap. Currently the…
1
vote
2 answers

How can one recover/write a label (clone existing one)?

ZFS stores 4 labels, 2 at the beginning of a device, 2 at the end. When they are corrupted a pool cannot be mounted. I had a case of 3 broken labels (failed to unpack), but 1 was still intact. I could list it with zdb -lu just fine. zpool import -d…
cfi
  • 258
  • 5
  • 15
1
vote
2 answers

Limiting ARC Size for the proposed system

I have a pool of 5 x enterprise 12Gps SSD that I use for internal storage for a proxmox server. This pool is used to stand up VMs and containers. The problem is that it is eating up a lot of my available RAM which is 192G! Here is the summary: As…
Shery
  • 121
  • 1
  • 6
1
vote
1 answer

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 -rw-r--r-- 1 root root 5,2T 23. Nov 22:40…
lalala
  • 13
  • 2
1
vote
0 answers

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 why I don't think it's a hardware problem. The…
Edgxxar
  • 11
  • 1
1
vote
1 answer

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 to cripple the pool and cannot import it any…
soulmerge
  • 131
  • 7
1
vote
1 answer

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 it with the Forced options continue to…
1
vote
0 answers

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: > zpool create -O encryption=on -O…
pstatix
  • 111
  • 2
1
vote
1 answer

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 pools, and that ZFS prefers direct access to raw…
simonw
  • 35
  • 6
1
vote
1 answer

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 message with future date "Sat Jul 10 01:33:47…
wtywtykk
  • 13
  • 3
1
vote
2 answers

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 errors. started scrubbing it weekly and the…
gdanov
  • 111
  • 2
1
vote
0 answers

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 verification. I'm also monitoring the disk data reads…
user714559
  • 11
  • 2
1
vote
0 answers

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 backup software appears to have some limit just…
asciiphil
  • 3,086
  • 3
  • 28
  • 53