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.

Filter by
Sorted by
Tagged with
0
votes
1answer
51 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
18 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 ...
0
votes
0answers
28 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
1answer
73 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 ...
1
vote
1answer
120 views

Linux mountpoint can not be unmounted no matter what?

I have a mount point in Linux that does not show any open files in lsof or fuser. The mount point was exported in NFS, but is no longer exported, and there are no more files or directories in the ...
3
votes
0answers
43 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 ...
4
votes
1answer
267 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 ...
1
vote
1answer
48 views

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 ...
2
votes
1answer
47 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 ...
0
votes
1answer
351 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 ...
2
votes
1answer
105 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 ...
4
votes
1answer
190 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 ...
1
vote
0answers
319 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....
1
vote
0answers
26 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 ...
0
votes
1answer
343 views

zfs cannot create snapshot, out of space

I have a disk with these layers: sata disk, luks, zpool, ext4 The ext4 fs was created with these commands: cryptsetup -v luksFormat /dev/sdb cryptsetup luksOpen /dev/sda store02 zpool create zstore02 /...
3
votes
0answers
298 views

What is the easiest way to encrypt an existing ZFS dataset?

I would like to convert a lot of ZFS datasets I have on a (Ubuntu 20.04) server (about 3 TB of data). I've already tested this a bit, and what I've been doing so far is: Create a new encrypted ...
1
vote
1answer
45 views

HDD bad sector marking through LUKS2 layer (dm-crypt) + ZFS

If having 2x LUKS-encrypted HDDs with a ZFS mirror pool on top of the dm-crypt mapper devices: what happens if one of my HDDs encounters an error and the OS recognizes a sector as bad ? Will this bad ...
1
vote
1answer
305 views

Proxmox - Can't mount encrypted ZFS dataset - zfs mount fails sillently without an error

I have problems with mounting encrypted zfs dataset after boot. Pool is properly imported and visible in zpool status output. Then I manually load keys with: zfs load-key -a - still no issues. And ...
1
vote
1answer
469 views

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/...
0
votes
0answers
59 views

Monitor ZFS iostats with collectd

I'm using ZFS on a server with lots of interesting IO, and I already use collectd to collect various interesting metrics. I already know about (and use) the zfs_arc plugin, which gives some of the ...
2
votes
0answers
200 views

zfs, zpool list no pools avaliable, and zpool import no pools available to import

I have a zpool with four disks: /dev/disk/by-id/ata-SAMSUNG_HD103SJ_S246J9AZB03256 /dev/disk/by-id/ata-SAMSUNG_HD103SJ_S2NWJ50BB01630 /dev/disk/by-id/ata-SAMSUNG_HD103UJ_S13PJ90S328545 /dev/disk/by-...
0
votes
0answers
124 views

ZFS entering D-State at random

I am running ZFS on Ubuntu 20.04 LTS ontop of hyper-v. At random, currently every 2-3 days, ZFS gets stuck. Samba is non-responsive, File I/O via smb to the ZFS volume ceases and actions on the shell ...
2
votes
2answers
276 views

Use QLC SSDs as RAIDZ (scientific archive)?

We are building a system for the archival and scientific analysis of some weather data. The setup is redundant, with two HP DL580, Proxmox (ZoL) and some GPUs for analysis. On each server we plan 5 ...
1
vote
0answers
41 views

Should I partition or format a disk before replacing a FAULTED disk in a ZFS pool?

I recently had a FAULTED disk in a ZFS pool and wanted to replace it. I simply put the disk in and let it resilver. Afterwards, I noticed the disk was partitioned differently than the other disks and ...
6
votes
3answers
578 views

TRIM/UNMAP Zvol over iSCSI

I am currently setting up a SAN for diskless boot. My backend consists of ZFS-Vol shared via iSCSI. So far everything is working just fine except for TRIM/UNMAP. For test puposes I setup two VMs ...
0
votes
0answers
15 views

Samba server process using files under shared folders even without connections to that server

I have samba server running on Centos7 and I have a folder within zfs filesystem shared through that server. Even though I close all connections to the samba server, I see that the server has file ...
0
votes
1answer
114 views

Linux does STDOUT | STDIN piping write data to disk?

I was planning on passing encryption keys to zfs load-key pool/set through stdin. The keys passed are generated by another program in HEX format and dataset is configured to have keylocation=prompt, ...
0
votes
0answers
21 views

zfs reducing a raidz3

I have... had (8) 3tb drives in a straight raidz3 configuration, now I have 7 working drives. Over the past year or so I thought I would end up using a majority of my zpool; it turns out I'm ...
0
votes
0answers
90 views

Samba shadow copies not appearing for nested directories

I have a bunch of zfs datasets, each with its own snapshot being taken using zfs-auto-snapshot: /library /library/user /library/user/Originals /library/user/Originals/2020 However, when exported with ...
1
vote
1answer
374 views

ZFS configuration for Ubuntu 20.04

