Questions tagged [zfs]

An advanced file system that can span multiple disks, heal itself from data corruption, deduplicate data, encrypt, etc.

ZFS is both a and a that supports

  • various layouts,
  • checksumming data to detect and repair corruption,
  • transparent compression,
  • copy-on-write snapshots and clones,
  • block device datasets (ZVOLs),
  • sending and receiving data streams,
  • resilvering only missing data rather than resyncing an entire RAID device,
  • dynamic striping, and
  • data deduplication.

ZFS was originally developed by Sun Microsystems, but in 2010, Oracle Corporation closed the source, which caused ZFS to fork into Oracle's closed-source branch and OpenZFS.

is a similar file system developed for .
Apple File System (APFS) is a similar file system developed by Apple.
Resilient File System (ReFS) is a similar file system developed by Microsoft.

401 questions
48
votes
6 answers

What is the difference between TAR vs CPIO archive file formats?

I am curious and did a bit of reading but still have questions. What makes CPIO different than TAR? I was told in another question that tar is for pulling together many files into 1 archive which then is usually gzip'd or bzip'd. Also I was told TAR…
AtomicPorkchop
  • 3,244
  • 14
  • 38
  • 58
41
votes
3 answers

Does Git prevent data degradation

I read that ZFS and Btrfs use checksums to prevent data degradation and I read that Git has integrity through hashing essentially everything with each commit. I was going to use a Git server on a Linux NAS with Btrfs RAID 1 for storage, but if Git…
39
votes
11 answers

Access a ZFS volume in Windows?

You'd think this would have been asked but I can't seem to find it so... Let's say I have a ZFS setup in this enclosure (8 bay USB3 JBOD): Now, I'm going to be running it on my Mac direct attached but I'd like to be able to access the files when I…
Doug S.
  • 415
  • 1
  • 4
  • 4
32
votes
6 answers

ZFS Beginner Setup with Different Size Drives

Sorry for the noobie questions, I've been Googling all sorts of walkthroughs to create my ZFS raid, but I can't seem to find the correct links for the answers I'm looking for. This is my first attempt for a RAID, and from all I've read, it seems…
ivandov
  • 433
  • 1
  • 4
  • 8
32
votes
2 answers

How can I determine the current size of the ARC in ZFS, and how does the ARC relate to free or cache memory?

ZFS uses an ARC (adaptive replacement cache) which is not accounted for in the traditional Linux "cache" memory usage. How can I determine the current size as well as size boundaries of the ZFS ARC, and how do these relate to the amount of free or…
user
  • 29,449
  • 11
  • 99
  • 144
28
votes
11 answers

Is ZFS and RAID-Z worth using in home made NAS (freeNAS for example)

Features of ZFS and RAID-Z look vary promising. Looks like it is a perfect FS for home NAS solutions, poor man's Drobo things and alike. Are there any drawbacks I should be aware of?
Kamil Zadora
  • 867
  • 2
  • 10
  • 14
24
votes
3 answers

ZFS with two disks: does this make sense? what is the safest configuration?

I am in the process of planning a file server for private usage (small amounts of various kinds of data, but mainly photos, videos, music). I will probably use NAS4free/FreeNAS and want to give ZFS a try. My focus is not speed, it is reliability and…
Jan-Philip Gehrcke
  • 592
  • 2
  • 6
  • 13
22
votes
1 answer

How many drives do I need for ZFS RAID-Z2?

How much storage would I need if I wanted to use RAID-Z2? I am building a home server that will run FreeNAS with a ZFS file system, and currently plan to install 3 3TB hard drives. Does RAID-Z2 work on this? Would I need to downgrade to…
user424484
16
votes
1 answer

How can I access the contents of a ZFS snapshot without affecting its current data?

I have a ZFS dataset which gets hourly snapshots taken. Yesterday, a change was made to some of the files which needs to be reverted; however, the dataset has ongoing changes which shouldn't be reverted. What are my options to access the snapshot…
STW
  • 1,836
  • 4
  • 17
  • 33
16
votes
2 answers

Piping in and out of tar and gzip

I am trying to get a handle on how to pipe from a command into something like gzip, cpio or tar. The commands in question belong to the ZFS system. I am running ZFS on Ubuntu Linux 10.04.3. The commands I working with are; To create a snapshot; zfs…
AtomicPorkchop
  • 3,244
  • 14
  • 38
  • 58
14
votes
2 answers

Formula to calculate probability of unrecoverable read error during RAID rebuild

I want to compare the reliability of different RAID systems with either consumer (URE/bit = 1e-14) or enterprise (URE/bit = 1e-15) drives. The formula to have the probability of success of a rebuild (ignoring mechanical problems, that I will take…
FarO
  • 1,884
  • 3
  • 21
  • 37
14
votes
5 answers

Start a ZFS RAIDZ zpool with two discs then add a third?

Let's say I have two 2TB HDDs and I want to start my first ZFS zpool. Is it possible to create a RAIDZ with just those two discs, giving me 2TB of usable storage (if I understand it right) and then later add another 2TB HDD bringing the total to 4TB…
Doug S.
12
votes
1 answer

zpool: pool I/O is currently suspended

I'm using ZFS on OSX and I've zpool which is active and online: NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT WD_1TB 931G 280G 651G 30% 1.00x ONLINE - but I can't actually mount it. $ sudo zfs mount WD_1TB cannot open…
kenorb
  • 24,736
  • 27
  • 129
  • 199
12
votes
4 answers

How to make a redundant desktop system with daily snapshots? (Is btrfs ready for use?)

I want to configure a desktop system in which the home filesystem would be redundant (e.g. RAID-1), and would have weekly snapshots taken. I've already done this with ZFS, the snapshot system is wonderful, and with send/recv you can easily create…
TestUser16418
  • 920
  • 3
  • 7
  • 13
11
votes
5 answers

ZFS send/receive over ssh on linux without allowing root login

I wish to replicate the file system storage/photos from source to destination without enabling ssh login as root. I've tried a number of different combinations such as: sudo zfs send -R storage/photos@frequent_2015-02-12_18:15 | ssh example.com sudo…
Rovanion
  • 225
  • 1
  • 2
  • 10
1
2 3
26 27