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
1 answer

ZFS datasets wont mount after upgrade to ubuntu 21.10

So i recently upgraded from Ubuntu 21.04 to 21.10 and now my ZFS datasets wont mount, even manually using the forced option. I have tried exporting the pool and re-importing the pool, but even trying it with the Forced options continue to…
1
vote
3 answers

Erratic (terrible) Disk Performance I/O (Debian/Proxmox)

Summary I'm seeing dramatically fluctuating I/O performance on a ZFS SSD mirror in Proxmox VE 7 (Bullseye). I'm simply too much of a novice to be able to track it down on my own. Details This is VERY noticeably poor performance in real-world tasks,…
paul
  • 11
  • 1
  • 2
1
vote
1 answer

Linux mountpoint can not be unmounted no matter what?

I have a mount point in Linux that does not show any open files in lsof or fuser. The mount point was exported in NFS, but is no longer exported, and there are no more files or directories in the mount point. We have checked to make sure no one is…
user1955162
  • 296
  • 3
  • 16
1
vote
0 answers

How to boot ZFS root filesystem after setting dnodesize = auto (making grub unable to read the disks)

I have a proxmox (v5.4 I think) installation on top of ZFS in a server with 6 disks. There are 2 pools: rpool in a mirror of two SSDs that has the proxmox root filesystem and some containers and zvols. And the other 4 disks are in another pool (HDD)…
Héctor
  • 141
  • 1
  • 6
1
vote
1 answer

zfs cannot create snapshot, out of space

I have a disk with these layers: sata disk, luks, zpool, ext4 The ext4 fs was created with these commands: cryptsetup -v luksFormat /dev/sdb cryptsetup luksOpen /dev/sda store02 zpool create zstore02 /dev/mapper/store02 zfs create -V 1600G…
nagylzs
  • 759
  • 3
  • 12
  • 23
1
vote
1 answer

HDD bad sector marking through LUKS2 layer (dm-crypt) + ZFS

If having 2x LUKS-encrypted HDDs with a ZFS mirror pool on top of the dm-crypt mapper devices: what happens if one of my HDDs encounters an error and the OS recognizes a sector as bad ? Will this bad sector information be passed to the…
Vortex
  • 13
  • 3
1
vote
1 answer

Proxmox - Can't mount encrypted ZFS dataset - zfs mount fails sillently without an error

I have problems with mounting encrypted zfs dataset after boot. Pool is properly imported and visible in zpool status output. Then I manually load keys with: zfs load-key -a - still no issues. And here comes the mounting part. Dataset has…
tlaguz
  • 11
  • 2
1
vote
0 answers

Should I partition or format a disk before replacing a FAULTED disk in a ZFS pool?

I recently had a FAULTED disk in a ZFS pool and wanted to replace it. I simply put the disk in and let it resilver. Afterwards, I noticed the disk was partitioned differently than the other disks and I could not boot anymore. This turned out to be a…
Wouter
  • 121
  • 1
  • 4
1
vote
1 answer

ZFS configuration for Ubuntu 20.04

TL;DR I have three 2 TB drives and one 500 GB drive in a machine running Ubuntu 20.04 with a default ZFS install on the small drive. My plan is to partition the larger drives into two partitions each, of 2 GB (the size of the default bpool…
1
vote
1 answer

cheap, commodity hardware based, highly available distributed filesystem

I have two PCs running linux, a 2 TB disk each and one small gigabit switch. To build a highly available system on the cheap, I resorted to this stack: custom 5.6 kernel with ZFS and DRBD9 on both PCs. one zvol in a partition of each local disk of…
Qippur
  • 135
  • 1
  • 10
1
vote
2 answers

Why ZFS snapshot reports zero size?

I have a Centos7 system with zfs pool that I took a snapshot with sudo zfs snapshot -r data-pool/Samba@backup_r. After taking the snapshot I copied few gigabytes of files from my Windows pc to that pool (it is mapped as samba share). After copying I…
1
vote
1 answer

Pool gone with upgrade to Ubuntu 20.04

I upgraded my server (SuperMicro X11-SSM-F, LSI SAS 9211-8i) from Ubuntu 18.04 to 20.04. The server had 2 zpools, one composed of a single WD Red 10 TB (downloadpool), and the other composed of 8 WD Red 10TB and 2 Seagate IronWolf 8TB arranged in 5x…
FlorentR
  • 71
  • 4
0
votes
0 answers

Recover/move ZFS pool to a new server

I have a Ubuntu server set up with a 14-disk ZFS raidz2 pool. My boot device has become corrupted and I'm not able to mount its file system from a recovery live CD, so I will need to reinstall Ubuntu on a new boot drive and bring back my ZFS…
0
votes
1 answer

ZFS 3-drive setup on Debian

I have a machine with 3 2TB SSD drives, I want to configure openzfs at least on two of them. The root partition has ext4 and if possible I would like to avoid reinstalling everything, so I am wondering if it makes sense to create a large file in…
lurscher
  • 172
  • 1
  • 3
  • 17
0
votes
2 answers

Cannot re-add cache device to zpool

I have a cache device that fell out of the zfs array because of errors. Im pretty sure it was something i did - messing with cabling or something. It checks out fine, plus its just a cache device. When i try to readd it, it fails with the…
Devnull
  • 951
  • 1
  • 7
  • 23