惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

G
Google Developers Blog
云风的 BLOG
云风的 BLOG
Google DeepMind News
Google DeepMind News
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 三生石上(FineUI控件)
V
Visual Studio Blog
爱范儿
爱范儿
宝玉的分享
宝玉的分享
人人都是产品经理
人人都是产品经理
大猫的无限游戏
大猫的无限游戏
博客园 - 聂微东
月光博客
月光博客
雷峰网
雷峰网
L
LangChain Blog
Stack Overflow Blog
Stack Overflow Blog
B
Blog RSS Feed
有赞技术团队
有赞技术团队
T
Tailwind CSS Blog
阮一峰的网络日志
阮一峰的网络日志
V
V2EX
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
C
Check Point Blog
N
Netflix TechBlog - Medium
罗磊的独立博客
博客园 - 司徒正美
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
F
Full Disclosure
Security Archives - TechRepublic
Security Archives - TechRepublic
V
Vulnerabilities – Threatpost
H
Help Net Security
博客园 - 【当耐特】
博客园_首页
Microsoft Security Blog
Microsoft Security Blog
小众软件
小众软件
Hugging Face - Blog
Hugging Face - Blog
L
Lohrmann on Cybersecurity
C
Cybersecurity and Infrastructure Security Agency CISA
P
Privacy International News Feed
Blog — PlanetScale
Blog — PlanetScale
C
CERT Recently Published Vulnerability Notes
P
Privacy & Cybersecurity Law Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Cisco Talos Blog
Cisco Talos Blog
K
Kaspersky official blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Cyberwarzone
Cyberwarzone
S
Schneier on Security
S
SegmentFault 最新的问题
C
Cyber Attacks, Cyber Crime and Cyber Security
S
Securelist

Proxmox Support Forum

