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 does zfs know which snapshots to send with the `-I` flag?

From the manual: A group of incremental snapshots can be combined into one snapshot by using the zfs send -I option. For example: # zfs send -I pool/fs@snapA pool/fs@snapD > /snaps/fs@all-I How does zfs know that @snapB and @snapC are in between…
0
votes
0 answers

Can I make running `zfs receive` without "-s" to save receive_resume_token by signal?

I am running a zfs send/receive. However I forget to set zfs receive -s. Is this possible to inform a running zfs receive to save receive_resume_token by a signal sends from kill -s ? Or is there other way to save a checkpoint ?
Galaxy
  • 105
  • 1
  • 9
0
votes
0 answers

Rclone to a SFTP endpoint in a local network with a bunch of disks - suggested disks setup?

I have a need to copy a complex dataset (around 4 PB total, hundreds of millions of files) via Rclone copy, for some customers (each of them own around 100TB out of the 6PB) - to a bunch of disks via potentially the sftp protocol. Electing not to go…
JaneD
  • 65
  • 4
0
votes
0 answers

Why isn't my zpool listed for export when plugged into new host?

I have a zpool called 'temp' with some data I'm trying to move between systems. I used zpool export temp to export the zpool, then I unplugged the disks, and installed them in my new computer. But now when I run zpool import temp it just says…
John Elliot V
  • 333
  • 2
  • 10
0
votes
1 answer

Samba and ZFS resulting in NT_STATUS_BAD_NETWORK_NAME

I am currently trying to share my ZFS dataset using SMB. Unfortunately I receive the error NT_STATUS_BAD_NETWORK_NAME every time I try to connect to the share. The error does not make much sense to me since as far as I understood it from this source…
mchp
  • 1
  • 2
0
votes
1 answer

Uninstall ZFS installed via Ubuntu 20.04 installer

Apologies if this has been answered somewhere, I've searched everywhere and couldn't find anything. I'm a PhD student and I manage a small cluster for our group. When installing Ubuntu 20.04 on our servers we chose the "experimental" zfs feature.…
0
votes
0 answers

Bindmount External Drive In Proxmox for Nextcloud

I have a Proxmox LXC container with Nextcloud. The default data directory in Nextcloud requires the owner to be www-data with the default uid and gid of 33. I am using the following Proxmox Mount Point: /mnt/sdc Drive Path: /dev/mapper/sdc UID:…
user21303
  • 1
  • 1
0
votes
0 answers

Proxmox ZFS encryption issue

Used Proxmox 7.3 on a Hetzner baremetal server. Configured ZFS Encryption using following steps: zpool import -f rpool zfs snapshot -r rpool/ROOT@copy zfs send -R rpool/ROOT@copy | zfs receive rpool/copyroot zfs destroy -r rpool/ROOT # Create a new…
Dan L.
  • 101
0
votes
1 answer

Cloud-init installing packages on Debian with contrib sources

I need to install some zfs packages on Debian instances using cloud-init. One of the packages needs the contrib sources. I can get it to update the sources list, but the packages fail to install. If I remove the contrib source lists, some packages…
dj423
  • 23
  • 3
0
votes
0 answers

ZFS Not Recovering Space

I've certainly made a few rookie mistakes when setting up my first ZFS from a 4 drive array (14tb platters), mainly forgetting to change the block size from default. However I am missing space in my summary and I 'think' I know what is happening but…
jjonesdesign
  • 101
  • 1
0
votes
0 answers

txg_sync doing lots of reads on my ZFS pool

I ran iotop today for a few hours on my storage server which has a few ZFS datasets that are mounted elsewhere as NFS volumes. After a few hours, the accumulated read/write statistics showed that txg_sync is doing the majority of read activity on…
0
votes
0 answers

Recover mirrored ZFS pool with faulted disk

I had a ZFS pool with 2 disks mirrored on Ubuntu 20.04.5. After a reboot, my pool has disappeared. # zpool list no pools available It seems like I could just import it back. # zpool import pool: tank id: 3813754442158920310 state: ONLINE …
Everett Toews
  • 663
  • 1
  • 6
  • 12
0
votes
1 answer

ZFS pool disappears and says "I/O error" because of one missing device

I had a ZFS pool named data with 3 disks. Two disks were attached to the raidz by ID, but the third one was attached by volume (sda). I physically removed the sda device because I wanted to attach it by name. But when I rebooted, the pool is no…
Alex Shaw
  • 539
  • 1
  • 4
  • 4
0
votes
1 answer

My ZFS pool seems to be self-destructing, any ideas?

Context I recently noticed my freeNAS telling me it had issues with one drive. I had about 16 bad sectors, went through the smart tests etc. I bought a new drive, same capacity, went to install it, and for some reason a power adapter for one of the…
Morg.
  • 317
  • 1
  • 7
0
votes
1 answer

filesystem 'tank/volume' cannot be mounted, unable to open the dataset

I'm running ZFS and after zfs clone of a snapshot, I tried to mount the volume with command mount -t zfs tank/volume /mnt , but got an error message: filesystem 'tank/volume' cannot be mounted, unable to open the dataset How to fix this?
PHZ.fi-Pharazon
  • 261
  • 1
  • 10