Go to file
Stoiko Ivanov d0e8c24e02 fix #4440: cherry-pick patch for mountpoint=legacy on /
As reported having set 'mountpoint=legacy' on the root dataset (for a
default install this would be 'rpool/ROOT/pve-1') for mounting through
e.g. /etc/fstab breaks booting in initramfs

The cherry-picked patch is already applied to zfs-2.1.8-staging
upstream so will be included in the next zfs point release.

reproduced the issue on a VM with ZFS on root by:
* booting into a PVE 7.3 iso (to have zfs and an inactive
  rpool/ROOT/pve-1)
* `zpool import -ocachefile=none -N -f rpool
* `zfs set mountpoint=legacy rpool/ROOT/pve-1`
* `mount -t zfs rpool/ROOT/pve-1 /mnt
* `echo "rpool/ROOT/pve-1 / zfs defaults 0 0" >> /mnt/etc/fstab`
* `zpool export rpool`
* reboot - the boot breaks with zfs-initramfs 2.1.7-pve1 but works
  with this patch applied

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2023-01-02 17:03:49 +01:00
debian fix #4440: cherry-pick patch for mountpoint=legacy on / 2023-01-02 17:03:49 +01:00
upstream@21bd766133 update zfs submodule to 2.1.7 and refresh patches 2022-12-06 16:39:35 +01:00
.gitmodules Move zfs to top-level directory 2019-05-24 12:02:52 +02:00
Makefile buildsys: fix DEBS variable name 2021-09-28 06:58:46 +02:00
README update README 2019-02-27 13:46:27 +01:00

Proxmox VE packaging for ZFS on Linux

This is based on code from:

https://salsa.debian.org/zfsonlinux-team/zfs
https://salsa.debian.org/zfsonlinux-team/spl

We removed the dkms/modules related code, because we ship the
modules with the kernel.

For licensing questions, see:

http://open-zfs.org/wiki/Talk:FAQ