Stoiko Ivanov
0471bf2222
d/zfsutils-linux.install: add zfs_prepare_disk and manpage
...
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com >
(cherry picked from commit 3bda92bd20 )
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2024-03-29 15:22:26 +01:00
Thomas Lamprecht
592bf54c1d
update ZFS to 2.1.15
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2024-03-29 15:18:12 +01:00
Thomas Lamprecht
d5320c35ef
d/changelog: fixup release dist
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-12-01 14:37:07 +01:00
Thomas Lamprecht
daea70c06f
bump version to 2.1.14-pve1
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-12-01 13:47:21 +01:00
Thomas Lamprecht
d2d19b30ac
update ZFS to 2.1.14
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-12-01 13:46:48 +01:00
Thomas Lamprecht
453933b504
backport fix for AMX register breakage
...
vmexit's can cause the AMX registers to "misbehave" which can break
ZFS, even though ZFS doesn't use AMX at all.
This causes crashes and processes hanging forever in uninterruptible
sleep (the infamous D state) on Intel Xeon 4th gen HW, possible other
HW too, but we only got reports on Sapphire Rapids models.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
Tested-by: Aaron Lauterer <a.lauterer@proxmox.com >
(cherry picked from commit 9e8946d4b9 )
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-12-01 13:41:18 +01:00
Thomas Lamprecht
7c44e0fd4f
buildsys: improve clean target
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
(cherry picked from commit 8c6520d1fc )
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-12-01 13:41:18 +01:00
Thomas Lamprecht
846641b44e
bump version to 2.1.13-pve1
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
(cherry picked from commit aa26132525 )
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-12-01 13:41:18 +01:00
Thomas Lamprecht
7c3580f1e2
add basic gitignore
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
(cherry picked from commit 13c7e925aa )
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-12-01 13:41:18 +01:00
Thomas Lamprecht
406e3116ab
buildsys: improve DSC target
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
(cherry picked from commit a80c5e3597 )
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-12-01 13:41:18 +01:00
Thomas Lamprecht
4e4e9f07b7
buildsys: align variable names with our commonly used ones
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
(cherry picked from commit 149fd91bb2 )
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-12-01 13:41:18 +01:00
Stoiko Ivanov
c40521f90e
update zfs submodule to 2.1.13 and refresh patches
...
Sugested-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com >
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
(cherry picked from commit 362d3432be )
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-12-01 13:41:18 +01:00
Thomas Lamprecht
815c0cb231
bump version to 2.1.12-pve1
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
(cherry picked from commit f5ed5be89a )
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-12-01 13:41:18 +01:00
Stoiko Ivanov
c636d46615
/lib/zfs-linux/trim: don't exit 1 if last pool isn't nvme-only ( Closes : #1030316 )
...
(cherry picked from debian-upstream[0]
commit 8ed69adac193f6463832f6ae34b5ded88b8014d8)
[0] https://salsa.debian.org/zfsonlinux-team/zfs
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com >
(cherry picked from commit 5891aaec34 )
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-12-01 13:41:18 +01:00
Stoiko Ivanov
9d8f7eac7e
update zfs submodule to 2.1.12
...
patches still applied cleanly
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com >
(cherry picked from commit 63e591d8a9 )
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-12-01 13:41:18 +01:00
Thomas Lamprecht
3e7179aab5
bump version to 2.1.11-pve2
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
(cherry picked from commit d855afe7be )
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-12-01 13:41:18 +01:00
Thomas Lamprecht
cf62ae92d0
buildsys: add sbuild convenience target
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
(cherry picked from commit 34d701d1ac )
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-12-01 13:41:18 +01:00
Thomas Lamprecht
1bc51c3067
buildsys: derive upload dist and arch automatically
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
(cherry picked from commit 40fe66e33e )
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-12-01 13:41:18 +01:00
Thomas Lamprecht
ba79ebf386
d/copyright: update from debian upstream
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
(cherry picked from commit 1b7710c13c )
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-12-01 13:41:18 +01:00
Thomas Lamprecht
a7a04bbd41
d/control: do not depend on obsolete lsb-base
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
(cherry picked from commit 2f5fca8a1a )
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-12-01 13:41:18 +01:00
Thomas Lamprecht
dcf2989454
d/rules: drop --parallel flag, useless for dh-compat >= 10
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
(cherry picked from commit 8ba2c83746 )
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-12-01 13:41:18 +01:00
Thomas Lamprecht
88588cfead
buildsys: generate clean orig source tarball for DSC
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-05-20 20:37:16 +02:00
Thomas Lamprecht
1995e62236
makefile: convert to use simple parenthesis
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-05-20 20:27:07 +02:00
Thomas Lamprecht
ab835eff0f
buildsys: use actual DSC file as prerequisite
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-05-20 20:27:07 +02:00
Thomas Lamprecht
b0c4d8ac0b
bump version to 2.1.11-pve1
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-04-20 09:30:56 +02:00
Thomas Lamprecht
f4e2c4ae29
update ZFS submodule to 2.1.11 and refresh patches
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-04-20 09:30:22 +02:00
Thomas Lamprecht
4584ec1155
cherry-pick e063ff177 ("linux 6.3 compat: add another bdev_io_acct case")
...
As among possibly other things, it addresses a patch that got
backported to kernel 6.2.8 too.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-04-03 11:48:09 +02:00
Thomas Lamprecht
5ea8a38968
bump version to 2.1.9-pve1
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-01-28 15:03:25 +01:00
Stoiko Ivanov
7a95e010b1
update zfs submodule to 2.1.9 and refresh patches
...
mostly drop patches we already applied intermittently
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com >
2023-01-28 15:02:42 +01:00
Thomas Lamprecht
f799169849
buildsys: fix missing producing target for dbgsym packages
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-01-10 11:51:37 +01:00
Thomas Lamprecht
3efcc79c39
bump version to 2.1.7-pve3
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-01-07 13:22:02 +01:00
Thomas Lamprecht
85a3ff856d
adapt to 6.1 changes for open syscall with TMPFILE option
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-01-07 13:20:28 +01:00
Thomas Lamprecht
dca6abbf07
backport pipe-resize and xattr fix
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-01-07 13:19:51 +01:00
Thomas Lamprecht
5a2ad46755
bump version to 2.1.7-pve2
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2023-01-02 17:07:23 +01:00
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
Thomas Lamprecht
796e3f981f
bump version to 2.1.7-pve1
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2022-12-06 16:41:34 +01:00
Stoiko Ivanov
b7feed7429
d/control: add libudev-dev and libaio-dev to build-depends
...
noticed by lintian on my system (after a new install)
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com >
2022-12-06 16:39:35 +01:00
Stoiko Ivanov
dceb3ed09f
trim: clean up, fix
...
This does:
* fix get_transp() on non-bash
* re-indent of the code from #990745
* fix terminology: it's pool
* remove -e: I originally actually fixed -e,
but it turns out literally every bit that could fail
is already either || : or wasn't by accident (like in the #990745 code)
* simplify get_transp() and explain why we do it instead of matching nvme path
* use remove -L from the data we feed to lsblk, zpool w/o -L is measurably faster
* pipe the devices into while read to match rest of code
* use read -r in main loop
* match the userprop with case/esac instead of if tree
* shellcheck-clean the script
(cherry picked from debian-upstream[0]
commit 769a09407c6b65db981804a05a81ea63d004ebeb)
[0] https://salsa.debian.org/zfsonlinux-team/zfs
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com >
2022-12-06 16:39:35 +01:00
Stoiko Ivanov
8e0b77bbc4
update zfs submodule to 2.1.7 and refresh patches
...
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com >
2022-12-06 16:39:35 +01:00
Stoiko Ivanov
0b16d88d9c
install zfs-load-key.service
...
following upstream shipping it as a symlnk to /dev/null (to mask it)
follows commit b18419d7068b7ebcaa6dfbee85263177feffa711 from
debian-upstream:
https://salsa.debian.org/zfsonlinux-team/zfs/
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com >
2022-10-18 08:40:30 +02:00
Stoiko Ivanov
81fe4f0591
cherry-pick a few patches from zfs-2.1.7-staging
...
While checking the current state of 2.1.6 we noticed that there were
some changes in debian-upstream [0] resulting from a bug-report in
zfs-upstream [1].
Our packages should be unaffected (they do not ship the
init-scripts in the first place).
Since the issue was fixed by zfs-upstream already on the
zfs-2.1.7-staging branch we should include it as well as it might save
users, who somehow got debian-upstream's zfs-packages installed on PVE
some trouble.
The other 2 changes seem small and isolated enough so including them
as well.
[0] https://salsa.debian.org/zfsonlinux-team/zfs/-/commits/master
[1] https://github.com/openzfs/zfs/issues/14010
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com >
2022-10-18 08:40:30 +02:00
Thomas Lamprecht
b8330d8fb8
d/control: recommend bsd-mailx | mailutils for ZED
...
so that it actually can send out mail by default
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2022-10-17 13:44:58 +02:00
Thomas Lamprecht
186fde725e
bump version to 2.1.6-pve1
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2022-10-04 16:09:22 +02:00
Stoiko Ivanov
06c33ddc17
debian/zfs-initramfs.lintian-overrides add overrides file
...
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com >
2022-10-04 16:06:34 +02:00
Stoiko Ivanov
1eee727ce8
debian/lintian-overrides: future-proof
...
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com >
2022-10-04 16:06:34 +02:00
Stoiko Ivanov
1663c08ec4
Symlink zpool_influxdb to /bin. ( Closes : #1001446 )
...
(cherry picked from debian-upstream[0]
commit 4ce9e9b7a221ba1a84a921a34db582a2ef68b950)
[0] https://salsa.debian.org/zfsonlinux-team/zfs
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com >
2022-10-04 16:06:34 +02:00
Stoiko Ivanov
a7bd81d424
Symlink zfs, zpool to /bin/ for non-root usage. ( Closes : #979437 )
...
(cherry picked from debian-upstream[0]
commit 9fe812af0c9fb0382b05b300244f120179e201e7)
[0] https://salsa.debian.org/zfsonlinux-team/zfs
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com >
2022-10-04 16:06:34 +02:00
Stoiko Ivanov
68b54bb663
trim: determine if a device uses nvme transport with lsblk ( Closes : #990745 )
...
Thanks to Miao Wang for get_transp() function
(cherry picked from debian-upstream[0]
commit 1f5433b15e4f7c823983bb90390c4b023f3d1948)
[0] https://salsa.debian.org/zfsonlinux-team/zfs
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com >
2022-10-04 16:06:34 +02:00
Stoiko Ivanov
8f586181c6
update zfs submodule to 2.1.6 and refresh patches
...
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com >
2022-10-04 16:06:34 +02:00
Thomas Lamprecht
3f3541cad0
bump version to 2.1.5-pve1
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2022-06-28 16:13:51 +02:00