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
1
vote
0 answers

Formatting a FreeNAS ZFS volume as ext4 for Linux use?

I've setup a FreeNAS server with 6x 3TB drives for use as a backup NAS via iSCSI for a Linux server (Ubuntu 12.04). The FreeNAS setup was pretty straightforward and the logical step seemed to be to create a ZFS volume from the 3TB drives so I went…
timbo
  • 229
  • 2
  • 4
  • 12
1
vote
2 answers

Is a degraded RAIDZ2 the same as a RAIDZ?

Background on this question: I have a litte server with five HDDs pooled together in a RAIDZ. Last week one of my HDDs died. So I bought a new HDD and replaced the dead HDD. During the resilvering the inevitable happend - another HDD died but thanks…
m4rcs
  • 49
  • 3
1
vote
2 answers

Multiple 2 TB LUNs -- ZFS or ext4-over-LVM

I am going to deploy an Ubuntu 12.04-based archiving system. Due to limitations of the SAN Storage, it can only present me with 2TB LUNs. So, I have to merge multiple 2TB LUNs to achieve the desired space (4.5TB with expected growth of up to 1TB per…
pepoluan
  • 5,038
  • 4
  • 47
  • 72
1
vote
1 answer

Installing RHEL on a single disk with ZFS

I know ZFS is usually used for numerous reasons including it's amazing mirroring features. However in this instance the machine I've been tasked with setting up has a RAID-1 setup so I only have one logical disk. My reason for wanting ZFS is…
WinkyWolly
  • 598
  • 6
  • 19
1
vote
1 answer

ZFS on Hetzner Rescue fails with `checking whether inode_owner_or_capable() takes user_ns... configure: error:`

Normally, when booting into the Hetzner rescue system, using the 'zfs' command will automatically install zfs tooling inside the rescue system. This is currently not working; checking whether inode_owner_or_capable() takes user_ns... configure:…
TinkerTank
  • 289
  • 2
  • 7
1
vote
1 answer

How to explain that ZFS' snapshot reports 'WRITTEN' as 4.26GB, but the transfer size is actually 31.4GB?

When I run this query on a dataset zfs list -d 1 -t all -o name,used,refer,written,compressratio sfg-backup/mx I see the following stats: zfs list -d 1 -t all -o name,used,refer,written,compressratio sfg-backup/mx NAME …
dimus
  • 317
  • 1
  • 3
  • 10
1
vote
1 answer

Forcefully forget / unmount ZFS pool after drives disconnected

First off, I made a mistake & I acknowledge that, but now I'm stuck with a "broken" ZFS driver and want to restore it without rebooting my machine. How I can say ZFS on Linux to just forget the existence of a pool (forcefully unmount & "export" it)…
Felix Stupp
  • 93
  • 1
  • 2
  • 6
1
vote
1 answer

ZFS size discrepency between 2 very similar configurations

I have 20X sata 12TB disks in a file server with a Broadcom/LSI MegaRAID SAS39xx raid controller. It’s running ubuntu. For an performance experiment, I created two storage pools: -A single hardware RAID6 array of 10 disks = 8 data disks+ 2 parity…
Thingomy
  • 33
  • 7
1
vote
0 answers

On Linux ZFS Server - What is eating my memory?

Our monitoring tool regularly reports low memory for one of our servers running ZFS. # free -g total used free shared buff/cache available Mem: 125 84 39 0 2 …
1
vote
0 answers

ZFS/ZoL: Consequences of increasing zfs_vdev_async_read_min_active (and max)?

Vdev async read queues have min=1 and max=3 by default. All sync read/write queues are defaulted to min=max=10, while async writes get min=2 and max=10. Async reads are described as "prefetch reads" in the docs. So I take it that by design, when i/o…
Tavin
  • 111
  • 2
1
vote
0 answers

ZFS send/recv full snapshot

I have been backing up my ZFS pool in Server A to Server B (backup server) via zfs send/recv, and using daily incremental snapshots. Due to hardware issues, the ZFS pool in Server A is now gone - and I want to restore/recover it asap. Currently the…
1
vote
2 answers

How can one recover/write a label (clone existing one)?

ZFS stores 4 labels, 2 at the beginning of a device, 2 at the end. When they are corrupted a pool cannot be mounted. I had a case of 3 broken labels (failed to unpack), but 1 was still intact. I could list it with zdb -lu just fine. zpool import -d…
cfi
  • 258
  • 5
  • 15
1
vote
2 answers

Limiting ARC Size for the proposed system

I have a pool of 5 x enterprise 12Gps SSD that I use for internal storage for a proxmox server. This pool is used to stand up VMs and containers. The problem is that it is eating up a lot of my available RAM which is 192G! Here is the summary: As…
Shery
  • 121
  • 1
  • 6
1
vote
0 answers

ZFS disk error on write

our ZFS backup pool is producing strange disk errors when writing data. This pool is replicated via DRBD on a second server with identical hardware which is also experiencing the same errors. This is why I don't think it's a hardware problem. The…
Edgxxar
  • 11
  • 1
1
vote
1 answer

Recovering data from a zpool with a missing device

I have a zpool consisting of two mirrored drives, storing all my personal data. I wanted to add another mirror drive, since the other drives have been in use for several years now. Instead, I managed to cripple the pool and cannot import it any…
soulmerge
  • 131
  • 7