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.

Filter by
Sorted by
Tagged with
35 votes
3 answers
46k views

How to perform incremental / continuous backups of zfs pool?

How can zfs pools be continuously/incrementally backed up offsite? I recognise the send/receive over ssh is one method however that involves having to manage snapshots manually. There are some tools ...
Greg's user avatar
  • 1,677
15 votes
1 answer
3k 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 ...
user's user avatar
  • 4,455
39 votes
2 answers
49k 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 ...
Kevin Wood's user avatar
17 votes
2 answers
17k views

ZFS checksum errors, when do I replace the drive?

I'm fairly new to ZFS and I have a simple mirrored storage pool setup with 8 drives. After a few weeks of running, one drive seemed to generate a lot of errors, so I replaced it. A few more weeks go ...
Dominic P's user avatar
  • 497
12 votes
1 answer
13k views

ZFS on Linux (ZoL) and realtime replication

I would like to understand what is the best solution for realtime replication between two ZFS on Linux (ZoL) boxes connected by a 10 GbE link. The goal is to use them for virtual machines; only one ...
shodanshok's user avatar
  • 50.7k
6 votes
1 answer
9k 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 ...
Manolo's user avatar
  • 63
3 votes
2 answers
4k 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 ...
Farhan's user avatar
  • 4,309
27 votes
4 answers
5k views

If a RAID5 system experiences a URE during rebuild, is all the data lost?

I understand the argument regarding larger drives' increased likelihood of experiencing a URE during a rebuild, however I'm not sure what the actual implications are for this. This answer says that ...
mboratko's user avatar
  • 399
24 votes
7 answers
57k 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 ...
gertvdijk's user avatar
  • 3,574
8 votes
3 answers
3k 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 ...
Matt Sieker's user avatar
8 votes
1 answer
3k views

zfs - hotspare, replace, detach: ressource is busy

I'm pretty new to zfsonlinux. I've just succeeded in setting up a brand new server, with a Debian ROOT on ZFS. All is working fine, but I've got an issue with hot spare and replacing disks. Here is ...
4wk_'s user avatar
  • 330
6 votes
3 answers
2k views

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 ...
CodyMouse's user avatar
5 votes
1 answer
2k views

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 ...
David Chappelle's user avatar
5 votes
2 answers
3k 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 /...
Daywalker's user avatar
  • 495
4 votes
3 answers
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: ../../lib/libzfs/...
84104's user avatar
  • 13k
4 votes
1 answer
2k views

ZFS snapshot send incremental

I have been happily using zfsnap with CentOS and ZFSonLinux in a scripted manner similar to how it is described on the web site, but have run into an issue. Unfortunately backups did not run a few ...
ak907's user avatar
  • 53
3 votes
1 answer
2k views

Are ZFS snapshots really "free"?

I've heard many times that ZFS snapshots are "free", that because of ZFS' copy-on-write design snapshots do not consume any disk space unless data is changed, and only then the space usage ...
Josh's user avatar
  • 9,218
3 votes
1 answer
1k views

zpool fails to import raidz3 pool despite sufficient replicas available

Some users were having issues connecting to this server's share on the pool, while other's who were already on seemed to be fine. After arranging a reboot the pool failed to import once the system ...
Louis Waweru's user avatar
2 votes
2 answers
4k views

Does the max-80%-use target suggested for ZFS for performance reasons apply to SSD-backed pools?

The Solaris ZFS Best Practices Guide recommends keeping ZFS pool utilization below 80% for best performance: Keep pool space under 80% utilization to maintain pool performance. Currently, pool ...
user's user avatar
  • 4,455
2 votes
1 answer
2k 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 ...
Charles Duffy's user avatar
2 votes
1 answer
243 views

zpool replace ran successfully, but still recommends zpool replace. What is it telling me?

A drive failed in a raidz3 (pci-0000:03:00.0-scsi-0:0:10:0), and I replaced it with an available spare (wwn-0x5000c500858252ef): pool: darkpool state: DEGRADED status: One or more devices are ...
Louis Waweru's user avatar
2 votes
2 answers
2k views

How to attach a 2-device striped mirror to a pool?

I have a single-drive pool consisting of a 2TB HDD. I have two 1TB drives I can use in mirror - I'd like to add redundancy to my pool. How can I attach these two drives as a single device so that ...
unfa's user avatar
  • 171