ZFS is a combined file system and logical volume manager designed by Sun Microsystems. The features of ZFS include protection against data corruption, support for high storage capacities, efficient data compression, integration of the concepts of filesystem and volume management, snapshots and copy-on-write clones, continuous integrity checking and automatic repair, RAID-Z and native NFSv4 ACLs. -Wikipedia
Questions tagged [zfs]
254 questions
14
votes
1 answer
ZFS filesystem vs ZFS pool
ZFS pool may consist of datasets(file system, snapshot, etc..) or volumes. ZFS volume is like block device, but I am do not understand difference between pool and filesystem. When I created pool1 via zpool create pool1 sda sdb sdc and than zpool…

dorinand
- 1,397
- 1
- 24
- 49
13
votes
1 answer
Lost memory on Linux - not cached, not buffers
My Ubuntu 12 server is mysteriously losing/wasting memory. It has 64GB of ram. About 46GB are shown as used even when I shutdown all my applications. This memory is not reported as used for buffers or caching.
The result of top (while my apps are…

David Bourget
- 131
- 1
- 4
12
votes
3 answers
zpool replace erroring with does not contain an EFI label but it may contain partition
I had a drive fail in one of my vdevs setting the state of the zpool to degraded:
root@mediaserver:~# zpool status
pool: zfsraid
state: DEGRADED
So I started taking steps to replace the drive.
This is the id of the old disk:…

user2212932
- 133
- 1
- 2
- 6
11
votes
3 answers
How to clean up Docker ZFS legacy shares
Summary
Given that:
The storage driver docker users is ZFS;
Only docker creates legacy datasets;
Bash:
$ docker ps -a | wc -l
16
$ docker volume ls | wc -l
12
$ zfs list | grep legacy | wc -l
157
16 containers (both running and stopped). 12…

Redsandro
- 11,060
- 13
- 76
- 106
11
votes
2 answers
Removing disk from zfs pool permanently
I tried to add a SSD to zpool by ZIL but I did a mistake.
I expected.. zpool add zones log c0t1d0
But I did... zpool add zones c0t1d0
I tried to execute zone remove, detach, offline commands, but it failed.
How can I remove a SSD without data loss…

iskim
- 113
- 1
- 1
- 5
11
votes
1 answer
How do ZFS snapshots use space in practice?
Created a snapshot
Deleted a huge file
Delta is still 0 (snapshot not using anymore space) in zfs list for past three snapshots
Should the delta or used space not be the size of the deleted file. I know ZFS is COW but I'm confused as to why I…

sjt003
- 2,407
- 5
- 24
- 39
9
votes
1 answer
proxmox lxc container failed to start
When I try to run my lxc container, I get:
lxc-start: 100: lxccontainer.c: wait_on_daemonized_start: 751 No such file or directory - Failed to receive the container state
lxc-start: 100: tools/lxc_start.c: main: 371 The container failed to…

0xdeface
- 259
- 2
- 11
9
votes
1 answer
ZFS: Rollback snapshot but keep newer snapshots
I have following ZFS Snapshots:
data/server/dev1@snap1
data/server/dev1@snap2
data/server/dev1@snap3
If i want to rollback to snap1, i would do the following:
zfs rollback data/server/dev1@snap1
but ZFS returns:
more recent snapshots or bookmarks…

Vince
- 1,133
- 3
- 17
- 34
9
votes
1 answer
How can I set file creation times in ZFS?
I've just got a NAS running ZFS and I'd like to preserve creation times when transferring files into it. Both linux/ext4 (where the data is now) and zfs store creation time or birth time. In the case of zfs it's even reported by the stat command. …

Silvio Levy
- 167
- 1
- 8
8
votes
3 answers
Is there an API to access the ZFS filesystem
I would like to know if there is a way to access the ZFS api (preferably from python but C is fine too). My goal is to write some tools that will monitor my pools but would definitely like to not to have to parse output of zpool command.

Dave
- 1,835
- 4
- 26
- 44
8
votes
1 answer
Storing locally encrypted incremental ZFS snapshots in Amazon Glacier
To have truly off-site and durable backups of my ZFS pool, I would like to store zfs snapshots in Amazon Glacier. The data would need to be encrypted locally, independently from Amazon, to ensure privacy. How could I accomplish this?

TinkerTank
- 5,685
- 2
- 32
- 41
8
votes
5 answers
Does anyone have experience with ZFS?
I am considering to adopt ZFS and I would be happy to know your experience in both production and testing environment.

lbz
- 9,560
- 2
- 30
- 35
7
votes
0 answers
ARC metadata is evicting too early on Solaris ZFS
I have a Solaris 11.2 server running ZFS with the following configuration;
6x 4TB HDDs in raidz2 (approx 14TB usable)
16GB RAM (ECC)
E5-2670 (16 cores)
No ARC or L2ARC
No zfs settings tweaks
Both read and write performance are blazing fast…

SleepyCal
- 5,739
- 5
- 33
- 47
7
votes
1 answer
ZFS storage on Docker
I would like to try out ZFS on Ubuntu(16.04) docker container. Followed the following https://docs.docker.com/engine/userguide/storagedriver/zfs-driver/
> lsmod | grep zfs
zfs 2813952 5
zunicode 331776 1 zfs
zcommon …

Vic
- 1,985
- 1
- 19
- 30
6
votes
1 answer
Receive incremental ZFS stream of clone and overwrite origin
tldr; I'm trying to receive a ZFS stream, that has been created as replicate (-R) from a cloned filesystem. Using zfs recv -o origin=[clone-origin] just gives cannot receive: local origin for clone [...] does not exist.
Precondition
I have a SmartOS…

Jonas
- 61
- 4