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.

ZFS is supported out of the box on a number of operating systems:

  • Solaris 10
  • Oracle Solaris 11 Express
  • FreeBSD
  • NexentaStor
  • illumos - specifically, illumos-based distributions, like:
    • Nexenta's illumian
    • Joyent's SmartOS (server OS with strong focus on virtualization)
    • OmniTI's OmniOS (general purpose server OS)
    • OpenIndiana (general purpose desktop/server OS)

Due to license incompatibilities, the CDDL licensed ZFS code cannot be distributed as part of the GPL licensed Linux kernel. Other alternatives methods are available for running ZFS on Linux:

1391 questions
1
vote
1 answer

How do I restore just part of a corrupted file on a zfs pool?

While running a scrub, zfs status -xv reports that a large (1TB) file has checksum errors. The docs say this can be fixed by "restoring the file" from a backup. I assume this just means cp /backup/path/file /pool/path/file. However this will take…
Shelvacu
  • 373
  • 1
  • 2
  • 15
1
vote
0 answers

Linux Can't Detect Some Hard Drives

I have a dell R820 with an LSI 9211-8i HBA installed. I connected one hard drive, a dell with model number HUC101890CSS204, and installed ubuntu 18.04 onto it from a usb stick. I then added 3 HGST hard drives, model number HUC109090CSS600. All 4…
1
vote
2 answers

How to clear ZFS DEGRADED status in repaired pool

I got my first drive failure after a couple of years of maintaining this zpool so I did a zpool replace the drive with one of my spares. It took 60 hours (as shown below) to resilver the array but it seems to have done it with zero errors. The…
AlanObject
  • 662
  • 2
  • 9
  • 20
1
vote
0 answers

ZFS RAIDZ1 root on gentoo fails to boot after disk swap

I have a 3-disk RAIDZ1 array with 3 HDDs: # zpool status ... config: NAME STATE READ WRITE CKSUM gpool ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 sdb ONLINE 0 0 0 …
vesperto
  • 200
  • 2
  • 8
1
vote
1 answer

Setup with server and storage shelves for ~400TB on gigabit ethernet

Today i sketched out a storage setup, but since i am not very experienced with enterprise level storage, i would be very glad to have the concept reality checked by more experienced folks. Unfortunately, i didn't manage to find an existing question…
user582746
  • 29
  • 1
1
vote
1 answer

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, of 2 GB (the size of the default bpool…
1
vote
1 answer

zfs shows in pool but not in datasets

I transferred my freenas zfs pool to proxmox integrated zfs (linux basically) and when I ls the pool it shows the folders I used to have but when i do zfs list it doesn't show up. Could I just rm folder these files or will it cause problems on zfs?…
Luis Liz
  • 113
  • 4
1
vote
1 answer

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 Red 10TB and 2 Seagate IronWolf 8TB arranged in 5x…
FlorentR
  • 71
  • 4
1
vote
2 answers

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 Version: buster-backports 0.8.3-1 on the Debian…
jew
  • 11
  • 7
1
vote
1 answer

ZFS and Permanent errors - what does it mean?

I need a little help with a problem. I have a raidz1 pool: NAME STATE READ WRITE CKSUM data1 DEGRADED 0 0 0 raidz1-0 DEGRADED 0 0 0 sda ONLINE 0 0 0 sde DEGRADED 0 …
user39063
  • 121
  • 3
1
vote
0 answers

Huge IO performance degradation between proxmox ZFS host and WS19 VM

For more than a week, I am trying to determine the reason for the following IO performance degradation between proxmox host and a Windows Server 2019 VM(s). I have to ask for your help guys because I've run out of ideas. Environment data: Single…
1
vote
0 answers

PosixACL and NFS

Background first, as always. I administer two HPC systems. Both are running the same OS, in the case CentOS 7. They both mount an NFS share that is provided by a server, which has a number of other shares, running Debian 8. Until recently the share…
Chris Woelkers
  • 298
  • 2
  • 11
1
vote
1 answer

ZFS MOUNT is slow

I have a problem with an ZFS problem, and done fair bit of isolating, but getting stuck. Server1 - ZFS host, openbsd Server2 - Workhorse that has ZFS drive mounted, ubuntu An untar operation on the ZFS drive takes 2s on Server1. The same operation…
Sebastian
  • 145
  • 6
1
vote
1 answer

ZFS log partition got deleted: how to recover the partition table of this ZFS partition to recover the ZFS partition table?

I hadn't turned on my NAS system for some time, and something regarding ZFS broke when I turned the system back on. The setup for my ZFS pool is three 8TB drives in RAIDZ, with an NVME drive containing a ZIL slog partition and a cache partition.…
Hunter_AP
  • 21
  • 2
1
vote
1 answer

ZFS: edit zpool drive order of failing pool on ubuntu

I am a bit lost in what exactly happened and how to proceed with a recently expanded zfs configuration on Ubuntu 18.04. I have a storage server running smoothly for years using ZFS with 2 pools each containing 10+ drives. All was well until.... we…
ALchEmiXt
  • 11
  • 3