Questions tagged [zfs]

ZFS is an integrated filesystem and volume manager, originally designed by Sun. Use this tag for all questions related to ZFS commands and features, including Zpool creation, import and export, ZFS volume and filesystem management, and Ubuntu "Root on ZFS" (using ZFS as the root filesystem).

ZFS (originally dubbed the Zettabyte File System) is an integrated filesystem and volume manager designed by Sun Microsystems. Since 2013, the open source versions of ZFS for FreeBSD and Linux has been coordinated by OpenZFS under the CDDL license.

ZFS is an advanced filesystem and volume manager, with a number of advanced features, such as:

  • Pooled storage with hot-spares, cache disks etc.
  • Copy-on-write operation
  • Data integrity verification and automatic repair
  • Native handling of standard RAID levels, in addition to RAID-Z, RAID-Z2 and RAID-Z3
  • Native handling of snapshots and backup/replication
  • Native data compression, encryption and deduplication
  • Maximum 16 Exabyte file size
  • Maximum 256 Quadrillion Zettabytes Zpool size
530 questions
14
votes
2 answers

Activate ZFS Snapshots

I accidentally delete some files from my zfs pool and tried to mount the latest snapshots but i just figured out that i have no snapshots. How to activate the snapshots, how to configure it? I am using Ubuntu 12.04.1 server and zfs 0.6.1, pool…
Misu Egri
  • 167
  • 1
  • 1
  • 7
11
votes
2 answers

How do I remove a pool from ZFS?

My Ubuntu 12.04 system has two zpools: rpool (containing the root filesystem) and rdata (containing all other data). rdata was originally 2 x 1TB disks mirrored. Because I couldn't upgrade rdata to 3TB disks (wrong ashift) I had to create a new…
Gareth
  • 163
  • 1
  • 2
  • 6
7
votes
2 answers

When will zfs 0.7 be available

ZOL 0.7 has been released a while ago now, and I'm wondering when this will be included in Ubuntu. I have not found a PPA for 0.7 and it does not appear to be in Artful, so I assume it's not coming in 17.10, but is it going to be in 18.04? There…
alex
  • 73
6
votes
1 answer

Zpool degrades when plugging in a drive

In an effort to test what impact adding a ZFS log device would have to a ZFS array, I decided to create a zpool and perform some benchmarks before then plugging in an SSD to act as the ZIL. Unfortunately, whenever I plug in the SSD after having…
Programster
  • 5,871
5
votes
1 answer

Error email from ZFS: "ZFS has detected an io error"

I receive error emails from ZFS telling me that ZFS has detected an io error, but, the details listed do not show any checksum, read or write errors. A zpool status does not show any errors and a scrub does not report any errors. Email content: ZFS…
5
votes
1 answer

How to mount a ZFS formatted drive?

I have a FreeBSD drive that I want to retrieve a file from with Ubuntu 14.04 desktop. I installed ubuntu-zfs from this PPA and have been through several tutorials, all of which have covered installing Ubuntu to ZFS or establishing a ZFS RAID, but…
Paul
  • 4,511
4
votes
1 answer

What are the zpool create -O file-system-property arguments used for?

The man zpool create page states -O file-system-property = value Sets the given file system properties in the root file system of the pool. See the Sx Properties section of zfs(8) for a list of valid properties that can be set. Searching the man…
lucidbrot
  • 1,311
  • 3
  • 18
  • 39
3
votes
1 answer

zfs ubuntu root,how to boot?

I try to migrate my ext4 root to zfs root. The system is VirtualBox VM three hd,1st hd contain ubuntu TLS 16.04 with 3 partitions (boot,swap,root) second and third hd's are for zfs. So sda1 boot sda2 ext4 / sda3 swap sdb1 zfs sdc1 zfs I make those…
elbarna
  • 224
  • 5
  • 13
3
votes
3 answers

Error when installing ubuntu-zfs

I'm switching from FreeNAS to Ubuntu 12.04 LTS. After a vanilla install of Ubuntu has been completed I run the following commands in the order shown to install ZFS: apt-get install python-software-properties add-apt-repository…
3
votes
1 answer

zfs "Permanent errors" in "rpool/USERDATA"

zpool statuts -v gives me Permanent errors, and I was wondering how to fix them: ❯ sudo zpool status -v Insert authentication card for user `franck' [sudo] Mot de passe de franck : pool: bpool state: ONLINE config: NAME …
alci
  • 5,839
3
votes
2 answers

zfs legacy mounts on Ubuntu 18.04

I'm using zfs on a generic Ubuntu 18.04 system. Everything works fine when creating and mounting file systems using normal mountpoints. However, I have a use case that would be helped if I could use legacy mounts that auto mount at boot time. If I…
Mark
  • 31
3
votes
1 answer

Migrating /home to ZFS

I created a zpool, called zstorage, on two mirrored drives, on Ubuntu 18.04. The OS is installed on an SSD, with the /home directory on its own partition on that same SSD. I want to migrate /home to the ZFS pool. As you can see, the pool has been…
Kelley
  • 33,062
2
votes
0 answers

Running ZFS commands as a non-root user

I just set up a zfs pool on my ubuntu 16.04 system. I created some datasets in the pool and used 'zfs allow' to delegate permission to snapshot, rollback, etc to a non-root user. Then I tried to use those datasets as that user. It fails with the…
2
votes
0 answers

Extend ZFS pool to use free space

Originally a zpool was created to use an entire 60GB disk. This disk has been expanded to 100GB and the GPT fixed up with parted. Is it possible to extend the ZFS partition to use the remaining 40GB?
2
votes
0 answers

Importing a Freebsd ZFS pool into Ubuntu 16.04 (shows up as a binary file)

I’ve been running FreeBSD 9.1 now for a while but for different reasons I would like to migrate to Ubuntu. However, I have a few ZFS pools that I would like to bring with me… I exported one of them (just to try) from FreeBSD (zpool export backup)…
1
2 3 4