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.

268 questions
2
votes
1 answer

Mounting a ZFS backup in a different root directory

I did a backup of the entire zfs root (zroot) dataset from my laptop to my workstation. The backup dataset got all the mountpoints from the laptop. tank/backup 91.4G 8.50T 192K /tank/backup tank/backup/dell…
stfl
  • 123
  • 4
2
votes
1 answer

ZFS compression on sparce zvol - space difference

I'm compressing a dd img of a 3TB drive onto a zvol in ZFS for Linux. I enabled compression (lz4) and let it transfer. The pool just consists of one 3TB drive (for now). I am expecting to have 86Gigs more in zfs list than I appear to. Here are some…
jrcichra
  • 151
  • 1
  • 4
2
votes
1 answer

How does zfs raidz-2 recover from 3 drives down?

Im wondering what happened, how ZFS was able to recover completely, or if my data is still truly in tact. When i came in last-night i saw this to my dismay, then confusion. zpool status pool: san state: DEGRADED status: One or more devices has…
Brian Thomas
  • 398
  • 3
  • 15
1
vote
1 answer

zpool stuck in resilvering loop

I have the following zpool: NAME STATE READ WRITE CKSUM zfspool ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 wwn-0x5000cca266f3d8ee ONLINE …
John Moffitt
  • 182
  • 1
  • 2
  • 8
1
vote
1 answer

ZOL vs zfs-FUSE

I run a server using 5 drives in a raidz2 through zfs-fuse, but sometimes encounter an issue where the pool becomes unavailable. The issue seems to co-inside with high levels of activity on the pool, and I suspect that this is causing zfs-fuse to…
1
vote
2 answers

How to create a ZFS-On-Linux pool replication (main -> backup)

I am currently running two identical servers with same harddisks. Both have a zfs pool on sda and sdb (raidz) named /pool both run ubuntu linux server Both supposed to operate on vanilla toolset (no fancy 3rd party backup packages). I now struggle…
user6329530
  • 237
  • 2
  • 13
1
vote
1 answer

How do ZFS snapshots work and how would I implement a retention policy similar to OpenSolaris'?

I've been using ZFS for a while and have snapshots piling up. I believe I can start deleting the old snapshots, but want to be doubly sure. A ZFS snapshot would be essentially similar to a git tag where it is a read-only reference to a point in…
Walter
  • 243
  • 2
  • 6
1
vote
1 answer

Can FreeNAS zfs send to a Linux machine?

I have a FreeNAS 11.2 box. I'd like to use zfs send to send snapshots to another box. Can that receiving box be a Linux machine or does it need to be FreeBSD? What if the FS is encrypted using FreeNAS's GELI scheme?
Adam
  • 605
  • 1
  • 7
  • 15
1
vote
1 answer

How to monitor data transfer speed and volume between two computers on same network

My application on Win2012 Server stores its cache on a ZFS appliance in the local network, during peak load we are seeing some performance degradation, this only happens in the production environment where we don't have debugging access. All…
1
vote
1 answer

How to remove faulted disk from ZFS pool once spare replacement done

I have a ZFS pool in the current state: [root@zfs01 ~]# zpool status pool: zdata state: DEGRADED status: One or more devices could not be used because the label is missing or invalid. Sufficient replicas exist for the pool to continue …
Will Dennis
  • 304
  • 4
  • 16
1
vote
2 answers

Lack of TRIM support -- will benchmarks get progressively slower on ZFS + SSD?

Context: I'm on a Toshiba 512 GB NVMe (Model: KXG50ZNV512G) I'm seeing this weird behaviour while benchmarking Postgres on ZFS-on-Linux (via pgbench), where the second and third runs of a benchmark are progressively slower than the first run. Here…
Saurabh Nanda
  • 489
  • 1
  • 8
  • 20
1
vote
1 answer

Formatting/creating file system on multipath volume for ZFS on Linux?

I inherited a ZFS on Linux (CentOS) storage pool and I have a faulty multipath device (mpathah) in my pool: raidz3-6 DEGRADED 0 0 0 ... ... mpathba ONLINE 0 0 0 mpathbb ONLINE …
elleciel
  • 389
  • 4
  • 11
1
vote
1 answer

Import failing with ZFS pool that has both disks and files

I recently ran out of space on my ZFS pool, and since I needed a quick solution for more space and didn't plan to use the pool for much longer, I just added a file as a new device (vdev?) to my pool of three disks to add some more…
Kevin Wood
  • 393
  • 2
  • 4
  • 8
1
vote
1 answer

Why does /dev/disk/by-id directory have cdrom device only and which one of /dev/disk/by-X is recommended for creating zfs pools?

Im running a ubuntu 16.04 machine in esxi enviroment, i am going through zfs on linux faq and it recommends to use /dev/disk/by-id for home servers due to inconsistent nature of /dev/sdX names but when i list files on /dev/disk the by-id only have…
sherpaurgen
  • 616
  • 6
  • 10
  • 26
1
vote
1 answer

Can I remove a disk from a zpool raidz2?

Unfortunately I do not really understand zfs. I have a Proxmox 5 node with 5 300GB disk in raidz2. History: zpool create -f -o cachefile=none -o ashift=12 rpool raidz2 /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2 /dev/sde2 I would like to remove a disk…
Laszlo Malina
  • 168
  • 2
  • 10