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.

255 questions
33
votes
2 answers

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 referenced by a hex ID and not a filename), and I don't…
Kevin Wood
  • 363
  • 1
  • 4
  • 8
31
votes
3 answers

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 I have found however most are no longer…
Greg
  • 1,557
  • 5
  • 24
  • 35
26
votes
4 answers

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 the entire rebuild fails, but does this mean that…
mboratko
  • 389
  • 3
  • 8
23
votes
7 answers

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 98% of RAM usage with some VMs running. This…
gertvdijk
  • 3,362
  • 4
  • 30
  • 46
21
votes
7 answers

Which filesystem for large LVM of disks (8 TB)?

I have a Linux server with many 2 TB disks, all currently in a LVM resulting in about 10 TB of space. I use all this space on an ext4 partition, and currently have about 8,8 TB of data. Problem is, I often get errors on my disks, and even if I…
alphatiger
  • 221
  • 2
  • 6
19
votes
4 answers

ZFS Datasets dissappear on reboot

I have installed ZFS(0.6.5) in my Centos 7 and I have also created a zpool, everything works fine apart from the fact that my datasets disappear on reboot. I have been trying to debug this issue with the help of various online resources and blogs…
Vishnu Nair
  • 293
  • 1
  • 2
  • 10
17
votes
1 answer

Why does `zfs list` and `zpool list` report very different sizes for my raidz2 pools?

I have a ZFS server with 8 zpools. Each pool is 12 6TB disks in a 10+2 RAIDZ configuration. So, each pool has a raw storage space of 12*6=72 TB and usable space of 10*6=60 TB. However, I see different results when I query it using zfs list vs. using…
Ketan Maheshwari
  • 323
  • 1
  • 3
  • 8
15
votes
2 answers

How to 're-balance' data in zfs? (Make sure the data is spread amongst all striped mirrors)

Using a striped mirror (Raid 10) as an example, if two disks are expanded to four, how can the data from the two disks be 're-balanced' (spread out) amongst the two mirrors? That is, how can the files which were written to one mirror be written to…
Greg
  • 1,557
  • 5
  • 24
  • 35
14
votes
0 answers

Restoring data after zfs destroy

On Debian 8.7 I had a zfs pool. (obviously using ZFS on Linux, not Oracle or Solaris zfs) It was needed to extend ZFS pool from mirror on 2 disks to raidz on 4 disks. I did backup (one copy of data - it was my first mistake) I thought that zpool…
Oleg Rudenko
  • 257
  • 2
  • 6
14
votes
2 answers

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 by and now I'm seeing small errors crop up all…
Dominic P
  • 417
  • 1
  • 4
  • 18
14
votes
2 answers

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 on, even after rebooting the machine,…
Josh
  • 9,001
  • 27
  • 78
  • 124
14
votes
1 answer

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 was: NAME STATE READ…
user
  • 4,267
  • 4
  • 32
  • 70
13
votes
5 answers

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 zfs send to an "untrusted" backup server. I.e., zfs…
divB
  • 538
  • 1
  • 6
  • 22
13
votes
1 answer

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 zfs send -DR -I _starting-snaphot_…
84104
  • 12,698
  • 6
  • 43
  • 75
12
votes
2 answers

Why is ZFS so much slower than ext4 and btrfs?

Problem I recently installed a new disk and created a zpool on it: /# zpool create morez /dev/sdb After using it for a while, I noticed it was quite slow: /morez# fio --name rw --rw rw --size 10G read: IOPS=19.6k, BW=76.6MiB/s…
Snowball
  • 1,463
  • 1
  • 12
  • 13
1
2 3
16 17