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

How to Diagnose Constant ZFS Repairs

I ran a zpool scrub 4 times on my pool today. Each time, it found and fixed errors. Bad drive, right? The pool has 2 drives, and smartctl reports zero Raw_Read_Error_Rate for each. So the drives say nothing is wrong. ZFS is finding errors on both…
0
votes
0 answers

adding a new hard drive for data under linux with zfs

I cannot get my zpool dataset to preserve and mount after reboot I am sure I am missing something basic, but here goes: I have Linux (Artix) installed on /dev/sda as ext4. Note: Artix does not use systemd. I would like to add a data drive using zfs…
posop
  • 247
  • 2
  • 10
0
votes
1 answer

Is there an advantage to using discreet ZFS datasets/filesystems in a single zpool?

I have a Centos server utilizing ZFS on Linux. The disks are in a single zpool. When you type in zfs list it shows a single filesystem(?)(dataset?), tank1. NAME USED AVAIL REFER MOUNTPOINT tank1 18.4T 25.1T 18.4T …
DrKumar
  • 171
  • 7
0
votes
0 answers

ZFS Pool Disk faulted. Offlined and replaced and now I am stuck

Original fault: pool: datastore7 state: DEGRADED status: One or more devices could not be used because the label is missing or invalid. Sufficient replicas exist for the pool to continue functioning in a degraded state. action: Replace the device…
0
votes
1 answer

Error replacing ZFS disk

I’m trying to replace a disk in a TrueNAS ZFS pool and I’m getting the error cannot replace 5885333735856859460 with ada6: already in replacing/spare config; wait for completion or use 'zpool detach' zpool status shows NAME …
Rich
  • 163
  • 1
  • 6
0
votes
1 answer

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 to the whole HDDs. ZFS 2.0.2 is running in a…
0
votes
2 answers

restore from zfs incremental backup

I have create zfs backup in the following way: create full backup zfs snapshot pool/mydata@fullback zfs send pool/mydata@fullback > /backup/fullback 2.create five incremenatal backup incr1 .. incr5 zfs snapshot pool/mydata@incr1 zfs send -i…
0
votes
1 answer

Add users, permissions of folders, etc on ZFS pool

First of all, I'm still learning Unix basics :) so sorry in advance. I had created on my home server ZFS pool by Proxmox as "root". After that I created Linux Mint virtual machine ( with "superuser" as account name), passed-through sas controller…
ruffpl
  • 1
  • 2
0
votes
0 answers

Problems with Debian VM - import ZFS pool state: UNAVAILABLE

I had created RAIDZ1 pool in Proxmox. I had created Ubuntu VM and passed the controller with disks to it. After little while I wanted to try Debian. I had removed the controller from Ubuntu VM without any "zpool export" and I had deleted VM . Now I…
ruffpl
  • 1
  • 2
0
votes
0 answers

ZFS: 3 whole disks + partition vs 4 whole disks

While the title is ambiguous, I couldn't find an appropriate one. New to ZFS. I have 1 proxmox server at SoYouStart for testing purposes. The server has 4x2TB HDD (SoftRAID), and the partition table I can set is limited: I must have 3 partitions…
Max13
  • 141
  • 1
  • 9
0
votes
1 answer

What happens when ZFS RAID0 or RAID1 (single disk) detects data faults?

There are many articles about how ZFS protects the data and detects bit rots etc. There is even a question asking about ZFS on a single drive. zfs on a single device: what happens when a file is corrupted? But the answer is use copies=2. What I am…
yurtesen
  • 200
  • 2
  • 10
0
votes
1 answer

ZFS: i/o error - all block copies unavailable on reboot

I am trying to create RAID-Z pool on 3 disks, but I'm getting this error after reboot: zpool create -f -o altroot=/mnt datapool raidz vtbd0p3 /dev/da0 /dev/da1 Error is ZFS: i/o error - all block copies unavailable invalid format FreeBSD/x86…
0
votes
1 answer

i'm able to create raidz with diff sized of hard disk. where im missing?

i read about raidz5 cannot create with diff sizes of hard disks but i'm able to create raidz with diff sized of hard disk please tell me where im missing? da0 0:107 12G zfs - - da1 0:109…
0
votes
1 answer

ZFS Failed Multiple New Drives

It was decided to replace our aging primary NAS, consisting of three 48 drive SAS expanders of 4TB drives, with a similar system of 12TB drives while reusing some of the newer hardware, one expander and SAS card that was added on about a year ago.…
Chris Woelkers
  • 298
  • 2
  • 11
0
votes
1 answer

Creative solution for a crippled zpool (aka help a dying raid to survive for 1-2 weeks)

I have a ZFS RAIDZ-7 made by 8x4TB on a Proxmox 6 (linux kernel version: 5.4.78-2-pve, openZFS version: 0.8.5-pve1). An unfortunate astral conjunction force me to remove 3 disk from my RAIDZ. In around 1 or 2 weeks 5 new disks comes to me. Not too…
Steve81
  • 13
  • 3