[SOLVED] - Github Auth for Mirrors-Kernel Repo? [Automation] Mass migration tool for MS Win11/Server Proxmox GUI hang - not response is it possible to reject or quarantine spam based on conditions I set ? The PVENode task list in PVE9 is partially obscured due to the terminal font being too large. About 100% error reporting due to pveproxy.service hooks Kubernetes overlay networking breaks when upgrading from PVE 9.1 to PVE 9.2.3 Zentraler Speicher No space left on device Combine datastore and direct file archival to tape Kernel panic VFS: Unable to mount root fs on unknown-block (0,0) sobald ein 7.x Kernel verwendet wird. How to migrate disk of a VM from one ZFS to another Windows Server 2025 fails to boot after PVE 9.2 / Linux 7.0 Kernel upgrade Cannot Install Proxmox on T610 Poweredge with H700 PERC card sdn Config. gateway not reachable How to safely change domain/FQDN? Welche Filterquote erreicht ihr? NFS Share status unknown on 2 of 5 nodes Can't connect to PVE9 consoles [solved] Can't connect to PVE9 consoles [solved] [SOLVED] - Use secondary network for PVE commands Created cluster, one node storage gone BUG: proxmox mail gateway FROM = null bypass spam filtering Moving existing PBS from VMWare workstation to PVE cluster Does eBGP SDN fabric support external peering? Bug: PDM 1.1 not recognizing valid license status Proxmox GUI hang - not response PVE crashes unexpectedly Proxmox Backup Server 4.2 released! Advice ceph-osd crashes with kernel 6.17.2-1-pve on Dell system [META] Links on Proxmox Forum Website Hardwarer oder Software RAID Joining a cluster with already created guests VM PDM missing backup jobs from PVE / Log retention Remove VM.Monitor from all users/roles, PVE 9.2 Proxmox Freezing (new instalation) 9.2.2 - Intel 12700T No Web gui and random connection reset by peer [SOLVED] - i40e module for X710 Intel NIC Dutch Proxmox Day 2026 How pools use the space Corosync initiiert Reboot trotz Verfügbarkeit der Systeme Opt-in Linux 7.0 Kernel for Proxmox VE 9 available After PVE 8to9 upgrade, unable to check guest fs freeze status Problem with MegaRAID SAS3508 controller proxmox-kernel-7.0.2-6-pve failing network service Auto sync guest time after rollback of VM snapshot with RAM/state Broadcom BCM57504 (100G) bnxt_en TX timeout and NIC reset on Proxmox 8.1.5 — while BCM57414 (25G) works fine on same host QEMU 11.0 available on pve-test and pve-no-subscription as of now 350 MPM Solventless Lamination Machine for High-Speed Flexible Packaging Making sense of NVMe zfs and SMART errors [SOLVED] - PVE loses network connection after kernel upgrade to proxmox-kernel-7.0.0-3-pve [SOLVED] - Remove or reset cluster configuration. Proxmox 8.4.1 Fresh Install BCM57416 10G Ethernet Adapter Not Recognized PDM 1.1.1 unable to add AD realm with anonymous search [TUTORIAL] - Developer Workstation (Proxmox-VE 9) with cinnamon (LMDE7) SDN zone shows "pending" on peer nodes after node reboot (9.2.x) Cluster not quorate - extending auth key lifetime! Proxmox not rebooting properly (SOLVED) Proxmox 9 Stuck on loading initial ramdisk With new HA-Disarm Feature is there a Documentation for NUT Setup on Clusters? Proxmox 8.3 Installation Issue on ProLiant DL380 Gen9 Cluster networking setup LXC System images unavailable [SOLVED] - Fix: NVIDIA Drivers Failing after upgrade to Proxmox 9.2.2 (Kernel 7.0.2-6-pve) / NovaCore Conflict Install NUT directly on Proxmox VE and control guests from here driver usb for windows 7 System startup error and no network: Failed to start ifupdown2-pre.service - Helper to synchronize boot up for ifupdown. PBS backup space grow up constantly Proxmox Datacenter Manager 1.1 released! IPv4 not available in newly created VM Recommended Setup for Offsite Proxmox Backups? Hetzner Storage Box & Remote PBS Challenges duplicate, please delete this passthrought an USB device "by ID" to CT PDM Installer Freezes at 66% Tried PDM for the first time (version 1.1) - had issues PDM 1.1 automated install Suche Server-Provider für Proxmox connecting sdn to edge firewall SDN, IPAM & DHCP Migrating from read-only file system Ubuntu 26.04 installation fails for unknown reason Status Unbekannt nach Cluster Join Installing Proxmox Backup Server on Mac Mini (Late 2012) kernel 7.0 performance issue with zfs pools PVE becomes unreachable via ethernet but OS is running [SOLVED] - New 9.2 install - can't find 7.0.2-6-pve , not all the time [SOLVED] - Backup and dedupe a VM with LUKS Gibt es mit PVE 2.x ggf. Änderungen bei der RAM-Nutzung, bzw. deren Anzeige bei VMs? I need help for setting up backup solution Way more NAGware, very little functionality, bugs galore Root squashing virtiofsd with --uid-map Intel ixgbe Driver Update Fail Passkey Login (not 2FA) Roblox VM detection - can be overcome? [TUTORIAL] - ZFS-Autosnaptshot inkl. Rollback und Daten direkt recovern (Windows/Linux) How to stop PVE Kernel upgrade [SOLVED] - very long waiting to log in to lxc debian 11 ssh [TUTORIAL] - Configuring Fusion-Io (SanDisk) ioDrive, ioDrive2, ioScale and ioScale2 cards with Proxmox Increase maximum USB devices in vm.conf
Using ZFS Snapshots on rpool/ROOT/pve-1?
invalid@exam · 2026-06-28 · via Proxmox Support Forum

Hey all,

Personally I always like to take precautions whenever I upgrade something to make sure that package updates don't break anything for me.

I've been wondering, on a ZFS based install, is snapshotting rpool/ROOT/pve-1 a good way of accomplishing this?

In theory, I could run the snapshot, do the "apt-get dist-upgrade" and if something goes wrong, just restore the snapshot.

There are potential problems here though, as I see them:

1.) When I do this, I am performing a snapshot on a running system, which probably isn't the best choice. During restore, I'd be restoring a booted state, and then have to reboot the system, which might cause some sort of problems as the running upgraded system tries to shut down and write to the disk as part of it's shutdown process.

2.) Are the aspects of apt updates that are made to areas that are not in rpool/ROOT/pve-1?

I'd appreciate any thoughts on this.

Hi,

The snapshot should be not the problem.
ZFS itself is consistent and to flush the cache you can use sync before.

If you must rollback in case of an error, this can only done by Grub.

2. No

Hi there,

I am like mattlach and I try, like him, to use snapshots in order to get a previous version when I upgrade the systems, also I would like so much to be able to make cross backups between my pve hosts in case of a complete server crash...
I'm trying to obtain this result, and it works !! No problem to make snapshots or even to transfer them across machines, maybe I will even script that later or try to find one that already exists and suit my needs since they are already a lot of snapshots management scripts...
I am surprised there is no more people interested by this kind of setup...

