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
0 answers
17 views
+50

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 ...
  • 61
1 vote
1 answer
33 views
+50

How to repair zsysctl after manually deleting snapshots with `zfs destroy`?

I am running Linux Mint 20.3 with ZFS (including for /). Up until very recently, whenever I installed or removed packages, it would also create a snapshot so that I could select it when booting to ...
  • 61
0 votes
1 answer
21 views

prevent zfs storage driver in docker rootless mode

I'm trying to use rootless docker, but when pulling and image, docker is trying to use zfs as the storage driver. I can confirm that docker info shows the zfs driver. I didn't intend or configure that ...
  • 13
0 votes
0 answers
23 views

How to dedup existing rsnapshot on ZFS?

I have a backup box using ZFS (on Ubuntu 20.04 LTS) where I use rsnapshot to back up a number of websites. These websites have a fair amount of duplicated data. I have just enabled de-duplication of ...
  • 5,994
0 votes
0 answers
47 views

Slow read speed in ZFS mirror (slower than write speed, and very slow for small chunk sizes)

I have a server running debian on top of a ZFS 3-way mirror of Exos X18 18TB (ST18000NM001J). I'm benchmarking it and I'm finding some surprises for the read rate under certain conditions. But first, ...
  • 131
0 votes
1 answer
21 views

Can we change the name of rpool?

Can we change the name of rpool? Do we have to create a new BE(Boot Environment)? Can anyone tell me the complete process? # zpool status pool: rpool state: ONLINE scrub: none requested config: ...
0 votes
1 answer
52 views

dead ssd drive on zfs points to initramfs

I have an ssd drive with failed controller and which was a part of a mirrored zfs vdev. Now it boots into initramfs and says that it can't import pool "rpool". when i issue zpool import -f ...
  • 89
0 votes
1 answer
67 views

How ZFS avoids inodes' number exhaustion and why wasn't it implemented in previous filesystems (e.g. ext4)?

Chapter 1 of Oracle's ZFS Guide states that all metadata is allocated dynamically, so no need exists to preallocate inodes which was a positive surprise, but makes me wonder why the methods ZFS uses ...
0 votes
0 answers
29 views

ZFS on Linux: what do when the spares fail?

I have a Gentoo-based server with a ZFS pool. Two drives in the same vdev failed. The two spares kicked in automatically to replace them. During this time, the two spares themselves failed. I detached ...
0 votes
1 answer
38 views

How to efficiently backup shares (ZFS). Folder structure might change but media usually do not

The Issue: I have 18 large shares (each 24TBs), that contain lots of big media files. Mostly the media files themselves stay untouched. However, sometimes the folder structure changes, and thus my ...
0 votes
1 answer
19 views

SOLARIS 10 ZFS, I want to add spare with rpool but it gives me this error "cannot label 'c1t4d0': EFI labeled devices are not supported on root pools"

#zpool status pool: rpool state: ONLINE scan: resilvered 8.09G in 0h2m with 0 errors on Wed Sep 21 14:10:40 2022 config: NAME STATE READ WRITE CKSUM rpool ...
2 votes
0 answers
25 views

ZFS: Suppressing reservation on receiving side?

I'm trying to incrementally send changes for a zvol from my working pool (zdata) to a backup pool (zbackup), however I'm struggling to suppress the refreservation property. While I realise that the ...
  • 267
1 vote
1 answer
115 views

Recreate Dataset Without Any Data?

I have some datasets that are frequently written to, but whose data is non critical (caches etc.). Is it possible to "send" these to another pool without copying any of their data? I ...
  • 267
0 votes
0 answers
216 views

No directory found while running docker volume

Would appreciate a tip on solving this error. I set up a zfs pool on proxmox and would like to use via nfs on VM. The zfs datapool is storage/nfs/data is shared and mounted as /srv/nfs at the node I ...
  • 1
0 votes
0 answers
47 views

Unable to remove ZFS cache device created on another operating system

I used to run SmartOS (Solaris) on a server, but recently moved to Proxmox (Linux). A non-root zpool that was exported from SmartOS was successfully imported to Proxmox - except for the cache device (...
  • 31
0 votes
0 answers
55 views

ZoL+FIO Randwrite nvme bs=8k@32io = 148MiB/s?

Sorry for the title, but it's very short summary of BS that I'm looking into. Situation I'm using ZoL 2.1.5 (from jonathonf's ppa) on Ubuntu (tried 20.04&22.04) I have following NVMe disk ...
0 votes
1 answer
127 views

How can I list what zfs compression algorithms are available?

