Skip to main content

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
0 votes
0 answers
16 views

Corrupt zpool disks not being discovered. How do I rebuild?

I have a Proxmox server with a few zpools. One of the zpools rust01 is a 4-disk zpool, where the metadata and write cache were some nvme m.2 drives on the motherboard (one for each - I know, stupid, ...
user1913559's user avatar
1 vote
0 answers
27 views

Storing large amount of small files in HDD pool [migrated]

I have a Z6 HDD pool with 6 x 18T drives and a SLOG, LZ4 compression is enabled by default. Now I need to store large amount of small files and I'm worried about fragmentation. The files: 70K files ...
7E10FC9A's user avatar
  • 171
-1 votes
0 answers
65 views

ZFS with different sized disks, for greatest size and redundancu

I currently have 4 hard drives 2x 12TB 1x 8TB 1x 4TB I'm quite new to ZFS, but I'm trying to work out what combination I can use to give me the best greatest amount of space, with the best amount of ...
binks's user avatar
  • 99
1 vote
1 answer
54 views

COW filesystems (BTRFS, ZFS, bcachefs) scrubbing and RAID1 with mdadm on Linux

Suppose I create a two disks RAID1 volume with mdadm and then create a BTRFS/ZFS/bcachefs partition on it. Than data on one of the two disks gets corrupted. If I perform a scrub, there's no way for ...
Karl S.'s user avatar
  • 113
1 vote
1 answer
54 views

zfs, possibly bad performance

I am looking to confirm if this behaviour is normal as I got a new server and I am testing some SQL queries and they seem to be slightly slower than on the old machine. This is freebsd 14.1 When I ...
ratatata's user avatar
2 votes
1 answer
83 views

What are potential dangers of spanning ZFS RAIDZ over different size disks? [closed]

I am redesigning my homelab servers from scratch, and want to try ZFS after experimentation I've done. I know there is a limitation that disks in vdevs must all have the same size, otherwise only the ...
toriningen's user avatar
1 vote
1 answer
133 views

ZFS import unable to find any pools on RockyLinux after Reboot

I had a single ZFS pool comprised of 8 (6/2) drives in a ZFS pool and after my server was down for ~5 days of no power the zpool I had created no longer shows where I mounted it. When I first access ...
Jav_Py's user avatar
  • 13
1 vote
0 answers
62 views

Is it possible to change zfs raid-z1 to raid-z2 or raid-z3 on for instance TrueNas scale

I have a running truenas-scale zfs on raid-z1. For safety I though of increasing parity when adding a new disk. Asking the same question as someone asked 10 years ago, is it possible with the current ...
Simson's user avatar
  • 113
0 votes
0 answers
31 views

ZFS pool disappear after reboot

We have a ZFS system installed on Ubuntu 20.04. Apparently, there was an electrical shutdown this week end, and when rebooting, the ZFS pool is no longer there. zpool status -v gives : no pools ...
Marine L.'s user avatar
0 votes
0 answers
122k views

Cannot send snapshot XXX recursively: snapshot dataset/nestedDataset@XXX does not exist

I performed a snapshot pruning 2 days ago that resulted in some issues on the snapshots. I incurred some light data loss because, I suspect, some snapshots were created as "clone snapshots" ...
Francesco Belladonna's user avatar
1 vote
1 answer
25 views

How to get IP details of passive cluster?

I have Sun Oracle ZFS storage ZS7-2 model. It is a 2 node cluster active and passive. Unfortunately I have only active node IP details to login. Can anyone help me on how to get passive node IP ...
user avatar
0 votes
0 answers
29 views

Impossible to make space on full zfs pool

I have this zfs pool which seems to be full because of some reservations # zpool get all data2 NAME PROPERTY VALUE SOURCE data2 size ...
pums974's user avatar
  • 31
3 votes
1 answer
82 views

Comments on new SAN for small enterprise

We currently have 4 FC arrays containing sixteen 300GB drives each in a Sun StorageTek 6140 chassis connected to an old Sun X4170 M2 server running OpenIndiana. This has been working well for the past ...
Albert Chin-A-Young's user avatar
2 votes
0 answers
36 views

How to set a quota on Logical Disk Space (logicalused) in ZFS?

I am currently using ZFS and need to set a quota on the logical disk space (logicalused) rather than the physical disk space used after compression. The quota and refquota properties in ZFS set a ...
Ivan Olshansky's user avatar
2 votes
1 answer
132 views

ZFS Kernel Panic Issue and Troubleshooting Steps

Experiencing kernel panic with the error message "PANIC: zfs: adding existent segment to range tree" when attempting to import the ZFS pool (rpool). The system hangs upon import attempts, ...
blech's user avatar
  • 21
1 vote
0 answers
89 views

ZFS corruption, how to restore file

# zpool status -v pool: data-2024-06-04 ...
Albert's user avatar
  • 362
0 votes
0 answers
49 views

Data corruption in Windows Server VM on Proxmox

I ran into a strange data corruption issue in a VM running on Proxmox VE which I need help with. The VM in question is Windows Server 2016 Standard, used primarily as a file server. On this VM, I ...
Andreas_DE's user avatar
1 vote
0 answers
43 views

ZFS: resilver restarted after the scan finished

As described here I had two dead drives on my raidz2 setup. I shut down the machine, replaced one drive, then booted up. My idea was to resilver disks one by one, but the resilver process for the ...
Nicola Mori's user avatar
3 votes
2 answers
180 views

ZFS folder very slow after having many files

I am running Ubuntu 24.04 using ZFS for my filesystems. This is on a laptop whose only storage device is a WD Black SN850X NVMe card. The default Ubuntu installation process configured two ZFS pools: ...
Jonathan Gilbert's user avatar
2 votes
1 answer
170 views

ZFS "cannot open" and "too many errors"

I got an alert this morning that one of my arrays was having a problem. I can't seem to get past it. I'm not sure how to proceed. admin@ICSSAN1:~$ zpool status -v pool: SAS_Array state: UNAVAIL ...
MHammett's user avatar
1 vote
1 answer
96 views

How I do recover from an offline, but OK drive on a ZFS mirror?

I have a ZPool consisting in two drives in a mirror configuration. It seems that during server manteinance (cleaning), one of the drives went offline because the wiring came lose. # zpool status -v ...
Sergio's user avatar
  • 111
1 vote
1 answer
78 views

ZFS disk replacement identification?

I am still a newbie with ZFS. We had a faulty disk in a ZFS pool (using Ubuntu 22.04.2. LTS). It had been replaced automatically by a spare disk (I try to quote only the relevant parts): zpool status ...
timppu's user avatar
  • 43
1 vote
0 answers
51 views

ZFS ARC ghost memory usage

Are arcstats:mru_ghost_evictable_metadata and arcstats:mfu_ghost_evictable_metadata the number of bytes stored in RAM by the arc ghost list? If so, is this memory usage also accounted for in the ...
m7913d's user avatar
  • 121
0 votes
0 answers
64 views

Disk does not spin down for unknown reasons - How to debug?

I have a setup where we need to spin down HDDs that host a zfs array for energy reasons. I use hdparm to configure apm = 24 and spindown_time = 24 for all disks. The system works as expected most of ...
fclad's user avatar
  • 11
0 votes
0 answers
282 views

Repartitioning proxmox root/data LVM and zfs pool recovery

Ok so I created my first proxmox virtual environment about a month or two ago and due to inexperience and miscalculations I created a partition table I am not really happy with. Along with that it ...
user1884295's user avatar
0 votes
0 answers
96 views

Debian & Broadcom: poor performance transferring files via network

I setup a new server running Debian Bullseye with Proxmox-kernel as a NAS to host mainly video content (so in general large files). I noticed an abysmally bad performance transferring files via SMB so ...
TylerDurden's user avatar
0 votes
0 answers
40 views

With ZFS snapshot rollback the file system remains unchanged

Server with latest version available and ZFS File System. I tried ZFS Snapshot. Below is the list of commands. First I check if the zpool is available and create the snapshot. At this point I copy a ...
Dark Corner's user avatar
0 votes
0 answers
227 views

zfs pool online but can't be imported "one or more devices is currently unavailable"

I recently moved my zfs pool from a 5 bay drive to a 10 bay drive and it can not be imported any more. The pool (nextcloud) appears to be online but when I tried to import it, it throws "one or ...
Oliver Hu's user avatar
1 vote
1 answer
136 views

Zpool scrub won't resume after reboot

Linux Mint 21.3 Linux version 6.5.0-26-generic zfs-2.2.3-0ofthesun1 zfs-kmod-2.2.0-0ubuntu1~23.10.2 I've set up the zpool just fine, put some data on it and started a scrub. While this was in ...
Dominik's user avatar
  • 11
0 votes
0 answers
84 views

Restore ZFS Pool after a broken HDD

i lost my ZFS Pool on a trueNAS System due to a failed / broken disk The Pool was a non mirrored Pool with 4 HDD (6-10 TB each) I am working on a new trueNAS for backup all the files to a mirrored ...
Daniel Strohmeyer's user avatar
2 votes
2 answers
382 views

XFS / ZFS - Unable to mount filesystem - I/O Error

We have a server with Ubuntu 20.04.6 LTS. It is the secondary storage for our backup, with 12x8TB HDDs in a RAIDZ3, with an XFS filesystem on top. A couple of days ago, one drive failed. I thought, &...
Sabsoun's user avatar
  • 41
0 votes
0 answers
81 views

Access to ZFS pool when one drive has failed is incredibly slow

I have a ZFS box that I inherited that is having a lot of issues. Checking the status I see there are a few drives with issues: ganymede $ zpool status -x pool: dpool state: DEGRADED status: One or ...
Bob Odenkirk's user avatar
0 votes
0 answers
47 views

ZFS silently overwrites the later mirrored devs, without any logs?

Given two mirrored drives: /dev/loop1 of zfs1.img /dev/loop2 of zfs2.img If the drives contain different data, even if the copies in zfs2.img are newer, or zfs2.img contains extra files, ZFS always ...
midnite's user avatar
  • 151
1 vote
0 answers
114 views

zfs errors on hetzner cloud ubuntu 22.04

I have an ubuntu 22.04 system on hetzner cloud arm machines that keeps experiencing zfs errors, and I am a bit stumped as to what is the problem. zpool status -v pool: encpool state: ONLINE status: ...
Robert Ivanc's user avatar
0 votes
0 answers
515 views

Zpool Import, one or more devices is currently unavailable

I know this is a pretty common question, but I haven't found a situation quite like mine. To cut it short, I had a ZFS pool on my home server on bare metal of proxmox, wanted to move it to an open ...
Paprika2143's user avatar
7 votes
1 answer
533 views

Upgrade OS on ZFS file server

I need to upgrade the OS of my ZFS disk server from CentOS 7 to Rocky Linux 9. I am currently running ZFS 2.0.7, and if I'm correct Rocky Linux 9 uses 2.3. My tentative plan is to use the AlmaLinux ...
Nicola Mori's user avatar
0 votes
0 answers
66 views

FreeBSD ZFS raidz1 Started a (da59) drive replacement. During resilver, second drive (da60) failed

Our system started slowing down... Found a couple of drives in the same raid that looked scary. Replaced the drive that S.M.A.R.T. marked as failure eminent. (da59) Then da60 started to error. Finally ...
Jon Bivin's user avatar
2 votes
1 answer
527 views

change disk cache settings on Samsung PM9A3 via nvme-cli

I will be running Proxmox guests on a ZFS volume consisting of Samsungs PM9A3 NVME drives. I read here for ex. it might be an advantage in performance to keep the cache of those drives active. So I ...
derhottevomdorf's user avatar
-1 votes
1 answer
54 views

ZFS Rollback not including all files

I messed up and accidentally deleted a everything in a dataset of many subdirectories. Luckily I have daily snapshots and nothing had changed so I did a rollback to the most recent snapshot. After the ...
Fr33dan's user avatar
  • 171
2 votes
1 answer
539 views

dRAID, Parity 1 + 1 Distributed Spare Better than basic RAIDz2 for 5x12TB HDDs?

Stumbled on dRAID recently and was grokking the docs for OpenZFS on linux and I came away with a conclusion from the chart that I wanted to double check. This is a brand new system that I'm currently ...
brianclements's user avatar
0 votes
1 answer
295 views

df reports zfs used space as 128K, not the actual used space

I have a ZFS mirror pool in my Proxmox instance. I am trying to get it to mount to an LXC container read-only (preferably not giving full filesystem access) so I can have Homepage detect the used and ...
Drakonas's user avatar
-1 votes
1 answer
420 views

ZFS requested features not enabled

I am running a TrueNAS (formerly FreeNAS) based server for about six years now. It is currently running TrueNAS 13.0-U6.1. There is a "boot pool" and a "data pool", both installed ...
scherand's user avatar
  • 181
-1 votes
1 answer
156 views

Is it possible to backup across multiple hard drives?

I'm going to be setting up an 8x20TB ZFS RaidZ2 with no spare. This will give me roughly 100TB of storage for large 3D model files. I want to purchase some extra HDDs so I can periodically backup and ...
Maxthecat's user avatar
1 vote
1 answer
140 views

zpool mismatched replication level

I have accidentally added a mismatched raidz1 to an existing pool. Yes, I specified the '-f' to do it, but I was expecting to use the '-f' for a different reason and wasn't paying attention. Anyhoo......
mikem's user avatar
  • 460
0 votes
0 answers
91 views

ZFS still writes to HDDs vdev while dataset is configure to store special for Docker

I'm facing a strange behaviour when using Docker together with ZFS. I have one pool with 2x10TB HDDs as mirror vdev and 2x250GB NVMEs as mirror for special vdev (to store metadata and datasets with ...
Leandro Loureiro's user avatar
0 votes
0 answers
53 views

ZFS scrubbing keeps reparing disks

I've got two SSDs in a RAID 1 (mirroring) configuration on ZFS. They are quite old (~10 years I guess) but have never been used much in these years. That's my configuration pool: tank state: ONLINE ...
Beowulf þe god cyning's user avatar
1 vote
1 answer
381 views

Recover ZFS mirror from pool with unavailable device

I tried to expand my two-way mirror to a three-way mirror. The new drive had some filesystem issues (ext4) so I tried to force zpool add -f the drive for ZFS to handle for me. This led to a weird ...
aqua's user avatar
  • 11
0 votes
0 answers
46 views

/dev/zvol/pool/group/srv points to partition zd0p16 not volume zd0 - bug or feature?

I am only starting to get familiar with openzfs 2.2.0 on Linux (Ubuntu kernel 6.5) and immediately ran into something strange. A symlink I was expecting to point to a zvol block device.. was pointing ...
anx's user avatar
  • 10.1k
3 votes
3 answers
380 views

FreeBSD - Is it possible to create a clone of a snapshot in a different disk for improved performance?

I am a new to FreeBSD and want to make a virtual disk service via iSCSI. I create snapshots of a dataset on the same disks, however I would like to create clones on a different disk like a NVMe drive ...
Charles Kwon's user avatar
1 vote
1 answer
106 views

ZFS list - root mounted twice?

I've followed this guide to install ubuntu with root on zfs. I've skipped creating all the dedicated (sub) datasets in step 3.3. Now "zfs list" looks like: NAME USED ...
JKB's user avatar
  • 115

1
2 3 4 5
29