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
0 answers

Using ZFS, volume size increase are not seen by LXD container

I'm trying to use LXD to test Ansible deployments, but the container are too small. I read the documentation from linuxcontainers.org here, and I still cannot increase the size on the root disk of my LXD container : I'm running these versions…
Jean
  • 123
  • 8
0
votes
0 answers

Is there a way to add a drive which has a mismatched txg in a ZFS zpool?

I've got a raidz2 that should be finding one more drive, that is physically there, only its txg # is out of sync, so I think that is causing it not to be added. (Disk 4 did indeed fail and is missing). raidz2-0 …
0
votes
1 answer

ZFS send/receive fails, target has been modified, because of a zfs userspace query?

I use zfs send/receive to replicate a zfs file system to another server every day. The workflow is the standard send receive: # 1. create snapshot on source zfs snapshot ${source_fs}@${today} # 2. send incremental update from yesterday to today to…
Sethos II
  • 507
  • 4
  • 7
  • 18
0
votes
1 answer

How to activate HD indicator lights on Dell PowerEdge 710 in Linux

I have a particular drive that is failing (/dev/sdb) I need to replace the failed drive but I am not sure which it is... I should have documented what drives were in what slots and what their devs were but I did not and it will be very troublesome…
Eforen
  • 103
  • 2
0
votes
0 answers

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 the ZFS volume, but I am at a loss as to how to…
davidgo
  • 6,222
  • 3
  • 23
  • 41
0
votes
0 answers

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, for the benchmarking I created a benchmarking…
Héctor
  • 141
  • 1
  • 6
0
votes
1 answer

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: NAME STATE READ WRITE CKSUM …
0
votes
1 answer

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 rpool it says that there's no such pool or…
Meni
  • 91
  • 1
  • 8
0
votes
1 answer

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 to achieve that weren't implemented in other…
0
votes
0 answers

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 both spares and that did not detach them. I had…
mauricev
  • 71
  • 1
  • 2
  • 4
0
votes
1 answer

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 implementation of rsync forces TB's of data to be…
0
votes
1 answer

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 ONLINE 0 0 0 mirror-0 …
0
votes
0 answers

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 created a docker volume on VM by using next…
ivatt
  • 1
0
votes
0 answers

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 (which was offline at the time). zpool status…
Gareth
  • 31
  • 2
0
votes
0 answers

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 Kingston KC2500 1TB (/dev/nvme0n1) formatted as 512 (with…