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.

learn more… | top users | synonyms

2
votes
2answers
471 views

ZFS - zpool replace never finishes

I have a 5 x 3TB raidz1 array on a ubuntu 14.04.1 server. Last month, one of the drives died (audible clicking). I was able to replace the drive with zpool replace RAID <dead drive> <new ...
1
vote
2answers
488 views

Is a degraded RAIDZ2 the same as a RAIDZ?

Background on this question: I have a litte server with five HDDs pooled together in a RAIDZ. Last week one of my HDDs died. So I bought a new HDD and replaced the dead HDD. During the resilvering the ...
5
votes
1answer
75 views

Is the size reported by `zfs send` exact or estimated?

Consider the following command and the output: zfs send -Pvi \ tank/vms/langara@zfsnap-2016-05-11_00.00.00--1w \ tank/vms/langara@zfsnap-2016-05-13_00.00.00--1w \ | dd > /dev/null ...
4
votes
1answer
463 views

ZFS on LUKS not recognized at boot

I've got 6 physical drives in RAID-Z2, which I intend to one-by-one convert to dm-crypt devices. My process was roughly: dd if=/dev/zero of=/dev/sdf Create keyfile /etc/crypttab.d/crypt-1.key ...
3
votes
1answer
105 views

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)...
3
votes
1answer
132 views

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 ...
1
vote
1answer
265 views

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 ...
1
vote
1answer
59 views

How to import a child of a broken zpool mirror on a different host?

I have a hard disk lying around which once belonged to a 3-disk ZFS mirrored pool on a Ubuntu 12.04 server, called d510. The disk was properly detached but its filesystem tank0 was not exported. I ...
1
vote
1answer
152 views

Access iSCSI block device, setup as ZFS volume on CentOS7 - won't automount on boot, hangs on reboot

I am running CentOS7 on a virtual instance at Softlayer. There is a block storage device available to the instance via multipath/iscsi I have successfully had this block device mounted as XFS. I ...
1
vote
1answer
111 views

Move ZFS filesystem (including snapshots) from one pool to another

I work with a setup where we use ZFS snapshots to maintain a historical record. We have a need to migrate this data from one ZFS pool to another. This question (Moving a ZFS filesystem from one pool ...
0
votes
1answer
41 views

ZFS: ARC and buffer cache with PostgreSQL

I am using Ubuntu Xenial, zfs and PostgreSQL 9.5 with all updates available atm. All testing is done on EC2 m4.xlarge (8GB RAM) and table size ~4GB. PostgreSQL effective_cache_size=6GB. First ...
5
votes
0answers
448 views

Using ZFS head node as database server?

I'm using a dual-head ZFS-backed NAS for high availability cluster shared storage, based on Nexenta's recommended architecture as seen here: The disks in 1 JBOD will store the database files for a ...
2
votes
0answers
38 views

Grow ZFS pool to use the whole disk

What's the (if there's any) way to grow a zfs pool that only uses a disk partially to use the whole disk? Background is, zfs is used here on a virtual machine and the Virtual machines disk has been ...
2
votes
0answers
118 views

How do I get Ubuntu to forget about a destroyed zfs pool?

I have also asked this question over on Ask Ubuntu but I thought I'd try here as well. The details can be found at: http://askubuntu.com/questions/304822/how-do-i-get-ubuntu-to-forget-all-about-an-old-...
1
vote
0answers
27 views

ZFS issue after enlarging image

I created a new img using the following command: truncate -s 250G disk.img and I replace the existing image that I used for zpool with that one using (lxd.img was 2G): zpool replace lxd lxd.img ...
1
vote
0answers
21 views

Does zfs send scrub the sent data?

To my knowledge ZFS as a filesystem checks for data errors during each access to the data. I would therefore assume that it actually performs something like a scrub before sending the data thereby ...
1
vote
0answers
40 views

Why ZFS ARC hit rate is higher than real performance hit?

We've got Debian Wheezy host with ZFS on Linux with in. It is used only for serving large files over http. User activity is mostly characterized by a lot of random read. We've noticed that ~95% ARC ...
1
vote
0answers
140 views

ZFS copy on write

I am planning to use ZFS for backups. 5-10 servers will "stream" updates via DRBD to very large files (500 gigabytes each) on ZFS file system. The servers will generate about 20 megabytes per ...
1
vote
0answers
80 views

Mount ZFS dataset in unprivileged container

First a bit of information about my configuration: Ubuntu 15.10 ZFS pool created LXC containers stored in pool/lxc Dataset created in pool/mydataset owned by user1 Now I need one of the containers ...
1
vote
0answers
103 views

zfs pools unavailable, disks shared with other pools

My ZFS pool called data do not mount anymore after a shutdown. Maybe there was some automatic update on the computer. I Don't know. zpool status returns no pools available zpool import returns ...
0
votes
0answers
14 views

Linux Ubuntu 16.04.1 UFS: Warnings in Dmsg and Console. ZFS

Why am I getting these warnings on my ZFS disks? ALl disks but sda are ZFS I'm guessing its nothing to worry about though. OS: Ubuntu 16.04.1 LTS, no external PPAs or repos Whole DMesg Warning ...
0
votes
0answers
28 views

Best practice for setuid and setgid in /root and user directories

ZFS allows to created datasets with setuid turned off, which (AFAIK) means that setuid bit can't be set on files stored in those datasets. Assume now that there are two datasets, one for the /root ...
0
votes
0answers
25 views

ZFS Snapshot showing unreachable inside snapdir

I am using ZFS with Linux 3.19.0-58-generic. I have created some snapshots, but when I cd into these directories after one point it becomes unreachable, what does that mean ? Is there any workaround ...
0
votes
0answers
27 views

zfs Disk in pool accidentally pulled now shows pool degraded

I have a pool with 10 disks and we accidentally pulled the wrong disk and now the pool shows degraded, and suggests using zpool recover. Can we just "zpool scrub sdbe" to get the disk resilvered and ...
0
votes
0answers
267 views

ZFS on Linux denied access when accessing child dataset on NFS

This is on 12.04 LTS with the latest ZFS on Linux from the ppa. I have two a storage pool named data, and a dataset data/Other with different settings (e.g. compression). I set data to sharenfs and ...
0
votes
0answers
675 views

Formatting a FreeNAS ZFS volume as ext4 for Linux use?

I've setup a FreeNAS server with 6x 3TB drives for use as a backup NAS via iSCSI for a Linux server (Ubuntu 12.04). The FreeNAS setup was pretty straightforward and the logical step seemed to be to ...