I have a zfs pool on a production system and I would like to see if it's possible to use zstd compression instead of the current gzip setting. Is there any way to list available compression options?
  • 21
0 votes
0 answers
31 views

ZFS Raid issue when importing

I'm having a tonne of issues with a server that's running ZFS. It's a linux server with around 160TB of data. I'm having issues running zpool import to import the pool. I exported the pool, as I want ...
1 vote
1 answer
47 views

ZFS size discrepency between 2 very similar configurations

I have 20X sata 12TB disks in a file server with a Broadcom/LSI MegaRAID SAS39xx raid controller. It’s running ubuntu. For an performance experiment, I created two storage pools: -A single hardware ...
0 votes
0 answers
33 views

NFS-exporting ZFS volumes on Linux weirdness

I manage two servers, one of them hosts a number of scratch disks, which are NFS-exported to the other to make the file systems appear the same. Here's /etc/exports: /home 10.1.64.0/24(rw,...
0 votes
0 answers
75 views

How to find a file at a specific LBA

My server that is using ZFS recently had a SMART test that completed with a read failure. There is 1 Current_Pending_Sector and I have an LBA for that read error. On ZFS, is there a tool to find what ...
  • 61
0 votes
0 answers
85 views

ZFS checksum error: how to recover from a replica?

ZFS can automatically repair checksum errors if the drive with the error is part of a pool set up with redundancy. What about the case when the checksum error is on a pool without redundancy, but ...
  • 545
1 vote
0 answers
120 views

On Linux ZFS Server - What is eating my memory?

Our monitoring tool regularly reports low memory for one of our servers running ZFS. # free -g total used free shared buff/cache available Mem: 125 ...
0 votes
0 answers
55 views

Performance of compression of zvol or of contents?

So I have a "physical" pool containing zvols of volblocksize 64K (which was recommended by ZFS create). And on those zvols I have zpools/datasets with recordsize 1M (used as fileservers), ...
1 vote
0 answers
52 views

Does trim need to be enabled inside a VM on a zvol?