TL;DR I have three 2 TB drives and one 500 GB drive in a machine running Ubuntu 20.04 with a default ZFS install on the small drive. My plan is to partition the larger drives into two partitions each, ...
0
votes
1answer
180 views

Remove a ZFS attribute instead of setting its value to default?

I added a ZFS property which was not included by default. Instead of setting it back to true (default value), is there a way to "remove" the attribute I created? root@library:~# zfs get all |...
2
votes
1answer
109 views

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

cheap, commodity hardware based, highly available distributed filesystem [closed]

I have two PCs running linux, a 2 TB disk each and one small gigabit switch. To build a highly available system on the cheap, I resorted to this stack: custom 5.6 kernel with ZFS and DRBD9 on both ...
2
votes
0answers
214 views

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 ...
0
votes
1answer
207 views

With a ZFS root install, which partitions need to be `canmount=noauto` and why?

With a ZFS root install, which partitions need to be canmount=noauto and why? I am looking at a fresh installation of Ubuntu 20.04 with ZFS on root. I am using these instructions on the openzfs site, ...
2
votes
1answer
83 views

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 ...
0
votes
1answer
99 views

Why ZFS snapshot reports zero size?

I have a Centos7 system with zfs pool that I took a snapshot with sudo zfs snapshot -r data-pool/Samba@backup_r. After taking the snapshot I copied few gigabytes of files from my Windows pc to that ...
2
votes
1answer
39 views

Mounting a ZFS backup in a different root directory

I did a backup of the entire zfs root (zroot) dataset from my laptop to my workstation. The backup dataset got all the mountpoints from the laptop. tank/backup 91....
1
vote
1answer
726 views

Pool gone with upgrade to Ubuntu 20.04

I upgraded my server (SuperMicro X11-SSM-F, LSI SAS 9211-8i) from Ubuntu 18.04 to 20.04. The server had 2 zpools, one composed of a single WD Red 10 TB (downloadpool), and the other composed of 8 WD ...
3
votes
1answer
56 views

Expand existing RAID1 zpool into RAID10 zpool

I'd like to expand/convert my existing RAID1 (2x 3TB mirror) zpool to RAID10 zpool by adding 2 more 3TB HDDs without losing (or moving) data stored on my existing pool. The final result will look ...
2
votes
1answer
412 views

ZFS compression on sparce zvol - space difference

I'm compressing a dd img of a 3TB drive onto a zvol in ZFS for Linux. I enabled compression (lz4) and let it transfer. The pool just consists of one 3TB drive (for now). I am expecting to have 86Gigs ...
2
votes
0answers
329 views

Replace zfs pool member after reboot reordered disk paths

I created a raidz1-0 pool with three devices. Two where added by their /dev/disk/by-id ID and somehow I decided to use /dev/sdg1 for the third one. After a reboot years later, I can't get all three ...
2
votes
1answer
562 views

zpool fails to import raidz3 pool despite sufficient replicas available

Some users were having issues connecting to this server's share on the pool, while other's who were already on seemed to be fine. After arranging a reboot the pool failed to import once the system ...
4
votes
0answers
322 views

Recovering/importing ZFS Linux pool with duplicate pool name

I did something very stupid today in attempting to add a third mirror to an existing Linux zpool named backup. Suffice it to say that I made a couple errors because I don't really do much admin with ...
2
votes
1answer
574 views

How does zfs raidz-2 recover from 3 drives down?

Im wondering what happened, how ZFS was able to recover completely, or if my data is still truly in tact. When i came in last-night i saw this to my dismay, then confusion. zpool status pool: san ...
0
votes
0answers
281 views

Recover/move ZFS pool to a new server

I have a Ubuntu server set up with a 14-disk ZFS raidz2 pool. My boot device has become corrupted and I'm not able to mount its file system from a recovery live CD, so I will need to reinstall Ubuntu ...
0
votes
1answer
85 views

ZFS 3-drive setup on Debian

I have a machine with 3 2TB SSD drives, I want to configure openzfs at least on two of them. The root partition has ext4 and if possible I would like to avoid reinstalling everything, so I am ...
3
votes
1answer
205 views

When does “zpool scrub” delete files automatically?

Background is a general discussion about ZFS and the claim that in case of permanent errors to files, it automatically deletes files unless a correct copy is available. That sounded pretty wrong to me ...
4
votes
1answer
194 views

Creating ZFS pool from liveCD with ashift=9 becomes ashift=12 when rebooted into new OS

I have created a zpool while booted on a Linux Mint liveCD (with all the ZFS packages temp apt-installed) and created a zpool with command line containing ashift=9 because my ST4000NM0033 drives (8 ...
1
vote
1answer
1k views

zpool stuck in resilvering loop

I have the following zpool: NAME STATE READ WRITE CKSUM zfspool ONLINE 0 0 0 mirror-0 ONLINE 0 0 ...

1
2 3 4 5