Questions tagged [zfsonlinux]

zfsonlinux provides a native Linux kernel port of the ZFS filesystem so that ZFS may run natively on Linux. It is very different from ZFS-fuse which provides ZFS on top of a userspace-filesystem layer. The ZFS On Linux project is hosted on zfsonlinux.org.

zfsonlinux provides a native Linux kernel port of the ZFS filesystem so that ZFS may run natively on Linux. It is very different from ZFS-fuse which provides ZFS on top of a userspace-filesystem layer.

The ZFS On Linux project is hosted on zfsonlinux.org.

268 questions
2
votes
1 answer

Why doesn't ZFS vdev removal work when any raidz devices are in the pool?

First: I'm perfectly okay with accepting that this is the case for now and am not looking for an immediate solution, rather I'm trying to understand the technical limitation for this constraint. I'm working primarily with ZFS on Linux, but my…
Joachim Sauer
  • 840
  • 5
  • 19
2
votes
3 answers

How to nest & share multiple ZFS pools over Samba to multiple users

I have the following ZFS structure: % sudo zfs list 16:03:46 NAME USED AVAIL REFER MOUNTPOINT zpool1 1.18T 5.86T 544K …
ifiht
  • 69
  • 6
2
votes
1 answer

ZFS: Replace raidz1-member of a striped pool for raidz2

I have a pool (in Ubuntu 20 LTS) like this: # zpool status pool: zpool_test state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM zpool_test ONLINE 0 0 0 raidz2-0 ONLINE 0 0 …
2
votes
1 answer

ZFS disk with Postgresql fragmenting quickly with write-heavy application

I am running a write-heavy application where I am storing my Postgresql on ZFS. Generally, it works well, but I am finding that my ZFS pool is fragmenting heavily. I even created a new ZFS pool and moved the data there using zfs send / recv, in…
Jason
  • 131
  • 1
  • 5
2
votes
2 answers

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 'recovery mode'->'resume normal boot' the slow controller…
sherpaurgen
  • 616
  • 6
  • 10
  • 26
2
votes
2 answers

.zfs folder's missing, but snapshots are still there and mountable (inode trouble?)

$ sudo zfs list -t snapshot | grep childDataset3 a whole bunch are listed as expected (e.g. pool/dataset/childDataset3@today) $ ls /pool/dataset/childDataset3/.zfs ls: cannot access '/pool/dataset/childDataset3/.zfs': No such file or directory I…
2
votes
1 answer

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 dataset. For some reason, sequential write…
n.st
  • 776
  • 5
  • 18
2
votes
1 answer

Mount ZFS pool before snapd starts

I have a zpool that has a mountpoint at /var. When I start my server up, the snapd service always throws a bunch of errors and fails to start because it attempts to mount a bunch of things from /var to /snap but it attempts the mounts before the…
magikid
  • 123
  • 4
2
votes
1 answer

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 have a log where I can see how many times a…
drcelus
  • 1,254
  • 4
  • 14
  • 28
2
votes
1 answer

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 the total amount is 4.5 TB. When I created the pool I…
NikoNyrh
  • 161
  • 7
2
votes
0 answers

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 have implemented certain alarms to know if too many…
Oleg
  • 373
  • 1
  • 7
  • 17
2
votes
1 answer

zfs send multiple snapshots

I want send several zfs snapshots to another pool. Source pool "rpool", target pool "dpool" rpool/kvm1380_img 88,6G 1,48T 77,6G - rpool/kvm1380_img@snapshot_Sun_01_11_weekly 1,33G - 77,6G …
Pavel Gromov
  • 143
  • 1
  • 2
  • 9
2
votes
1 answer

Could `zpool status` be showing two different drives with same device name?

Is it possible that zpool status is reporting the status for two physically different drives while printing the same name for both? Specifically, I had a drive sdq listed in the spares list as FAULTED. But another sdq listed as ONLINE in raidz2-2.…
Andrew Straw
  • 123
  • 3
2
votes
0 answers

ZFS Datasets appear as empty when shared through NFS

I was trying to create a couple of NFS shares on my file server and failing miserably. After hours of trial and error I noticed that if I share a zfs dataset directly it appears as an empty folder on client but if I share a subdirectory of the same…
monroo
  • 121
  • 1
2
votes
1 answer

zfs miror with 2 TB drives of slightly different size

I have an old 2TB Seagate Barracuda drive and I want to build a zfs mirror. I don't think I can buy a 2TB drive with exactly the same size (identical number of bytes), but on the other hand the old drive is still in good condition and I don't want…