zfs and virtio both have trim support, which means, that trim operations can be forwarded by VMs using zvols to the physical underlaying disks. (Please excuse my usage of the word "physical zpool&...
0 votes
0 answers
85 views

Best way to back up and restore zpool in midst of FreeBSD upgrade

My apologies if this is circuitous, but please bear with me. I have a FreeBSD ZFS installation that was originally set up using 12 and upgraded to 13 at some point. It has become so munged up that I ...
0 votes
0 answers
46 views

ZFS : how to replace a faulted drive with hotspare

I'm new to ZFS and I've one simple and quick question. Here is my zpool : NAME STATE READ WRITE CKSUM vmstore DEGRADED 0 0 0 raidz2-0 DEGRADED 0 0 ...
3 votes
0 answers
289 views

What are "indirect-X" after zpool remove?

After zpool remove, the removed disks are shown as indirect-0, indirect-1, indirect-2, and so forth. What are they? How can I get rid of them? Will they pose any problems? Demonstrate: There were ...
  • 141
0 votes
1 answer
146 views

Ubuntu ZFS install hangs before reaching grub menu

After upgrading some packages and restarting, I can no longer reach the grub menu. My system hangs at the motherboard logo and provides no other output. I can boot to an Ubuntu Installer USB, and I ...
  • 123
2 votes
1 answer
140 views

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 ...
  • 131
3 votes
3 answers
263 views

ZFS and SAN: issue with data scrubbing

Working as scientists in a corporate environment, we are provided with storage resources from a SAN within an Ubuntu 20.04 virtual machine (Proxmox). The SAN controller is passed directly to the VM (...
  • 111
2 votes
2 answers
474 views

Errors on a zpool filesystem

I'm using ZFS on a Debian 9 machine. This machine has been working for years without any problem until today. The zfs pool is mounted on top of a RAID system, controlled by hardware (so only one drive ...
  • 123
3 votes
2 answers
500 views

Tuning ZFS for bursty sequential writes

This is a follow-up to: High speed network writes with large capacity storage. The setup has changed notably. I have a pool with a single raid-z2 with 6 drives, all Exos X18 CMR drives. Using fio and ...
  • 394
0 votes
1 answer
532 views

How can I split a zfs pool for storing VMs and Glusterfs separately on Proxmox?

I have a ProxmoxVE server which I created the following zpool on: root@thor:\~# zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT Asgard 5.45T 816K ...
0 votes
1 answer
222 views

How should I migrate a zfs pool to Windows Storage Spaces?

I have a single hard drive that I want to migrate to Windows Storage Spaces ReFS file system for better Windows compatibility. Obviously copying all the data to another disk and back is a last resort; ...
0 votes
1 answer
380 views

zpool import Failure: can I recover data?

I have a personal zpool server that was going down, and I want to know if there is a way to recover what I have. Most of my critical data (photos, tax into, etc) got backuped to OneDrive, so I am ...
  • 1
0 votes
1 answer
267 views

Import a ZFS pool from a disk snapshot of another machine

I have a server on Azure with a disk mounted that contains a ZFS filesystem. I also have a snapshot of the disk (taken from Azure, not zfs snapshot) which I want to mount to a new server. The disk ...
0 votes
1 answer
282 views

ZFS / Zpool with limited disk usage?

I have a server with a JBOD of 36 x 14TB disks that have a total usage capacity of 12.7TB (Disks are WUH721414AL5201) I have created two zpool's: zpool1 which contains 3 vdev's (Each of them having ...
  • 103
0 votes
0 answers
228 views

Recommended Proxmox configuration for a 3 nodes cluster with 2 nodes connected to a DAS?

I am aiming to get a 3 nodes proxmox cluster with 2 nodes connected to a DAS with this topology : Circuit The idea behind this configuration is to have an HA cluster and a HA storage. What I had in ...
1 vote
1 answer
293 views

ZFS l2arc does not warm up

My setup has 256 GB of RAM, of which 200 GB are dedicated to arc, and 2 SSDs for l2arc. It's being up since several days and steadily serving files to many clients, yet it seems that the l2arc is ...
0 votes
2 answers
65 views

Issue using dd to write 1GB file to zfs dataset on FreeBSD 13

Hey guys I am turning up a little FAMP stack on an Azure VM. 4 Xeon cores 16GB ram. Second SSD is using ZFS and the boot drive is UFS2 (Default). When I dd if=/dev/zero of=testfile bs=1024 count=...
  • 1
0 votes
1 answer
209 views

How to send a single parent ZFS filesystem snapshot and all its descendents' same snapshot to a new pool?

If we zfs snapshot -r tank@20220129, all sub-filesystems also get that snapshot. How to send that single snapshot of tank with all sub-fs's to a new pool (no historical base of snapshots)? While zfs ...
  • 211
0 votes
1 answer
426 views

Remove Missing Drives from ZFS Pool

After an embarrassing session trying to replace a disk in my ZFS pool, I have a bunch of entries representing disks that are no longer present in the system: NAME STATE READ ...
2 votes
2 answers
1k views

ZFS pool corrupted

I am running proxmox (7.1-10) and a number of VMs. I accidentally forced to import from proxmox a ZFS pool that was being used by a VM (truenas 12.0-U7) with: zpool import -f Pool-1 The command ...
  • 31
0 votes
0 answers
54 views

Where are SMB ACL's stored when using AD with Solaris ZFS?

I have a Solaris 11.4 instance bound to a 2012 Domain. Solaris allows you to edit SMB share ACL's from a Windows DC via the Computer Management Snap-in. My question is: Are those ACL's then written ...
1 vote
1 answer
2k views

Can I remove a disk from a ZFS stripe?

I have a large pool on a system. The system is a storage node in a Hadoop cluster, so a stripe is fine because if we lose the local pool we can reconstruct the data at the cluster level. A disk is ...
  • 358
1 vote
1 answer
511 views

zfs does not recognize its own physical disks

I have repeating problem with the zfs pool where zfs stops recognizing its own, properly labeled (or so it appears) physical devices. Ubuntu 20.04.2 LTS 5.11.0-44-generic #48~20.04.2-Ubuntu SMP Tue ...
  • 31
1 vote
0 answers
52 views

How to remove a device from a ZFS pool? [duplicate]

I wanted to add ata-TOSHIBA_DT02ABA400_90D1S0Q2S75H into the raidz1-0. Running zpool add tank ata-TOSHIBA_DT02ABA400_90D1S0Q2S75H unfortunately it becomes: $ zpool status pool: tank state: ONLINE ...
2 votes
1 answer
406 views

How to fix ZFS pool once spare replacement done or how to correct spare replacement

I have a ZFS pool in the current state: [root@SERVER-abc ~]# zpool status -v DATAPOOL pool: DATAPOOL state: DEGRADED status: One or more devices has experienced an error resulting in data ...
2 votes
1 answer
166 views

Optimal configuration for a RAID + ZFS

What would be the optimal configuration for a server using raid and where I want to place ZFS only? I heard that while using ZFS would be better not to use at all the raid controller , is it correct?
  • 23

1
2 3 4 5
27