Questions tagged [zfsonlinux]

zfsonlinux provides a native Linux kernel port of the ZFS filesystem so that ZFS may run natively on Linux. It is very different from ZFS-fuse which provides ZFS on top of a userspace-filesystem layer. The ZFS On Linux project is hosted on zfsonlinux.org.

zfsonlinux provides a native Linux kernel port of the ZFS filesystem so that ZFS may run natively on Linux. It is very different from ZFS-fuse which provides ZFS on top of a userspace-filesystem layer.

The ZFS On Linux project is hosted on zfsonlinux.org.

268 questions
6
votes
3 answers

TRIM/UNMAP Zvol over iSCSI

I am currently setting up a SAN for diskless boot. My backend consists of ZFS-Vol shared via iSCSI. So far everything is working just fine except for TRIM/UNMAP. For test puposes I setup two VMs running Ubuntu20.04 in VirtualBox networked together…
CodyMouse
  • 75
  • 5
5
votes
1 answer

Run ZFS as non-root

I'm running Debian 10 in a VM (using KVM) and I want to use ZFS as a non-root user. Here is what I did. I added this line to my sources.list file deb http://deb.debian.org/debian buster-backports main contrib non-free Here is my complete…
amrbcl
  • 53
  • 5
5
votes
3 answers

ZFS on Linux: Which mountpoint option when mounting manually per script?

I want to create a zpool with ZFS on Linux (7.13) on Debian Buster. The problem is that the pool will be created based on LUKS encrypted drives (not root, only external). These drives are decrypted and loaded during boot by a script which i created…
MelBourbon
  • 73
  • 5
5
votes
1 answer

ZFS pool degraded on reboot

I have a Ubuntu server set up with a 14-disk ZFS raidz2 pool. About 80% of the time, on reboot, I will end up with a degraded pool with two of the disks marked as faulted. The drives that are faulted aren't always the same, but it is always exactly…
5
votes
1 answer

ZFS datasets no longer automatically mount on reboot after system upgrade

I have an Arch linux ZFS backup system which wasn't updated for a long time because it was working perfectly and there was no reason to bother. After a recent upgrade, though, my ZFS datasets are no longer automatically mounted when I reboot. …
pgoetz
  • 465
  • 1
  • 8
  • 16
5
votes
2 answers

Getting Ubuntu 16.04 on a ZFS root on a Hetzner dedicated server

By now, it's well possible to get Ubuntu 16.04 running on a ZFS root-fs. Ubuntu 16.04 has ZFS in the default package manager, and with guides like this, it's not hard to get started. However, all guides I've seen require being able to boot from a…
TinkerTank
  • 289
  • 2
  • 7
5
votes
2 answers

ZFS Shares not exported until sharenfs property re-set on Ubuntu 16.04

I am setting up ZFS and NFS on Ubuntu Server 16.04LTS and have a weird issue that is causing me to go crazy. I have set up ZFS and NFS using ZFS shares as described in https://pthree.org/2012/12/31/zfs-administration-part-xv-iscsi-nfs-and-samba/. As…
Jaime R.
  • 51
  • 1
  • 2
5
votes
1 answer

Growing zpool in zfsonlinux

I have 2x3TB disks with GPT and a zpool with uses a 2.7TB partition on the first disk (sda4) and 1TB on the second disk (sdb4). Reason is that initially both disks were just 1TB and I sequentially replaced both of them with 3TB. But during the time…
divB
  • 568
  • 1
  • 7
  • 23
5
votes
1 answer

ZFS: good read but poor write speeds

I'm in charge of downloading and processing large amounts of financial data. Each trading day, we have to add around 100GB. To handle this amount of data, we rent a virtual server (3 cores, 12 GB ram) and a 30 TB block device from our university's…
BayerSe
  • 245
  • 1
  • 2
  • 7
5
votes
2 answers

ZFS L2ARC for Mirror Pool

I was reading up on L2ARC for my ZFS. I currently have two Pools, One for Data, and the other for Linux Containers and Virtual Machines. I would like some help with L2ARC, I know how to add it but was wonder if it would benefit me. I'm running…
Jonny
  • 53
  • 6
5
votes
1 answer

How do I upgrade and keep my ZFS pools on Ubuntu Server?

I have a server running the 4-year-old Ubuntu 12.04 LTS with zfsonlinux installed on the machine with a 1.5TB mirrored drive setup. The Ubuntu 16.04 LTS has no upgrade path, so I'll have to reimage the boot drive, but it has native support for…
Riking
  • 151
  • 4
5
votes
1 answer

ZFS on Centos - "No such pool or dataset" and "devices is currently unavailable"

I'm trying to create zpools on CentOS 7 (3.10.0-327.10.1), and the zpool command seems to hate "wwn-0x" IDs. "zpool status" is clear - there are no zpools currently configured on the machine. I have drives: lrwxrwxrwx. 1 root root 9 Mar 11 14:30…
Locane
  • 429
  • 1
  • 8
  • 20
5
votes
2 answers

How to migrate a regular LXC container to a Proxmox LXC container?

How do you migrate a regular LXC container (from another or the same server) to a Proxmox LXC container, which can be accessed via the Proxmox web GUI? For example, I have a container created by running: lxc-create -n debian8 -t debian -- -r…
ChrisW
  • 181
  • 1
  • 1
  • 7
5
votes
2 answers

btrfs Integrity and Stress Testing

A DevOps colleague is recommending that we begin transitioning our production environment to using btrfs. We have primarily ext4 filesystems, though some low-usage servers using ZFS (on Linux). As one of the decision-makers, and as one responsible…
Joe
  • 492
  • 4
  • 15
5
votes
2 answers

ZPOOL replace defective disk in exported pool

Yesterday, I put a new disk into my server. Sadly, I didn't check the disk before of failures. I added it to my pool with the command zpool add nas /dev/disk/by-id/scsi-SATA_ST31500341AS_9VS27Z4M-part1 Short after, the CPU-load of the server went…