Code:

zfs snap rpool/ROOT/pve-1@snap1
zfs snap rpool/ROOT/pve-1@snap2
zfs snap rpool/ROOT/pve-1@snap3
zfs snap rpool/ROOT/pve-1@snap4

from host 1 :
zfs send rpool/ROOT/pve-1@snap1 | ssh host2 zfs receive rpool/backups/cluster/rootfs-host1
and then,
zfs send rpool/ROOT/pve-1@snap1 | ssh host2 zfs receive rpool/backups/cluster/rootfs-host1
and so on... or even,
zfs send -R rpool/ROOT/pve-1@snap4 | ssh host2 zfs receive -F rpool/backups/cluster/rootfs-host1

from host 2 :
zfs send rpool/ROOT/pve-1@snap1 | ssh host3 zfs receive rpool/backups/cluster/rootfs-host2
and then,
zfs send rpool/ROOT/pve-1@snap1 | ssh host3 zfs receive rpool/backups/cluster/rootfs-host2
and so on... or even,
zfs send -R rpool/ROOT/pve-1@snap4 | ssh host3 zfs receive -F rpool/backups/cluster/rootfs-host2

from host 3 :
zfs send rpool/ROOT/pve-1@snap1 | ssh host1 zfs receive rpool/backups/cluster/rootfs-host3
and then,
zfs send rpool/ROOT/pve-1@snap1 | ssh host1 zfs receive rpool/backups/cluster/rootfs-host3
and so on... or even,
zfs send -R rpool/ROOT/pve-1@snap4 | ssh host1 zfs receive -F rpool/backups/cluster/rootfs-host3

