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

1
vote
1answer
14 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 ...
2
votes
1answer
86 views

Advice for building production 140 disk (420 TB) ZFS zpool [closed]

I have been tasked to build a large zpool for a data recording system. Using ZFS on Linux (0.6.4.2), on CentOS 6.5. Hardware specs: DL380 Gen8 80 GB ram 2x HP HBA H221 2x HP D6000, each with 70x ...
1
vote
0answers
40 views

zfsonlinux, raidz1: two disk corruptions: How I can use dd/dd_rescue and deceive zpool?

I have zfsonlinux (Centos 7), and raidz1. And I have trouble: two disks are dying. The first disk have Raw_Read_Error_Rate failure in SMART and Reallocated_Sector_Ct error (the disk has run out of ...
2
votes
1answer
55 views

Why isn't my ZFS pool expanding using ZFS on Linux?

I have a ZFS zpool on linux under kernel 2.6.32-431.11.2.el6.x86_64 which has a single vdev. The vdev is a SAN device. I expanded the size of the SAN, and despite the zpool having autoexpand set to ...
1
vote
1answer
79 views

How can I directly read data from a file in Linux without using the filesystem cache?

I have shared storage which is mounted (read-only) on SERVER1, and mounted (read-write) on SERVER2. SERVER2 is writing data to a file. SERVER1 is reading data from that file. The file poling is ...
1
vote
1answer
48 views

Can I prevent exportfs from from breaking ZFS sharenfs exports?

I'm using ZFS on Linux as a fileserver running Ubuntu Server 14.04 LTS. The ZFS pool shares a number of datasets using it's sharenfs property. Outside of ZFS there are a few additional NFS shares ...
1
vote
1answer
45 views

ZFS estimated send size much larger than total data size

From zfs send -R -v pool/fs@snap: send from @ to pool/fs@snap estimated size is 6.50T ...but from zpool list: NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT pool 3.62T 2.36T 1.27T ...
1
vote
0answers
37 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 ...
3
votes
0answers
45 views

why are zfs on linux transfer rtates reported incorrectly after expanding array?

I have upgraded the drives in a 4 drive Raidz array in a NAS server and the array has auto expanded to the new size. In testing transfer rates from the NAS server now I observe that when performing ...
0
votes
1answer
60 views

NFS client, ZFS Server ZoL: cat to changed file ends with not found

We get in trouble since an update from our clients from Ubuntu 12.04 to Ubuntu 14.04. The behavior: On client A I change an existing file foo on a nfs share. On client B I do a cat foo. 1st time ...
0
votes
0answers
148 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 ...
1
vote
2answers
640 views

ZFS - Recover or repair a corrupted file in a snapshot from backup

A pool has suffered permanent data corruption to file data that's part of a snapshot. If the file data was part of the filesystem (and not part of any snapshot), I could simply recover the file from a ...
2
votes
2answers
242 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 ...
0
votes
2answers
194 views

ZFS pool reports a missing device, but it is not missing

I am running the latest Debian 7.7 x86 and ZFS on linux After moving my computer to a different room. If I do a zpool status I get this status : pool: solaris state: DEGRADED status: One or more ...
2
votes
2answers
1k views

Inplace migrating ZFS RAIDZ with 3 drives to 4 disks, when pool has more than 1/3 of free space

On creating my RAID-Z pool on ZoL I assumed, I could easily just drop-in additional disks later on. Meanwhile I learned that this is yet not possible. But... I had a similar problem on creating my ...
0
votes
1answer
579 views

Linux ZFS does not buffer writes to write buffer (SLOG/ZIL)?

When experiencing write I/O, the log column in zpool iostat -v does not show any ZIL activity, ever. This results in higher than expected wait times when writing data to disk (sometimes over 80ms ...
0
votes
0answers
367 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 ...
7
votes
2answers
158 views

Why is ZFS not doing anything with my disk's duff sector?

I was under the impression that if an I/O error occurs during a read from a ZFS pool, two things will happen: The failure will be recorded in either the READ or CKSUM statistic of the relevant ...
2
votes
2answers
298 views

Cannot get ZFS pool created in OSX to import on Linux system [closed]

I'm experimenting with different file systems for use between a dual-booting Linux/OSX laptop which will act as a testing platform. Despite being a BSD variant, I've had a lot of trouble finding a ...
5
votes
2answers
2k views

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 ...
6
votes
1answer
251 views

How does quota usage for ZFS on Linux work?

I have a user who according to ZFS is at their quota. However, I cannot find how they are using all of their space. This file system has no descendant file systems and according to the man page the ...
1
vote
2answers
299 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 ...
4
votes
1answer
339 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 ...
6
votes
2answers
2k views

Encryption with ZFS on linux

Does ZFS on Linux already support Encryption? If not, is it planned? I found tons of info for ZFS+LUKS but that's absolutely uninteresting: I want ZFS encryption so that I can do replication using ...
4
votes
0answers
315 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 ...
5
votes
4answers
5k views

ZFS on linux upgrade from 0.6.2 to 0.6.3 made my zpool unreadable help translate CentOS to Ubuntu commands

After upgrading my ubuntu 13.10 server using sudo apt-get upgrade and rebooting, my zpool wouldn't show. messier@ANDERSON:~$ sudo zpool status no pools available messier@ANDERSON:~$ sudo zpool import ...
4
votes
3answers
1k views

Update from zfs-0.6.2-1.el6.x86_64 to zfs-0.6.3-1.el6.x86_64 has made by zpool unreadable

After running # yum update zfs and restarting my CentOS 6 ZFS on Linux system can no longer see or interact with it's zpools. # zpool status no pools available # zpool import zpool: ...
6
votes
3answers
907 views

Upgraded Ubuntu, all drives in one zpool marked unavailable

I just upgraded Ubuntu 14.04, and I had two ZFS pools on the server. There was some minor issue with me fighting with the ZFS driver and the kernel version, but that's worked out now. One pool came ...
12
votes
1answer
1k views

Why did rebooting cause one side of my ZFS mirror to become UNAVAIL?

I just recently migrated a bulk data storage pool (ZFS On Linux 0.6.2, Debian Wheezy) from a single-device vdev configuration to a two-way mirror vdev configuration. The previous pool configuration ...
4
votes
2answers
475 views

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 ...
-1
votes
2answers
2k views

ZFS didn't expand free space after add [closed]

I recently expanded my storage pool "zstorage" by adding two more drives. It had 3 3TB drives in RAID-Z, and I added two more 1.5TB drives also in RAID-Z (which I understand is effectively the same as ...
5
votes
3answers
619 views

zfs - two pools with nested mountpoints and conflicting mount order

I have a problem with automounting separate pools, that have nested mountpoints. I am using ZfsOnLinux 0.6.2. The siuation currently is as follows: zpool1 ---> /var zpool1/log ---> ...
5
votes
3answers
2k views

MongoDB and ZFS bad performance: disk always busy with reads while doing only writes

I have huge performance issues using MongoDB (i believe it is mmapped DB) with ZFSonlinux. Our Mongodb is almost only writes. On replicas without ZFS, disk is completely busy for ~5s spikes, when app ...
8
votes
3answers
6k views

Why isn't the arc_max setting honoured on ZFS on Linux?

I'm running ZoL 0.6.2 from their PPA on Ubuntu 12.04. It's on a host with 16GB of memory intended to run some VMs using KVM/Libvirt. After some time ZoL is using an insane amount of memory, reaching ...
2
votes
2answers
435 views

Why does zfs fail to cache this workload when “normal” filesystems cache it completely?

Update: because recordsize defaults to 128k, the amount of data read by the test program is much larger than the ARC on an 8GB system and still slightly larger than the ARC on a 16GB system. Reducing ...
6
votes
1answer
6k views

Clear a permanent ZFS error in a healthy pool

I scrubbed my pool today, and after the scrub finished, I noticed there was an error that corrupted a file. I didn't care about the file, so I deleted it. Unfortunately, the error remains (now ...
4
votes
1answer
3k views

ZFS on Linux/Ubuntu: Help importing a zpool after Ubuntu upgrade from 13.04 to 13.10, device IDs have changed

I have updated Ubuntu from version 13.04 to version 13.10, only to discover that the SATA disks IDs have changed, and my ZFS pool now fails. On new Ubuntu 13.10 the disk IDs are now ata-* instead of ...
11
votes
1answer
543 views

Force update checksum on zfs?

I recently changed the checksum property on one of my non-duplicated zfs filesystems to sha256 from on (fletcher4) to better support the sending of duplicated replication steams, as in this command ...
3
votes
2answers
786 views

Increase space of ZFS pool over iSCSI SAN, online

I have an iSCSI volume of 96GB on SAN, which has ZFS pool implemented on it. i have resized the size of SAN volume from 96 to 120GB, but the zpool list only shows the old space (96GB). how to achieve ...
5
votes
2answers
1k views

ZFS Reporting (on FreeBSD and Linux via ZoL)

As a longtime mdadm user is was just experiencing a disk error and remembered that I configured a Auto Mail reporting for mdadm on disk errors. Therefore i just had to insert my Mail address inside ...
0
votes
2answers
511 views

Multiple 2 TB LUNs — ZFS or ext4-over-LVM

I am going to deploy an Ubuntu 12.04-based archiving system. Due to limitations of the SAN Storage, it can only present me with 2TB LUNs. So, I have to merge multiple 2TB LUNs to achieve the desired ...
1
vote
1answer
649 views

House roaming profiles on realm trusted samba server?

Raison D'être I am attempting, so far unsuccessfully, to house roaming profiles for an Active Directory domain on a realm trusted Ubuntu 12.04LTS ZFS-on-Linux file server. The end goal is to have an ...
2
votes
0answers
94 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: ...
1
vote
1answer
176 views

Installing RHEL on a single disk with ZFS

I know ZFS is usually used for numerous reasons including it's amazing mirroring features. However in this instance the machine I've been tasked with setting up has a RAID-1 setup so I only have one ...
8
votes
5answers
2k views

Where is the central ZFS website now?

Oracle dumped OpenSolaris in Fall 2010, and it is unclear if Oracle will continue to publicly release updates to ZFS, except maybe after they release their next major version of Solaris. FreeBSD now ...