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
4 votes
3 answers
6k views

Changing recordsize on existing ZFS dataset

I want to change the recordsize property on an existing ZFS dataset. The man page states: Changing the file system's recordsize affects only files created afterward; existing files are unaffected. ...
1 vote
1 answer
203 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 ...
10 votes
1 answer
19k views

How to NFSv4 share a ZFS file system on FreeBSD?

Using FreeBSD 9, and created a ZFS file system like so zfs create tank/project1 zfs set sharenfs=on tank/project1 There are many howto's on setting up NFSv3 on FreeBSD on the net, but I can't find ...
18 votes
0 answers
11k views

Restoring data after zfs destroy

On Debian 8.7 I had a zfs pool. (obviously using ZFS on Linux, not Oracle or Solaris zfs) It was needed to extend ZFS pool from mirror on 2 disks to raidz on 4 disks. I did backup (one copy of data - ...
1 vote
2 answers
2k views

connecting EMC VNX-6G-DAE to server using SAS

I've recently got a gift from a friend: an EMC DAE enclosure with 15 3TB SAS drives, and I would like to connect it to a server using the 8088 SAS connectionץ This shelf was part of a VNX 5300 ...
6 votes
3 answers
8k views

ZFS - Recover or repair a corrupted file in a snapshot from backup?

A pool has suffered permanent data corruption to file data that's part of a snapshot. If the file data was part of the filesystem (and not part of any snapshot), I could simply recover the file from a ...
2 votes
2 answers
506 views

Is it possible to repair a ZFS snapshot by re-sending it?

Given two ZFS pools where snapshots from one are sent to the other, is it possible to automatically repair a damaged snapshot using a copy of that snapshot stored on the other pool? I'm hoping this ...
0 votes
0 answers
369 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 (...
0 votes
0 answers
205 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
2k 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?
1 vote
2 answers
2k views

slow read on openzfs/Linux via NFSv3 on Debian 10

because of my unanswered question : qemu snapshot exclude device i decided to use NFSv3 for the VM to handle user data. Because of slow performance of BTRFS after maintance-tasks i use now zfs Raid1 ...
15 votes
1 answer
3k views

Why did rebooting cause one side of my ZFS mirror to become UNAVAIL?

I just recently migrated a bulk data storage pool (ZFS On Linux 0.6.2, Debian Wheezy) from a single-device vdev configuration to a two-way mirror vdev configuration. The previous pool configuration ...
5 votes
2 answers
2k views

Offline Deduplication Software for ZFS

I do have a 300TB Freenas server to backup several linux nodes. Backup works with daily snapshot and rsync tasks. The user often move big datasets (2-5TB) between the server - so often big files are ...
2 votes
1 answer
2k views

"renaming" a drive in a ZFS pool?

So I'm playing around with ZFS on what will eventually be a file server, and I managed to get myself into this state: pool: storage state: DEGRADED status: One or more devices has experienced an ...
1 vote
1 answer
177 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 ...
1 vote
0 answers
478 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 ...
1 vote
0 answers
595 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 ...
1 vote
0 answers
331 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&...
8 votes
0 answers
4k views

ZFS cannot import : I/O error

I experienced an error in my ZFS machine. This may have happend after I lost power to my server, but I can not tell for sure. My ZFS Pool Gewuerzglas with RAIDZ-1 is no longer willing to import. I ...
1 vote
0 answers
107 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
3 answers
406 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 (...
4 votes
0 answers
1k 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 ...
0 votes
1 answer
332 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 ...
3 votes
3 answers
15k views

How to partition drive for ZFS

I'm trying to create a ZFS pool using the following command: zpool create MyPool disk /dev/sda However, I get the following error: cannot use '/dev/disk': must be a block device or regular file ...
6 votes
4 answers
8k views

ZFS - enable or disable disk cache?

I'm setting up ZFS (through FreeNAS) with RAIDZ1 on a server with 4 x WD Red SATA HDDs (connected through a PERC H330 in HBA mode). The server is hooked to a UPS. For ZFS and in this setup, does it ...
9 votes
2 answers
6k views

Wait before zpool import on Ubuntu boot

I have installed Ubuntu 18.04 on a Dell PowerEdge R720xd using ZFS. There are two 1TB boot drives in a ZFS mirror configuration. I followed the instructions in the ZFS on Linux Wiki. (Note: My system ...
6 votes
2 answers
2k views

How to explain these fio bandwidth results?

Been running a couple of fio tests on a new server with the following setup: 1x Samsung PM981a 512GB M.2 NVMe drive. Proxmox installed with ZFS on root. 1x VM with 30GB space created and Debian 10 ...
11 votes
9 answers
13k views

Cannot destroy ZFS snapshot: dataset already exists

I have a server (T5220, though I doubt it matters) running Solaris 10 8/07 and I have a ZFS pool, "mysql", on internal disk. Within it I have a filesystem "mysql/data/4.1.12", which I snapshot hourly ...
2 votes
2 answers
1k 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 ...
18 votes
4 answers
14k views

zfs rename/move root filesystem into child

Similar question exists but the solution (using mv) is awful because in this case it works as "copy, then remove" rather than pure "move". So, I created a pool: zpool create tank /dev/loop0 and ...
1 vote
2 answers
4k views

ZFS: i/o error - all block copies unavailable -zpool unavailable

A server restart produced this output on the console: ZFS: i/o error - all block copies unavailable ZFS: failed to read pool zroot directory object qptzfsboot: failed to mount default pool zroot ...
3 votes
2 answers
7k views

Unable to zpool drive: is in use and contains a unknown filesystem

Created raidz1 drive array on CentOS8. Five drives and after reboot zpool would not load. Did a zpool import -a, to import the zpool and datasets. I had a missing drive, which bugs me to no avail, I'...
4 votes
1 answer
4k views

Grow ZFS mirror

I have a ZFS pool with 6 disks in a RAID 10 configuration. I would like to upgrade the drives in one of the mirrors, from 1TB to 3TB drives. I have all the drives installed in the system. I would ...
0 votes
1 answer
833 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 ...
6 votes
5 answers
18k views

Free space on ZFS file system unexpectedly missing

Going to completely rephrase this question since it's still an outstanding production issue several months later. I have a FreeNAS 0.7.2 box, based on FreeBSD 7.3-RELEASE-p1, running ZFS with 4x1TB ...
0 votes
1 answer
328 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; ...
6 votes
3 answers
4k views

Is there a tool for managing FreeBSD jails that knows about ZFS?

ZFS under FreeBSD lets one assign filesystems to a jail, such that an account in the jail with the appropriate privileges can access the filesystem, create new subordinate filesystems, and so forth. ...
4 votes
2 answers
7k views

ESXi Passthrough hard drive to use ZFS on VM

I have ESXI 6.7 installed on my r710. I have 1 2TB drive that's being used as the boot drive for ESXi and the VMs. I have 3 4TB drives that will be large storage. I want to send the 4TB disks ...
2 votes
1 answer
2k 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 ...
6 votes
1 answer
1k views

Debian Buster: How to start ZFS after open-iscsi in systemd

I have Debian 10 (Buster) installed and have added ZFS from Backports. I have 4 iSCSI-LUNs that I use as disks for ZFS. Each LUN holds a separate zpool. So far the ZFS setup works. But the system is ...
0 votes
1 answer
892 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 ...
3 votes
1 answer
1k views

ZFS doesn't want to detach replaced disk

I wanted to replace a disk in my zpool by issuing the following command: zpool replace -o ashift=12 pool /dev/mapper/transport /dev/mapper/data2 ...
0 votes
1 answer
577 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
667 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 ...
3 votes
1 answer
715 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
146 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=...
0 votes
1 answer
977 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
4k 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 ...
2 votes
1 answer
2k views

ZFS Permanant errors dectected in the following files (<0xf49a>:<0x390aff>)

I had to replace one of my hard drives in our storage array and now I'm getting the following message pool: vol0 state: ONLINE status: One or more devices has experienced an error resulting in ...
17 votes
3 answers
26k views

ZFS: Mirror vs. RAID-Z

I'm planning on building a file server using OpenSolaris and ZFS that will provide two primary services - be an iSCSI target for XenServer virtual machines & be a general home file server. The ...

1 2 3
4
5
29