Questions tagged [zfs]

ZFS is a modern file system and volume manager originally developed by Sun Microsystems and licensed under the CDDL. It is a copy-on-write file system with support for large storage arrays, protection against corruption, snapshots, clones, compression, deduplication and NFSv4 ACLs. An open-source fork of ZFS can be found at http://open-zfs.org/ , which is supported by ZFSonlinux.org, illumos.org and ZFS developers in the FreeBSD & Mac OS X communities.

ZFS is supported out of the box on a number of operating systems:

  • Solaris 10
  • Oracle Solaris 11 Express
  • FreeBSD
  • NexentaStor
  • illumos - specifically, illumos-based distributions, like:
    • Nexenta's illumian
    • Joyent's SmartOS (server OS with strong focus on virtualization)
    • OmniTI's OmniOS (general purpose server OS)
    • OpenIndiana (general purpose desktop/server OS)

Due to license incompatibilities, the CDDL licensed ZFS code cannot be distributed as part of the GPL licensed Linux kernel. Other alternatives methods are available for running ZFS on Linux:

1391 questions
10
votes
1 answer

What ZFS file structure to use for zfs-root linux system?

In ZFS, you can build your filesystem hiearchy to include different fs-attributes per filesystem. For insance, compression in one area, no-exec/suid in others, noatime. For example, a HOWTO for FreeBSD suggests creating the following…
glallen
  • 253
  • 2
  • 9
10
votes
3 answers

ZFS Pool with Different Drive Sizes

I am planning on setting up a FreeNAS ZFS pool using two 2 tb drives and two 1tb drives. I would like to have data redundancy somehow. I read this post which seems to suggest my two options are to lose 1tb per 2tb drive using RAIDZ or to use this…
Timothy R. Butler
  • 703
  • 2
  • 11
  • 22
10
votes
3 answers

ZFS - Impact of L2ARC cache device failure (Nexenta)

I have an HP ProLiant DL380 G7 server running as a NexentaStor storage unit. The server has 36GB RAM, 2 LSI 9211-8i SAS controllers (no SAS expanders), 2 SAS system drives, 12 SAS data drives, a hot-spare disk, an Intel X25-M L2ARC cache and a…
ewwhite
  • 197,159
  • 92
  • 443
  • 809
10
votes
6 answers

File size with zfs compression

I usually estimate the size of a whole directory tree using du -ks $DIRECTOY_TREE_ROOT, but this method cannot be used when zfs compression is on. The total displayed by ls -l is ok for a single directory, but which is the simplest way to get the…
marcoc
  • 748
  • 4
  • 10
10
votes
5 answers

Does Windows have a checksumming filesystem like ZFS or BtrFS?

I use ZFS and love it. I know that BtrFS also supports checksumming. I've been told that checksumming is available in Windows 2008, but I've been unable to verify this. Are there checksumming filesystems besides ZFS and BtrFS on any platform,…
royco
  • 573
  • 3
  • 8
  • 17
10
votes
2 answers

ZFS and cache devices

I'm going to add a SSD drives to my ZFS storages as a cache. Anyone has any experience with this? What if cache device dies, will the any data be affected?
disserman
  • 1,850
  • 2
  • 17
  • 35
9
votes
2 answers

zdb doesn’t recognize my pool?

On my freenas server, zpool status tells me I have 2 zfs pool : data & freenas-boot : % zpool status pool: data state: ONLINE scan: scrub repaired 0 in 0 days 04:16:16 with 0 errors on Mon Nov 20 00:59:24 2017 config: NAME …
paulgreg
  • 4,154
  • 6
  • 33
  • 32
9
votes
1 answer

ZFS delete snapshots with interdependencies and clones

Below is my list of ZFS volumes and snapshots, as well as the origin and clone for each. I want to delete all the snapshots, but keep all the filesystems. How can I do this? I have tried zfs promote followed by attempting to delete each filesystem…
allquixotic
  • 487
  • 1
  • 10
  • 24
9
votes
4 answers

ZFS stripe on top of hardware RAID 6. What could possibly go wrong?

I have 36*4TB HDD SAN Rack. RAID controller did not support RAID60 and not more than 16 HDDs in one RAID group. So I decided to make 2 RAID6 groups of 16HDD or 4 of 8 HDDs. I want to get all storage as one partition. So, what could possibly go wrong…
Severgun
  • 163
  • 2
  • 8
9
votes
1 answer

How to obtain read speeds of two disks using mdadm/btrfs raid1 or zfs mirror?

Given that RAID1 writes two copies of the data, my understanding is that reads should be close to twice that of a single disk. I have tested read performance of different technologies (mdadm, zfs, btrfs) with little success. From my…
Greg
  • 1,657
  • 5
  • 27
  • 38
9
votes
1 answer

OmniOS/ZFS/Windows 7: "Save as" from within applications lags 5 seconds for all file sizes over CIFS/SMB

Situation: The following strange problem has occurred on a single file server running OmniOS r151018 (95eaa7e) serving files over SMB to Windows and OS X guests. Saving certain files (.docx, .xlsx, some images) through the "Save as..." dialog window…
9
votes
3 answers

ZFS volume as ISCSI target

I'm looking into ZFS and using FreeNAS for ZFS management and have the following question: Do the ZFS advantages as deduplication, auto error fixing etc still work when creating an iSCSI target on a ZFS volume? In FreeNAS, this is probably a raw…
Devator
  • 1,473
  • 4
  • 18
  • 37
9
votes
1 answer

What happens if I force ZFS to detach a hot spare with no valid replicas?

I have a ZFS pool made out of 6 RAIDZs. One of the RAIDZ is degraded, due to loosing two disks in the single RAIDZ close enough together that ZFS wasn't able to recover from the first failure before the second disk failed. Here is the output from…
jasongullickson
  • 573
  • 4
  • 11
9
votes
1 answer

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 single 4 TB Postgres database and the disks in the…
elleciel
  • 389
  • 4
  • 11
9
votes
2 answers

strange ZFS disk space usage report for a ZVOL

We have a 100G ZVOL on a FreeBSD 10.0-CURRENT host which claims to use 176G of disk space: root@storage01:~ # zfs get all zroot/DATA/vtest NAME PROPERTY VALUE SOURCE zroot/DATA/vtest type …
Alex
  • 7,939
  • 6
  • 38
  • 52