But, (of course, there is a but..) I am trying since days... without any luck :( when I try to rollback or when I simulate the crash of one server and I transfer back a snapshot or fs, I'am completely unable to use it.

I think I'm close but if someone could help me to fill the gap between where I am in the process and the success, I would be extremely grateful.

Also, I saw you mentioning about grub, could you please explain how to achieve this goal ? I'm sorry if it's obvious, I thought it might be but in fact it seem to be tricky for me ! I searched hours and days on google, mailing lists, forum and didn't found any good tutorial or procedure that provide an easy way to achieve this...

Recently, you added a super wonderful great option to manage VM zfs replication across the hosts but in a disaster recovery situation, it would be so great to have an option to also backup (and restore of course !) the pve hosts themselves too...

Please help, thank you very much

Hi,

I just wanted to add that I successfully tested rollback !!
You just have to take snapshot before any important admin task :

Code:

zfs snap rpool/ROOT/pve-1@installOK
zfs snap rpool/ROOT/pve-1@MAJ1
zfs snap rpool/ROOT/pve-1@MAJ2

Then, if need to go back, boot on a live CD with ZFS on linux support (ex : proxmox install cd, rescue mode) or install it, import the pool then you just enter the rollback command :

Code:

zfs rollback rpool/ROOT/pve-1@MAJ1
=>> Blabla not happy, there is newer snapshot... use -f to remove older snapshots...
zfs rollback -f rpool/ROOT/pve-1@MAJ1
removing rpool/ROOT/pve-1@MAJ2, blabla, OK
reboot

Now reboot and voilà !

Now I still can't don't find documentation on the net about how to get back a root fs backup on an another machine and be able to reboot on this backup... I will try more...
Please if someone knows how to, tell me !!

Thanks

In fact, it works !! Yeahhh
I'm so happy, I now have a way to easily restaure any snapshoted version of the OS in any kind of situation, in less than 15 minutes (thanks to OVH installer and live network rescue system...)

In case someone interested, I paste my little procedure I made for myself (sorry for comments in French, use google translate ):

Procédure de restore PVE depuis ZFS:

- Réinstall depuis l'installateur OVH ( template Install-PVE5-ZFS-Base)

- Reboot sur le rescue BSD pour récuperer le fs (Debian rescue ça plante à la récup...)

- importer le pool proprement :
zpool import -f -N -R /mnt rpool

- supprimer le dataset de base de l'install :
zfs destroy -r rpool/ROOT/pve-1 (-r si il y a des snap)

- Sur le serveur source, revenir a un état voulu et virer les snap sauf le premier !! (mais pas sûr que ce soit nécessaire... ) :
root@srv1:~# zfs rollback -r rpool/bkps/rootfs-srv2@snap4
root@srv1:~# zfs destroy rpool/bkps/rootfs-srv2@snap2
root@srv1:~# zfs destroy rpool/bkps/rootfs-srv2@snap3
root@srv1:~# zfs destroy rpool/bkps/rootfs-srv2@snap4

- renvoyer le backup du root fs depuis un serveur de backup :
ssh srv2 (pour éviter erreur de clé)
(erreur de clé ssh ? sed -i '5d' ~/.ssh/known_hosts ou encore ssh-keygen -f "/root/.ssh/known_hosts" -R zeus.ipgenius.fr)
zfs send -vvv rpool/bkps/rootfs-zeus@snap1 | ssh zeus.ipgenius.fr zfs receive -vvv rpool/ROOT/pve-1

- exporter proprement le pool :
zpool export rpool

- changer les mountpoint (peut etre fait sous grub en cas d'oubli...) :
zfs set mountpoint=/ rpool/ROOT/pve-1

Less than 15min to come back from any situation

I think now the tread can be closed

Just found this thread, so amazing! Going to use this on my new build. Not being afraid of upgrades breaking something would be superb.

I liked your solution even though not fully understanding it yet ;) I figured that it seems to work otherwise there would have been questions already.

I am going to dive in and see how far I get.

I think a procedure like this should be a standard feature as it is sooooo convenient.

If you must rollback in case of an error, this can only done by Grub.

Hello!

I can't find anything regarding this in the Proxmox VE administration Guide, could you elabore the zfs rollback process with grub?

Thanks

Hello,
I was able to use this technique successfully on OVH dedicated servers too. I'm eager to us it on in-house proxmox systems.
ZFS rules really !

Could you please try explaining once in a different manner than @jeanlau did the steps you took? I am not getting through his explenation :(

Hello!

I can't find anything regarding this in the Proxmox VE administration Guide, could you elabore the zfs rollback process with grub?

Thanks

@wolfgang , I would very much would like to second @cserem 's request

Hello,

I don't see any relation between grub and ZFS -on-root, as far as rollback is concerned.

As soon as you choose zfs as install option, you get later the ability to rollback any system change you do. Software upgrade, configuration change, file removal, etc.

  1. Before any modification, do : zfs snapshot rpool/ROOT/pve-1@snapshot_name
  2. If you want to rollback, do : zfs rollback rpool/ROOT/pve-1@snapshot_name; reboot (better boot in a rescue environment before, but it can work straight from your normal boot too).

Useful too : apt install zfs-auto-snapshot; it will create "recent", hourly, daily, weekly and monthly snapshots with auto purging.

Grub itself has two parts :

  • one on the bootblock : this one is not covered by ZFS, if you install Windows on a different disk than you proxmox installation for example, you will loose the ability to boot into proxmox and you will need to restore linux boot by your own means
  • the other in the filesystem, like configuration files, etc : this one is covered by zfs (as any other change you make on your zfs-enabled proxmox system) and if mistakes are done, it can be easily rollbacked as explained earlier.

Hope it's clearer ?

I am checking it out sooner or later

As far as zfs-auto-snapshot package, I found better to disable it entirely zfs set com.sun:auto-snapshot=false rpool first. This property will get inherited to all FS.
Then I activated it only for the proxmox system zfs set com.sun:auto-snapshot=true rpool/ROOT/pve-1.
Without this, it would make regular snapshots of your swap (not really useful...) and all containers (don't know about VMs but probably also, which may be confusing if you have backups or replication in place).
If you want it on containers, you can enable them selectively with zfs set com.sun:auto-snapshot=true rpool/data

thank you for your more detailed analysis.

Why can't one simply snapshot the root/rpool?

Of course you can.
I feel the result is a bit messy, that's why I prefer to do on a as-needed basis

But in theory having the uppermost part of a zfs pool referted should not be messy?

What in practicse shouls i watch out for?

By default, zfs-auto-snapshot + inherit capacity of ZFS will cascade snapshots to every entry point.
By messy, I meant it will then keep snapshots for root/rpool, swap, possibly every container, etc. Thats' a lot of snapshots over time !
In, my case I wanted snapshots only of my / filesytem, hence rpool/ROOT/pve-1 property tuning, not all the others.

Thank you @gomu ,

@developers is there anything down the roadmap to level the functionality of @jeanlau his workflow between nodes?

ok, but what about partition2 / EFI , where proxmox does place the kernels and systemd boot config ?

if it simply adds another , more recent kernel and does not change anything else, it should not matter, should it ?

i would also like zfs snapshots as emergency fallback when update goes wrong

Last edited: