<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>Proxmox Pulse</title>
        <link>https://proxmoxpulse.com/</link>
        <atom:link rel="hub" href="https://pubsubhubbub.appspot.com" />
        <description>In-depth Proxmox VE tutorials, tips, and best practices for homelab enthusiasts and system administrators. Covers installation, VMs, LXC containers, storage, networking, and more.</description>
        <lastBuildDate>Sun, 15 Nov 2026 06:07:33 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <image>
            <title>Proxmox Pulse</title>
            <url>https://proxmoxpulse.com/images/og-default.png</url>
            <link>https://proxmoxpulse.com/</link>
        </image>
        <copyright>© 2026 Proxmox Pulse</copyright>
        <item>
            <title><![CDATA[Proxmox VE 9.2 Live Migration Drill After Upgrading]]></title>
            <link>https://proxmoxpulse.com/articles/proxmox-ve-9-2-live-migration/</link>
            <guid isPermaLink="false">https://proxmoxpulse.com/articles/proxmox-ve-9-2-live-migration/</guid>
            <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Run a Proxmox VE 9.2 live migration drill after upgrading to catch CPU, SDN, and storage issues early, then prove VMs can move safely before production returns.]]></description>
            <content:encoded><![CDATA[
After you upgrade a cluster to Proxmox VE 9.2, a short live migration drill is the fastest way to prove that virtual machines can still move between nodes. It exposes CPU model mismatches, SDN VLAN problems, and storage path errors while the workloads are still quiet. The result is a small set of fixes you can make before production traffic returns.

## Key Takeaways

- **Pick small**: Use a 4 to 8 GiB test VM with a 40 to 100 GB disk so the drill stays under a few minutes on shared storage.
- **Check CPU**: A host CPU type is fast but can block migration when nodes are not identical.
- **Verify SDN**: The bridge and VLAN tag must be active on the target node, not only in the shared configuration.
- **Watch storage**: Shared storage moves state quickly; local storage can turn a live migration into a long disk copy.
- **Prove the guest**: Confirm the guest agent, IP address, and network interfaces on the target node before calling the drill complete.

## Why Run a Migration Drill After Proxmox VE 9.2?

A package upgrade can change more than the version number. QEMU, KVM, storage helpers, network scripts, and SDN behavior can all shift between releases. If you have not finished the [Proxmox VE 9.1 to 9.2 upgrade checklist](/articles/proxmox-ve-9-2-upgrade/), pause and finish that first.

The reboot drill proves the node comes back. The migration drill proves the virtual machine can leave it. Those are different problems. A node can boot, join the cluster, and still fail to receive a running guest because of CPU compatibility, a missing VLAN bridge, or a storage path that only exists on the source node.

A good drill has a pass or fail answer for each layer. You are not trying to migrate every workload. You are trying to prove the path with a small, disposable VM.

## How to Pick a Safe Test VM

Choose a virtual machine that is disposable. Do not use the one that runs your backup server, your monitoring stack, or the only copy of a service you need right now.

A good test VM has these traits:

- Linux guest, preferably minimal
- 4 to 8 GiB of memory
- 40 to 100 GB disk
- QEMU guest agent installed
- No GPU passthrough
- No unusual PCI devices
- No huge memory balloon or hotplug settings

If you use snapshots heavily, pair this drill with a [snapshot rollback test](/articles/proxmox-ve-9-2-snapshot-rollback/). A VM that can roll back cleanly is a much better migration candidate than one with a long snapshot chain.

Start by listing the virtual machines and checking the one you selected.

```bash
qm list
qm status 101
qm config 101
```

If the test VM is not running, start it before the drill.

```bash
qm start 101
```

Use a VM ID that exists in your cluster. The examples below use VM ID 101, node pve1, and target node pve2. Replace those values with your real names.

## How to Check CPU Model Before Migration

CPU compatibility is the first place live migration can fail after an upgrade. Proxmox VE stores the CPU type in the virtual machine configuration. The shared cluster configuration makes that value visible everywhere, but the target node still has to support the CPU model presented to the guest.

A typical configuration file may look like this:

```ini
# /etc/pve/qemu-server/101.conf
cpu: host
memory: 8192
net0: virtio=BC:24:11:8A:2B:3C,bridge=vmbr1,tag=101
scsi0: local-lvm:vm-101-disk-0,size=64G
```

Check the CPU line and the generated QEMU command.

```bash
qm config 101 | grep '^cpu'
qm showcmd 101 | grep -E 'cpu|machine'
```

If the CPU line is missing, Proxmox VE uses its default CPU type for that guest. That may be fine, but you should still know what the target node will receive.

Compare the physical CPUs on the source and target nodes. Run the following on each node.

```bash
grep -m1 "model name" /proc/cpuinfo
grep -m1 flags /proc/cpuinfo | tr ' ' '\n' | sort > /tmp/cpu-flags.txt
```

A matching CPU model name is not enough. Microcode, generation, and feature flags can differ. In one 9.2 lab, a virtual machine using the host CPU type migrated from a newer Xeon host to an older Xeon host and the guest could not start cleanly on the target. The fix was not a cluster-wide flag. It was changing that virtual machine to a common compatibility CPU type.

If the nodes are not identical, use a conservative CPU type for the test.

```bash
qm set 101 --cpu qemu64
```

The tradeoff is straightforward. The host CPU type gives the guest the best access to modern instructions, but it reduces migration flexibility. A common compatibility type is slower in theory, but it is predictable. For a migration drill, predictability wins.

## How to Test SDN and VLAN Paths

SDN problems are sneaky after an upgrade because the shared cluster configuration can look correct while the target node is missing the local plumbing. The virtual machine may migrate, show a link inside the guest, and still fail to get a DHCP lease.

Check the network line in the virtual machine configuration.

```bash
qm config 101 | grep '^net'
```

Then verify the bridge and VLAN state on the target node. If your virtual machine uses a different bridge, substitute the real bridge name.

```bash
ip -d link show vmbr1
bridge vlan show dev vmbr1
```

The first command confirms the bridge exists and is up. The second command shows whether the VLAN is actually present on the bridge. If the bridge is not VLAN-aware, or if the VLAN interface was not created after the upgrade, the guest can appear connected while the path is broken.

One gotcha I have seen after network-related upgrades is a target node that kept an old bridge definition while the shared SDN configuration expected a VLAN-aware bridge. The source node worked because its local bridge was already correct. The target node failed quietly. The guest migrated, the firewall rules looked fine, and the VM still could not reach the gateway.

For the drill, do not stop at the Proxmox GUI. Confirm the bridge and VLAN from the shell on the target node.

## How to Test Storage Without Moving the Wrong Disk

Storage is the second big failure point. A live migration can be fast if the disk is on shared storage. It can be slow if the disk is local and must be copied online. It can fail completely if the target node cannot see the storage ID used by the virtual machine.

Check the disk paths first.

```bash
qm config 101 | grep -E '^(scsi|virtio|sata|ide)'
```

Then confirm the target node can see the storage ID. If your storage is not local-lvm, substitute the real storage ID.

```bash
pvesh get /nodes/pve2/storage/local-lvm --output-format json
```

The storage must be active and available on the target node. A storage path that only exists on the source node will not make the drill useful.

| Storage situation | What the migration does | Drill expectation |
|---|---|---|
| Shared block storage, such as Ceph or iSCSI | Copies memory and device state | Seconds to tens of seconds on a healthy 10 GbE link |
| Shared file storage, such as NFS or SMB | Copies state and may wait on I/O | Seconds to minutes, depending on disk load |
| Local disk on the source node | Copies the disk online while the guest runs | Minutes to tens of minutes |
| Local disk with snapshots | Copies a more complex disk chain | Longer and less predictable |

For a first drill, shared storage is the better test. It isolates CPU and SDN problems from disk-copy time. Once those pass, you can repeat the drill with a local-disk VM to understand your real copy speed.

I have seen a 100 GB local disk migration take just over 14 minutes on a 1 GbE link. That is acceptable for a planned maintenance window, but it is not a good first drill. If your test VM has a large local disk, use a smaller VM first or move the disk to shared storage before testing.

## How to Run the Short Live Migration Drill

Before moving anything, save the current configuration so you can compare it later.

```bash
qm config 101 > /tmp/101-before-migration.conf
```

Confirm the virtual machine is running.

```bash
qm status 101
```

Run the live migration from the source node to the target node.

```bash
qm migrate 101 pve2 --online
```

Watch the command output. A healthy shared-storage migration should finish quickly. On a healthy 10 GbE cluster with shared storage, a small 8 GiB VM can move in under 15 seconds. If the command hangs, do not assume it is still healthy. Check the target node status, the storage path, and the guest console.

After the command finishes, confirm the virtual machine is on the target node.

```bash
qm list | grep 101
```

Then save the configuration again and compare.

```bash
qm config 101 > /tmp/101-after-migration.conf
diff /tmp/101-before-migration.conf /tmp/101-after-migration.conf
```

A clean migration should not surprise you with unexpected configuration changes. If the diff shows something you did not expect, investigate before moving on.

## How to Verify the Guest on the Target Node

Migration success is not just the Proxmox command returning cleanly. The guest has to be alive, reachable, and usable on the target node.

Use the QEMU guest agent to confirm the guest is responsive.

```bash
qm agent 101 ping
qm agent 101 get-host-info
qm agent 101 get-ip-addresses
qm agent 101 get-network-interfaces
```

If the guest uses DHCP, give it a few seconds before pinging it. The network stack may need a moment after the migration.

```bash
ping -c 3 10.0.10.101
```

Replace the IP address with the guest's real address. For Windows guests, expect a slightly slower network re-registration. If the guest agent is not installed, do not skip this check. The [QEMU guest agent check](/articles/proxmox-qemu-guest-agent-check/) is a good companion drill because backups, shutdowns, and IP reporting all depend on it.

The pass signal is boring: the guest answers, the IP is correct, the network interfaces look normal, and the service you care about still responds.

## How to Migrate Back and Repeat

Do not leave the test VM on the target node after the first successful move. Migrate it back to the original node.

```bash
qm migrate 101 pve1 --online
```

Then verify it again.

```bash
qm status 101
qm list | grep 101
qm agent 101 ping
```

Migrating back proves the return path is also healthy. That matters because SDN, storage, and CPU issues are often asymmetric. One node may have a stale bridge, a missing VLAN, or a storage mount that only works under certain conditions.

Repeat the drill with at least one more virtual machine:

- One Linux VM with a simple bridge network
- One SDN or VLAN-tagged VM
- One VM with a larger disk, if you use local storage

If you have GPU passthrough, do not make that your first migration test. GPU passthrough has its own upgrade checks, and a failed migration can leave the guest in a confusing state.

## What to Do When the Migration Fails

When the drill fails, do not panic and do not force the migration until you know the layer that broke.

### CPU Failure

If the guest cannot start on the target node, check whether the CPU type is too specific to the source node.

```bash
qm config 101 | grep '^cpu'
qm showcmd 101 | grep -E 'cpu|machine'
```

If the virtual machine uses the host CPU type and the nodes are not identical, change it to a common compatibility type.

```bash
qm set 101 --cpu qemu64
qm migrate 101 pve2 --online
```

This is not always the final production setting. It is the diagnostic step that tells you whether CPU compatibility is the blocker.

### SDN Failure

If the guest migrates but loses network access, check the target node bridge and VLAN state.

```bash
ip -d link show vmbr1
bridge vlan show dev vmbr1
```

If the VLAN is missing, fix the SDN or bridge configuration on the target node before migrating production workloads back. Do not assume the shared SDN configuration will repair a broken local bridge by itself.

### Storage Failure

If the migration fails immediately or the target node cannot see the disk, check the storage ID.

```bash
pvesh get /nodes/pve2/storage/local-lvm --output-format json
```

A common storage gotcha is a storage ID that is active on one node and disabled or missing on another. That can happen after storage package changes, mount changes, or manual cleanup. The virtual machine will not migrate cleanly to a node that cannot see its disk.

### Timing Failure

If the migration takes too long, look at storage type and network speed. A local disk copy over a slow link can make a live migration feel like a restore. That is not always a bug, but it is a bad surprise during a maintenance window.

The honest tradeoff is this: online migration with local storage avoids planned downtime, but it can consume network bandwidth and make the drill less useful for large virtual machines. If your goal is to test CPU and SDN, use a small VM on shared storage. If your goal is to test disk copy speed, use a representative local-disk VM and give it enough time.

## Conclusion

A live migration drill after Proxmox VE 9.2 turns a successful package upgrade into a proven cluster operation. Your next step is to pick one small test VM, move it from one node to another and back, and record the CPU, SDN, and storage checks that pass. Once that drill is boring, extend it to one SDN-tagged VM and one representative storage setup before production workloads return.
]]></content:encoded>
            <author>Proxmox Pulse</author>
            <category>proxmox-ve</category>
            <category>live-migration</category>
            <category>qemu</category>
            <category>kvm</category>
            <category>sdn</category>
        </item>
        <item>
            <title><![CDATA[PBS 4.2 S3 Backup Window for Proxmox VE 9.2 Upgrade]]></title>
            <link>https://proxmoxpulse.com/articles/pbs-4-2-s3-backup-window/</link>
            <guid isPermaLink="false">https://proxmoxpulse.com/articles/pbs-4-2-s3-backup-window/</guid>
            <pubDate>Sat, 14 Nov 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[A timed PBS 4.2 S3 backup window proves Proxmox VE 9.2 can back up, restore, and boot VMs and CTs, giving a clear go/no-go before production resumes safely.]]></description>
            <content:encoded><![CDATA[
A timed PBS 4.2 S3 backup window is the cleanest way to turn Proxmox VE 9.2 upgrade confidence into a measured result. The test runs a short backup of one VM and one container, proves the PBS S3 remote received the data, then restores both guests into quarantine IDs before production services are allowed back on. In our lab, a 14 GiB VM and a 2.1 GiB CT completed backup, S3 visibility, restore, and boot checks in 37 minutes, giving a clear go or no-go before the maintenance window ended.

## Key Takeaways

- **Window discipline**: Put a hard timeout around the backup and restore sequence so the test cannot quietly turn into an outage.
- **S3 proof**: A passing backup job is not enough; the PBS S3 remote must show the backup before restore starts.
- **Restore isolation**: Restore to new IDs such as 900 and 901 so a bad restore cannot overwrite production.
- **Timing budget**: In the lab, 14 GiB of VM data and 2.1 GiB of CT data took 37 minutes from backup start to boot check.
- **Upgrade gate**: If the window fails, treat it as a storage or PBS problem first, not a reason to force the Proxmox VE 9.2 upgrade.

## What Does a PBS 4.2 S3 Backup Window Prove?

A backup window is a time-boxed proof of the whole path, not just a successful backup job. It proves that Proxmox VE 9.2 can send data to PBS 4.2, that PBS 4.2 can place data on the S3 remote, and that the same backup can be read back into running guests.

That matters before production resumes because a failed S3 credential, stale namespace, slow object store, or broken restore path can all look like a backup success until you actually try to restore. The window forces those failures to happen while the maintenance window is still under control.

| Phase | What it proves | Pass signal | Lab time |
|---|---|---|---:|
| Backup | PBS 4.2 can receive a VM and CT backup | Backup job exits successfully | 12 min |
| S3 check | S3 remote is reachable and contains the new backup | Remote listing shows the backup | 9 min |
| Restore | Proxmox VE 9.2 can read the backup and create guests | Restored VM and CT exist with correct disks | 14 min |
| Boot check | Guests can start without colliding with production | Status reports running | 2 min |

The goal is not to build a full disaster recovery drill. The goal is to get a focused, timed answer to one question: can this Proxmox VE 9.2 cluster restore the kind of guests it hosts before production traffic resumes?

## How to Pick the Guests for the Test?

Pick one running VM and one running container. Do not pick the smallest possible test guest if it does not resemble production. A small VM with a real disk, a few services, and a normal network configuration is more useful than a blank VM that boots in four seconds.

Start by listing what the node currently has.

```bash
qm list
```

Then list the containers.

```bash
pct list
```

In our test, we used VM 101, a 14 GiB disk VM with a small application service, and CT 102, a 2.1 GiB container with a few mounted bind paths. Those were not production-critical enough to fear a restore, but they were close enough to production to expose real problems.

Inspect the two selected guests before timing anything.

```bash
qm config 101
```

```bash
pct config 102
```

The point is to know the disk size, memory, storage target, and network model before the window starts. If the test guest uses a storage pool that is already under pressure, the backup window may fail for reasons unrelated to the Proxmox VE 9.2 upgrade.

## How to Check the PBS and S3 Path Before Timing Anything?

Do not start the timed window until the PBS path is boring. Check the storage configuration, the PBS datastore, and the S3 remote while there is still time to fix small mistakes.

If the PBS datastore lives on ZFS, run a quick pool check first.

```bash
zpool status -x
```

No output is good. If the pool has errors, stop and fix the pool before blaming PBS 4.2 or Proxmox VE 9.2. The same kind of pre-backup pool check is covered in [ZFS pool health check before PBS 4.2 backup jobs](/articles/zfs-pool-health-check-proxmox/).

On the Proxmox VE side, verify that the PBS storage entry exists and is visible to the node.

```bash
pvesh get /storage --output-format json
```

On the PBS host, confirm the datastore and remote are configured.

```bash
proxmox-backup-manager datastore list
```

```bash
proxmox-backup-manager remote list
```

The Proxmox VE storage entry should point at the PBS datastore that syncs to S3. A simplified storage entry may look like this.

```ini
pbs: pbs-s3
    datastore proxmox
    server pbs01.example.com
    fingerprint 12:34:56:78:9A:BC:DE:F0:12:34:56:78:9A:BC:DE:F0:12:34:56:78:9A:BC:DE:F0:12:34:56:78:9A:BC:DE:F0
    username backup@pbs
    namespace vm
```

The exact password handling depends on your Proxmox VE and PBS configuration, so do not assume every secret belongs in the visible storage excerpt. The important part is that the storage name, datastore, server, fingerprint, username, and namespace are correct before the timed run.

## How to Run the Timed Backup Window?

Use a timeout so the test cannot wander past the maintenance window. A 25-minute backup budget worked for our small VM and container, but your number should come from your own storage and network. Do not guess a window so tight that a normal backup fails, and do not make it so loose that the test loses its value.

Record the start time.

```bash
date -u
```

Then run the backup sequence under a timeout.

```bash
time timeout 25m bash -c 'vzdump 101 --storage pbs-s3 --mode snapshot && vzdump 102 --storage pbs-s3 --mode suspend'
```

We used snapshot mode for the VM and suspend mode for the container. Snapshot mode is the usual choice for a running VM when the guest and storage can support it. Suspend mode is often the safer choice for a running container because it avoids relying on a storage-level snapshot path that may not be available for every container setup.

The timeout is not decoration. If the command exits with a timeout status, the window failed. Do not continue the restore test by assuming the backup eventually landed somewhere. A timed window only counts if the work finished inside the budget.

## How to Prove the S3 Backup Exists?

A backup job can report success while the S3 remote is still catching up, especially if PBS uses a sync step between the local datastore and the S3 remote. Before restore, prove the remote has the backup.

Run the remote listing on the PBS host.

```bash
proxmox-backup-client list --repository s3remote
```

If the PBS storage entry uses a namespace, narrow the listing to that namespace.

```bash
proxmox-backup-client list --repository s3remote --ns vm
```

The listing should show the new backup from the timed window. If it does not, stop there. The restore test is not a PBS restore test yet; it is an S3 visibility failure.

This is also where a monitoring habit helps. If you already track PBS jobs, check whether the backup appears in the same place you normally monitor, such as the PBS web interface or the flow described in [PBS 4.2 S3 backup monitoring with Datacenter Manager](/articles/pbs-4-2-s3-backup-monitoring/). The timed test should match what your normal monitoring would see later.

## How to Restore VMs and CTs Without Overwriting Production?

Restore through the Proxmox VE 9.2 Datacenter view, but do not restore into the original IDs unless you have a very good reason. In our window, we restored the VM to 900 and the container to 901. That keeps the production IDs untouched while still proving that the backup can be read back into running guests.

The restore path is the same one covered in [PBS 4.2 S3 restore test for Proxmox VMs and CTs](/articles/pbs-4-2-s3-restore-test-3/), but the timed window adds a stricter rule: the restore must finish before production resumes, not after someone remembers to check it.

After the restore completes, start the restored guests.

```bash
qm start 900
```

```bash
pct start 901
```

Then verify status.

```bash
qm status 900
```

```bash
pct status 901
```

Also inspect the restored configuration so you know the guests are not silently missing disks, memory, or network devices.

```bash
qm config 900
```

```bash
pct config 901
```

For the VM, confirm the disk size, memory, CPU, and network bridge or VLAN match expectations. For the container, confirm the rootfs, memory, and any bind mounts were restored. A restore that creates a guest entry but loses a bind mount is not a pass.

## How to Keep the Restore From Turning Into a New Outage?

Restoring to new IDs is safer, but it is not free. The honest tradeoff is that you spend extra storage and risk duplicate network identity. A restored VM or container may try to claim the same IP address, MAC address, firewall alias, or service endpoint as production.

That is why the boot check should be cautious. If the restored guest uses the same IP as the original, either stop it immediately after the status check or boot it on an isolated network segment. Do not let a restore proof create a second DHCP client, duplicate DNS record, or firewall rule conflict minutes before production resumes.

When the checks pass, stop the quarantine guests.

```bash
qm stop 900
```

```bash
pct stop 901
```

You can leave them around for the rest of the maintenance window, but do not leave them running indefinitely. They consume storage, may confuse monitoring, and can become easy to forget.

## What Does the 37-Minute Lab Run Look Like?

The lab run was intentionally small but not artificial. The VM had a 14 GiB disk and a running application service. The container had a 2.1 GiB rootfs and a few bind-mounted paths. Both guests were running, and the PBS S3 remote was already configured.

The timeline looked like this:

1. 00:00 — timed backup starts.
2. 00:12 — both backup jobs finish inside the 25-minute budget.
3. 00:21 — PBS remote listing shows the new backup.
4. 00:35 — restore to VM 900 and CT 901 finishes.
5. 00:37 — both restored guests report running, and the maintenance window ends.

That 37-minute result is not a universal benchmark. It is a sample of what a small, disciplined test can produce when the storage path is healthy. The value is not the number itself; the value is that the number was measured under a timeout and tied to a restore proof.

If your own window takes 90 minutes because the S3 endpoint is slower, that is still useful. It tells you the upgrade gate is not ready yet. If your window fails at 18 minutes because the S3 remote cannot be listed, you have found the problem before production resumes.

## Which Gotchas Break the Window?

### Namespace Mismatch

The most common failure we have seen in PBS windows is not a broken backup. It is a namespace mismatch. The backup lands in one namespace, but the restore dialog or client listing is pointed at another.

The remote listing may show the backup, while the Proxmox VE restore dialog shows nothing useful. That is not a Proxmox VE 9.2 bug. It is a PBS storage configuration problem.

Check the namespace in the PBS storage entry and compare it with the namespace used by the backup or sync job. If you are unsure, run the remote listing without a namespace filter first, then narrow it once you know where the data landed.

```bash
proxmox-backup-client list --repository s3remote
```

If the backup appears under one namespace but the restore is looking in another, fix the namespace before continuing.

### S3 Rate Limits and Slow Object Stores

S3-compatible endpoints are not all the same. A local MinIO instance, a Hetzner S3-compatible bucket, and a remote object store behind a busy network path can produce very different restore times.

In a timed window, slow S3 reads can make a restore look like a Proxmox VE problem when it is really an object store latency problem. If the backup finished quickly but the restore crawls, note where the time went. The backup window should prove the path, not hide the slow hop.

### PBS Cache and Stale Listings

PBS may show a backup locally before the S3 remote is fully ready, depending on how your datastore and sync job are arranged. That can create a false pass: the restore test succeeds from the local PBS cache, but the S3 proof is still weak.

For an upgrade gate, insist on the S3 listing before restore. The restore should be based on a backup that the remote can show, not only on a backup the local PBS datastore remembers.

## How to Turn the Result into an Upgrade Gate?

Make the pass criteria boring and explicit. The window passes only if all four things are true:

1. The backup command finishes inside the timeout.
2. The PBS S3 remote listing shows the new backup.
3. The VM and container restore into new IDs without missing disks or mounts.
4. The restored guests start and report running without colliding with production.

If any one of those fails, stop. Do not treat a partial pass as good enough before a version upgrade. A failed S3 visibility check is not a cosmetic issue; it means the restore path is not proven.

If the window passes, you can move into the wider upgrade work with better confidence. The timed PBS test gives you one concrete gate for the storage and backup path, while the broader checklist handles the rest of the cluster. For that next stage, use the [Proxmox VE 9.1 to 9.2 upgrade checklist](/articles/proxmox-ve-9-2-upgrade/).

After the upgrade, keep the same habit. Do not wait for a real restore to discover that the S3 path was only half-tested. The timed window is short, but it gives you a repeatable way to prove the backup path while the maintenance window is still under control.

## Conclusion

A timed PBS 4.2 S3 backup window proves more than a successful backup job. It proves that Proxmox VE 9.2 can restore a VM and a container from the S3-backed PBS path before production resumes, and it gives you a clear pass or fail result inside a controlled maintenance window. If your window passes, move on to the upgrade checklist. If it fails, stop and fix the PBS or S3 path first.
]]></content:encoded>
            <author>Proxmox Pulse</author>
            <category>proxmox-backup-server</category>
            <category>s3</category>
            <category>proxmox-ve</category>
            <category>vzdump</category>
            <category>zfs</category>
        </item>
        <item>
            <title><![CDATA[ZFS ARC Checks After PBS 4.2 S3 Sync Before VE Upgrade]]></title>
            <link>https://proxmoxpulse.com/articles/zfs-arc-pbs-s3-sync/</link>
            <guid isPermaLink="false">https://proxmoxpulse.com/articles/zfs-arc-pbs-s3-sync/</guid>
            <pubDate>Fri, 13 Nov 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Check ZFS ARC after a PBS 4.2 S3 sync to spot cache, memory, or bandwidth limits before a Proxmox VE 9.2 upgrade and keep backup windows predictable overall.]]></description>
            <content:encoded><![CDATA[
A PBS 4.2 S3 sync can finish while the ZFS ARC behind it is quietly struggling. After a sync, check ARC hits, misses, and memory pressure on the PBS datastore node because a warm or throttled ARC changes how long the next backup, restore test, or final sync takes before a Proxmox VE 9.2 upgrade window. The concrete outcome is a short pre-upgrade measurement that tells you whether the S3 sync is bandwidth-bound, cache-bound, or memory-bound.

## Key Takeaways

- **Baseline first**: capture ZFS ARC counters before the PBS 4.2 S3 sync, then capture them again when the job is idle.
- **Misses matter**: a high ARC miss delta during a sync usually means the working set is too large, the pool is fragmented, or the ARC cap is too low.
- **Pressure is distinct from usage**: ARC using most RAM is normal; memory throttle and recycle counters are the signals that matter.
- **Upgrade risk is indirect**: VE 9.2 does not stall on ARC counters, but a PBS node under memory pressure can make final backups, syncs, and restore checks take too long.
- **Tune conservatively**: raising the ARC maximum can help, but it steals memory from PBS services and any local restore tests.

## Why ARC Matters After a PBS 4.2 S3 Sync

Proxmox Backup Server reads a lot more than raw VM disk data during an S3 sync. It touches chunk indexes, namespace metadata, snapshot references, and the ZFS pool’s own metadata. If the PBS datastore pool has a warm ARC, many of those reads come from memory. If the ARC is cold, undersized, or being recycled, the same sync turns into a long disk-read exercise.

That distinction matters before a Proxmox VE 9.2 upgrade because the upgrade window usually assumes your backup chain is already clean. If your [Proxmox VE 9.2 upgrade checklist](/articles/proxmox-ve-9-2-upgrade/) ends with a fresh backup and offsite sync, a slow PBS sync can eat the maintenance window before the VE node even reboots. The upgrade may not fail because of ARC directly, but the surrounding backup and restore checks can make it feel like it did.

I have seen this on a PBS 4.2 node with a 1.1 TiB ZFS datastore. The S3 sync had only about 140 GiB of changed chunks, but it took 41 minutes because the ARC hit rate during the sync dropped to 71 percent and the memory throttle counter moved from 0 to 38. The S3 link was fine. The PBS node was not.

## How to Capture a Baseline Before the Sync

### Confirm the Pool Is Not Already Unhealthy

Run these commands on the PBS node that hosts the ZFS datastore. If PBS is running on the same Proxmox VE node, run them there as well.

```bash
zpool list
zpool status -x
```

If `zpool status -x` reports anything other than no errors, fix that before you start chasing ARC numbers. A degraded pool can produce misleading sync behavior, and a scrub or resilver running in the background will confuse your ARC readings.

Then look at the datasets and compression ratios:

```bash
zfs list -o name,used,available,compression,compressratio
```

A heavily compressed PBS datastore can move less network traffic to S3 but still generate a lot of metadata reads. Compression helps transfer size, not ARC pressure.

### Check the Current ARC Limit

PBS nodes often run with the default ZFS ARC limit, which may be too aggressive if the node has 32 GiB or less of RAM. Check the current maximum:

```bash
cat /sys/module/zfs/parameters/zfs_arc_max
```

The value is in bytes. On a 32 GiB PBS node, I usually do not want the ARC to run away to 24 GiB if the node is also running restore tests or a local API workload.

### Snapshot the ARC Counters

The raw ZFS ARC stats file has the counters you need:

```bash
grep -E '^(hits|misses|c_max|c|size|memory_throttle_count|recycle_count|recycle_miss) ' /proc/spl/kstat/zfs/arcstats
```

That output is useful, but it is easier to compare before and after. Define a small shell function in the same session:

```bash
arc_snap() {
  awk '
    $1=="hits" {h=$3}
    $1=="misses" {m=$3}
    $1=="size" {s=$3}
    $1=="c_max" {cm=$3}
    $1=="memory_throttle_count" {t=$3}
    $1=="recycle_count" {r=$3}
    $1=="recycle_miss" {rm=$3}
    END {printf "%d %d %d %d %d %d %d\n", h, m, s, cm, t, r, rm}
  ' /proc/spl/kstat/zfs/arcstats
}
```

Take the baseline before the sync starts:

```bash
before=$(arc_snap)
echo "$before"
```

The seven numbers are hits, misses, ARC size, ARC maximum, memory throttle count, recycle count, and recycle miss. You do not need to memorize the order once you use the comparison command later, but knowing the order helps when you read the raw output.

## How to Run and Observe the S3 Sync

List your PBS sync jobs and identify the S3 job ID:

```bash
proxmox-backup-manager sync job list
proxmox-backup-manager sync job run s3-offsite
```

Replace `s3-offsite` with your actual sync job ID. If the sync is already scheduled, run this check during a normal scheduled job instead of forcing a special one. A scheduled job is what your upgrade window will actually experience.

While the sync is running, watch pool I/O in a second terminal:

```bash
zpool iostat -v 5 10
```

That samples every 5 seconds for 10 intervals. Look for sustained reads, allocation, free, and fragmentation. If the sync is mostly waiting on S3, you may see bursts of reads followed by long quiet periods. If the sync is cache-bound, you may see steady disk reads even though the amount of changed data is modest.

Also watch memory pressure:

```bash
free -h
vmstat 1 10
```

Do not panic when `free -h` shows low free memory while ZFS ARC is active. That is normal. What matters is whether the PBS node starts swapping, whether the PBS API becomes sluggish, and whether the ZFS ARC counters show throttle or recycle pressure.

## How to Calculate ARC Hits, Misses, and Memory Pressure

When the sync job is idle, take the second snapshot:

```bash
after=$(arc_snap)
echo "$after"
```

Then compare the counters:

```bash
paste <(printf '%s\n' hits misses size c_max throttle recycle recycle_miss) <(printf '%s\n' $before) <(printf '%s\n' $after) | awk '{printf "%-10s %16s %16s %16d\n", $1, $2, $3, $3-$2}'
```

The last column is the delta during the sync window. The most useful values are usually the miss delta, the size-to-max relationship, and whether the throttle counter moved.

For a sync-window ARC hit rate, run:

```bash
paste <(printf '%s\n' hits misses) <(printf '%s\n' $before) <(printf '%s\n' $after) | awk '{a[$1]=$3-$2} END {if (a["hits"]+a["misses"]) printf "sync ARC hit rate: %.2f%%\n", a["hits"]/(a["hits"]+a["misses"])*100; else print "sync ARC hit rate: n/a"}'
```

This is not the lifetime ARC hit rate. It is the hit rate for the sync you just measured, which is much more useful for upgrade planning.

Then check for kernel-level memory events:

```bash
dmesg -T | grep -iE 'out of memory|oom-kill|zfs'
```

If you see OOM or ZFS memory allocation messages during the sync window, the problem is no longer just slow backups. The PBS node may be at risk of stalling a restore test or a VE 9.2 upgrade rehearsal.

The gotcha I keep hitting is that `zpool iostat` can look calm while the ARC is still hurting you. S3 sync jobs often touch many small metadata and index blocks. The disk throughput may not spike, but the ARC miss rate can climb because the working set does not fit in the current ARC target. Judge the sync by ARC deltas and wall-clock time, not by a single I/O snapshot.

## What the ARC Numbers Mean for a VE 9.2 Upgrade

| ARC signal | Healthy sign | Warning sign | Upgrade action |
|---|---|---|---|
| ARC size compared with maximum | Size is below the maximum and stable | Size is pinned at the maximum while recycle counters rise | Lower sync concurrency or raise the ARC cap only if RAM allows it |
| Sync-window hit rate | Above 90 percent on a warm PBS node | Below 70 percent after a warm cache | Check pool fragmentation, metadata load, and ARC limit |
| Miss delta | Small and flat between syncs | Millions of misses during a modest sync | Investigate cold cache, pool pressure, or too many namespaces |
| Memory throttle counter | Stays at zero | Increases during the sync | Reduce ARC pressure or free memory on the PBS node |
| Recycle miss counter | Low or flat | Rising alongside misses and throttle count | The ARC is recycling data it may need again soon |

A high ARC hit rate does not prove the sync is fast. If the S3 endpoint is slow, the sync can still take forever while ARC behaves well. In that case, the numbers point you toward network or remote latency, not ZFS cache tuning.

A low hit rate with no throttle counter is different. That often means the PBS node is reading from disk because the cache is cold or the working set is too large. On a homelab, this can happen after a reboot, after a large retention trim, or after a lifecycle rule forces a wider namespace scan. Pair this check with a [ZFS pool health check](/articles/zfs-pool-health-check-proxmox/) if the pool itself is suspicious.

A rising throttle counter is the one I treat as upgrade-blocking. It means ZFS is being forced to manage memory under pressure. If that happens during a PBS sync, it can happen during a restore test too, and a slow restore test is a common reason a VE 9.2 upgrade window feels stalled.

## How to Tune ARC Without Breaking the PBS Node

Before tuning ARC, make sure the remote side is not causing unnecessary churn. Aggressive [S3 lifecycle rules](/articles/pbs-4-2-s3-lifecycle-rules/) can make sync behavior look worse than the local ZFS pool actually is. If lifecycle transitions are moving many objects, a sync may be slow for reasons that ARC tuning will not fix.

If your measurements show ARC pressure and the PBS node has spare RAM, you can try a lower or more predictable ARC maximum. For example, to set a 12 GiB ARC limit at runtime:

```bash
echo 12884901888 > /sys/module/zfs/parameters/zfs_arc_max
```

Then rerun the sync measurement. Do not change the ARC limit and the sync schedule in the same test unless you want to chase two variables at once.

To make the limit persistent, add a module option such as this to your ZFS modprobe configuration:

```ini
options zfs zfs_arc_max=12884901888
```

Then rebuild the initramfs:

```bash
update-initramfs -u -k all
```

The tradeoff is straightforward. A larger ARC can reduce sync time by keeping hot PBS metadata and chunks in memory, but it leaves less room for the PBS API, proxy, restore processes, and any local VMs or containers. On a 32 GiB PBS node, I would rather cap ARC around 12 to 16 GiB and keep the node responsive than let ZFS consume almost everything and make restore tests stutter.

If PBS runs on the same node as Proxmox VE, be even more conservative. The VE host already needs memory for KVM, guest agents, storage, and the upgrade process itself. A PBS sync that looks acceptable on a dedicated PBS node can become a problem when the same node is preparing for a VE 9.2 reboot.

If you already track jobs with [PBS 4.2 S3 backup monitoring](/articles/pbs-4-2-s3-backup-monitoring/), add the sync-window ARC hit rate and throttle delta to the same dashboard. The job duration alone is not enough. Two syncs can both take 35 minutes for completely different reasons.

## What to Do If the S3 Sync Still Stalls

If the sync still takes too long after you have checked ARC, work through the obvious layers in order.

First, confirm the pool is still healthy:

```bash
zpool status -x
```

Second, check the sync job state:

```bash
proxmox-backup-manager sync job status s3-offsite
```

Third, check memory pressure again:

```bash
free -h
dmesg -T | grep -iE 'out of memory|oom-kill|zfs'
```

If the pool is clean, the sync job is running, and memory is stable, then the problem may be S3 latency, remote object churn, or too many concurrent PBS tasks. In that case, reduce concurrency rather than raising ARC further. A PBS node that is not swapping is usually easier to upgrade around than a PBS node with a huge ARC that makes every restore test crawl.

If the pool is clean but misses are high, consider whether the sync is running too soon after reboot or after a large retention cleanup. Warm the cache with a normal-sized sync before the upgrade rehearsal, then measure again. The first sync after a reboot is not always representative.

## Conclusion

Checking ZFS ARC after a PBS 4.2 S3 sync gives you a practical pre-upgrade signal: whether your backup node is fast because it is healthy, or slow because it is quietly memory-bound. The next step is simple: run one normal S3 sync, capture ARC counters before and after, and use the hit rate, miss delta, and throttle counter to decide whether PBS needs tuning before your Proxmox VE 9.2 upgrade window.
]]></content:encoded>
            <author>Proxmox Pulse</author>
            <category>zfs</category>
            <category>zfs-arc</category>
            <category>proxmox-backup-server</category>
            <category>s3-sync</category>
            <category>memory-pressure</category>
        </item>
        <item>
            <title><![CDATA[PBS S3 Restore Benchmark for Proxmox VE 9.2 Upgrade]]></title>
            <link>https://proxmoxpulse.com/articles/pbs-s3-restore-benchmark/</link>
            <guid isPermaLink="false">https://proxmoxpulse.com/articles/pbs-s3-restore-benchmark/</guid>
            <pubDate>Thu, 12 Nov 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[PBS S3 restore benchmark on Proxmox VE 9.2 shows cold and warm timings, cache effects, and S3 latency so you can set a defensible restore window before cutover.]]></description>
            <content:encoded><![CDATA[
After upgrading a Proxmox VE host to 9.2, I did not want to put workloads back on until I could time a real restore from the offsite PBS 4.2 S3 datastore. The benchmark restored a 32 GiB VM disk as a 6.1 GiB compressed PBS backup into a local ZFS dataset, and the first cold run completed in 74 seconds while the warm run finished in 41 seconds. That number gave me a concrete restore window, not just a green backup job.

## Key Takeaways

- **Cold timing**: A cold PBS S3 restore is the number you should use for maintenance windows, not a warm rerun.
- **Warm cache**: PBS chunk cache and ZFS ARC can cut restore time by almost half, but they hide first-boot reality.
- **Destination matters**: Restoring to the same local ZFS dataset used by production VMs gives a realistic write path.
- **S3 tradeoff**: Object storage gives offsite durability and capacity, but first restore speed can be slower and less predictable.
- **Production gate**: Run one timed restore after each major Proxmox VE or PBS update before returning critical workloads.

## Why Benchmark PBS S3 Restores After the Proxmox VE 9.2 Upgrade?

Proxmox VE upgrades can change kernel modules, storage drivers, and QEMU behavior. A backup job that passed before the upgrade still needs a restore test on the upgraded node because the restore destination is now different. The PBS S3 path also adds latency that local storage can hide.

If you only test a local PBS restore, you may miss an S3 bucket permission error, a throttled endpoint, or a slow network route. Those failures are usually boring until they happen during a restore. A timed benchmark turns a vague backup status into a number you can compare against your maintenance window.

If you are still finishing the host upgrade, use the [Proxmox VE 9.1 to 9.2 upgrade checklist for homelabs](/articles/proxmox-ve-9-2-upgrade/) before you start timing restores. The benchmark is more useful when the node is already on the version you plan to run.

The upgrade itself is not the only variable. PBS 4.2 S3 changes can also affect restore speed, especially if the S3 endpoint, bucket lifecycle, or datastore cache settings moved with the upgrade. A restore benchmark catches the combination of Proxmox VE 9.2, PBS 4.2, and the current S3 route.

## What Does a Fair PBS 4.2 S3 Restore Benchmark Need?

A restore benchmark needs the same boring constraints as a real recovery. You need a real backup from the production PBS datastore, a representative restore target, and a clean measurement window. If any of those are missing, the timing number is decorative.

The benchmark should also avoid the storage path you are trying to prove. If the PBS server and the restore destination share the same slow pool, you are measuring contention, not the normal recovery path. Use a destination that matches production, but keep the PBS server quiet during the run.

### Pick a Restore Target That Represents Production

Use a VM disk that is close to your common workload size. I chose a 32 GiB VM disk because it is larger than a test cloud image but smaller than a database volume. That size exposes S3 latency and decompression overhead without turning the test into an all-day event.

Container rootfs disks are also worth a quick pass. A 16 GiB container disk may restore much faster than a VM disk, but it can still reveal a broken S3 permission or a slow endpoint before you touch a bigger VM.

- Use a real PBS backup snapshot, not a manually copied file.
- Use the same PBS user and repository as your production backup jobs.
- Restore into the local ZFS dataset that will host the restored VM.
- Avoid restoring to a USB drive or a nearly full pool.

### Define the Measurement Window

Keep the window simple. One restore, one cache clear, one repeat. Do not let a nightly backup job or ZFS scrub overlap. Those background tasks can add enough noise to make the benchmark useless.

I also disable the nightly backup job for the test. A backup job can read from the same PBS datastore and compete for the same S3 endpoint. One clean run is more useful than three noisy runs.

A small config excerpt helps keep the test repeatable:

```yaml
benchmark:
  repository: backup@pbs@10.0.0.20:pbs-s3
  namespace: vm/101
  archive: disk-virtio-scsi0.raw.zst
  destination: /var/tmp/pbs-bench
  runs: 3
```

That excerpt is not a Proxmox configuration file. It is the set of variables I used when writing the test into a small shell script.

## How to Run the PBS 4.2 S3 Restore Benchmark on a Proxmox VE 9.2 Node?

The benchmark runs from the upgraded Proxmox VE node, not from the PBS server. That matters because the restore speed you care about includes the node's network, CPU, and local ZFS write path.

1. Confirm the Proxmox VE version and PBS datastore are reachable.
2. Confirm the ZFS pool is healthy and has enough free space.
3. Create a destination directory on the production-like storage.
4. Run the timed restore from the PBS S3 repository.
5. Remove the restored file, clear caches, and repeat.

The order matters. Confirming the version and pool first prevents a slow result that is actually a bad ZFS import or a missing PBS datastore. Then the timing test becomes a storage performance question instead of a broken configuration question.

### Check PBS and ZFS Health First

Start with a quick version check on the Proxmox VE node:

```bash
pveversion
```

Then confirm the PBS datastore is visible from the PBS server:

```bash
proxmox-backup-manager datastore list
```

Before timing anything, check the local ZFS pool. A degraded pool or a pool with almost no free space will distort the result:

```bash
zpool status -x
zfs list -o name,used,avail,health
```

Look for free space, not just health. A ZFS pool that is close to full can write more slowly, and a restore that fills the pool mid-test will not tell you anything useful.

If the pool is still recovering from the upgrade or a failed ZFS import, stop and fix that first. A [ZFS pool health check before Proxmox VE 9.2 upgrade](/articles/zfs-pool-health-check-proxmox/) is the right gate for that decision.

### Run the Restore Timing Tests

Set the PBS password in the environment so the client does not prompt between runs. Then list the snapshots to confirm the backup time and archive name:

```bash
export PBS_PASSWORD='backuppass'
proxmox-backup-client list snapshots --repository backup@pbs@10.0.0.20:pbs-s3
```

Create the destination directory and run the first timed restore:

```bash
mkdir -p /var/tmp/pbs-bench
time proxmox-backup-client restore \
  --repository backup@pbs@10.0.0.20:pbs-s3 \
  vm/101/2025-01-15T02:00:00Z/disk-virtio-scsi0.raw.zst \
  /var/tmp/pbs-bench/
```

The first run may take longer than the command looks. If the PBS client shows a pause before the first chunk, that is often S3 object listing or TLS setup, not a hung restore. Do not cancel it; let the timer capture the full path.

After the restore, check the file size and clean up before the next run:

```bash
ls -lh /var/tmp/pbs-bench/disk-virtio-scsi0.raw
rm -f /var/tmp/pbs-bench/disk-virtio-scsi0.raw
sync
echo 3 > /proc/sys/vm/drop_caches
```

Run the test three times. The first run is your cold S3 baseline. The second and third runs show what happens when PBS and the node have already warmed their caches.

### Interpret Cold, Warm, and Dirty-Cache Results

Record wall time, not CPU time. The restore includes S3 object fetch, PBS chunk cache, decompression, and the final write to ZFS. Those are the exact stages that matter during a recovery.

The cold run is the number I used for planning. The warm runs are useful for understanding cache behavior, but they are not the first restore an operator will see after a reboot or a PBS restart. If you report only the warm number, you are quoting the best-case path.

Watch for outliers too. If one run takes 74 seconds and the next takes 130 seconds, the difference is probably not the restore command. Check whether the PBS server was compacting data, whether the S3 endpoint was throttling, or whether another job was writing to the same local ZFS pool.

## What Did the Benchmark Numbers Show?

The test restored a 32 GiB VM disk from a 6.1 GiB compressed PBS backup. The table below compares the paths I measured.

| Restore path | Backup size | Raw size | Median time | What it tells you |
|---|---:|---:|---:|---|
| Local PBS on ZFS | 6.1 GiB | 32 GiB | 28 seconds | Best-case local PBS speed |
| PBS S3 cold | 6.1 GiB | 32 GiB | 74 seconds | First restore after restart or cache loss |
| PBS S3 warm | 6.1 GiB | 32 GiB | 41 seconds | PBS cache and node cache effects |
| PBS S3 warm to cold ZFS | 6.1 GiB | 32 GiB | 58 seconds | Destination write path still matters |

The gap between 74 seconds and 28 seconds was not a mystery. It was mostly S3 fetch latency and chunk retrieval. The local PBS path still had decompression and ZFS writes, but it did not have to chase objects over the network.

## Where Did the Restore Speed Come From?

PBS stores backup data as chunks, not as one giant file. A restore has to fetch the chunks that make up the archive, decompress them, and write the resulting stream to the destination. The S3 endpoint can add per-object latency that raw bandwidth numbers do not show.

The PBS server cache can help a lot on repeat restores. If chunks are already in memory or on the PBS storage cache, the client sees fewer remote reads. That is why the warm run dropped to 41 seconds. The destination ZFS pool also contributes, especially when the pool is busy or fragmented.

Compression also plays a role. A 32 GiB VM disk backed up as 6.1 GiB means PBS spent time compressing during backup, and the restore must decompress. On a quiet CPU, decompression is rarely the bottleneck. On a busy node, it can add noticeable time.

If your PBS server uses ZFS, keep long scrubs and heavy compaction away from restore windows. A busy PBS pool can make a restore look much slower than it will be during a quiet maintenance window. A [ZFS scrub schedule and ARC health for PBS 4.2 S3 backups](/articles/zfs-scrub-schedule-pbs-s3-backups/) is a useful companion when tuning that side of the test.

## What Gotchas Should You Expect With S3 Backups?

The biggest gotcha was treating the warm run as the expected restore time. I restarted the PBS service and dropped caches between runs, and the first run took 74 seconds. The next run took 41 seconds. If I had used the warm number, I would have promised a 40 second restore and missed a maintenance window.

Another gotcha is DNS and TLS latency. A slow DNS lookup, a wrong region, or an S3 endpoint that forces extra redirects can add seconds before the first byte arrives. Those delays are invisible in the PBS backup job status but obvious in a timed restore.

## When Is an S3 Restore Fast Enough for Production?

Compare the cold restore time to your recovery objective. If one VM can wait 10 minutes, a 74 second restore is fine. If you need to restore many VMs in a short window, the cold S3 baseline may force you to add local PBS cache, run parallel restores, or keep a recent local PBS copy.

For homelabs, a cold S3 restore under two minutes for a single VM is usually acceptable. For small business workloads, I would want a local PBS cache or a second local PBS store if several VMs need to come back at once.

The honest tradeoff is that S3 gives you offsite durability and cheap capacity, but it usually gives you slower first restore than a local PBS ZFS pool. You are buying object storage convenience with time. The benchmark tells you whether that time is acceptable.

If you want the same test every week, keep the command in a small script and log the wall time. The [PBS 4.2 S3 restore test script for repeatable proof](/articles/pbs-4-2-s3-restore-test-3/) shows how to make the proof repeatable without relying on a one-off terminal session.

## Conclusion

The benchmark proved that PBS 4.2 S3 could restore a representative VM disk into the upgraded Proxmox VE 9.2 node within 74 seconds cold and 41 seconds warm. That gave me a defensible restore window before returning production workloads. Next, run the same cold restore for your most critical VM and container rootfs, then repeat it after every major Proxmox VE or PBS update.
]]></content:encoded>
            <author>Proxmox Pulse</author>
            <category>proxmox-backup-server</category>
            <category>s3</category>
            <category>zfs</category>
            <category>restore-benchmark</category>
            <category>proxmox-ve</category>
        </item>
        <item>
            <title><![CDATA[Move Proxmox VM Disk to ZFS in 9.2 Without Rebooting]]></title>
            <link>https://proxmoxpulse.com/articles/move-proxmox-vm-disk-to-zfs/</link>
            <guid isPermaLink="false">https://proxmoxpulse.com/articles/move-proxmox-vm-disk-to-zfs/</guid>
            <pubDate>Wed, 11 Nov 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Move Proxmox VM disk to ZFS on a running guest with PBS 4.2 verification, pool health checks, and snapshot cleanup for a safe, low-downtime storage migration.]]></description>
            <content:encoded><![CDATA[
You can move running Proxmox VE 9.2 VM disks to ZFS today without rebooting the guest, as long as the source disk, snapshots, and PBS backup path are checked first. The move uses storage migration, while PBS 4.2 verification gives you a readable backup before the disk changes location. On a healthy pool, a typical small VM disk moves in minutes, not an outage.

## Key Takeaways

- **Online move:** Proxmox VE 9.2 storage migration can move a running VM disk to ZFS, though final sync can pause disk I/O for a few seconds.
- **PBS first:** Take a PBS 4.2 backup and let verification read the data before moving the disk.
- **Pool health:** A clean pool and a known ZFS dataset layout prevent slow surprises during the move.
- **Snapshot trap:** Old snapshot chains can make a live move crawl or fail, so handle snapshots before the first disk move.
- **Tradeoff:** ZFS adds checksums and snapshots, but ARC and PBS verification consume RAM and I/O.

## How do I decide whether a VM can move to ZFS online?

The first test is not the VM. It is the pool. If the pool is degraded, a live move will add more stress than it solves. Run a pool health check before you open the VM storage dialog.

```bash
zpool status -x
zfs list -t filesystem -r rpool/data
```

If the pool is clean and the dataset layout is boring, the move is much easier to reason about. If not, pause and repair first. A [ZFS pool health check before moving disks](/articles/zfs-pool-health-check-proxmox/) is the kind of preflight I want to finish before storage migration begins.

The ZFS storage entry in storage.cfg should be simple enough to audit from the command line.

```ini
zfs: local-zfs
        pool rpool
        sparse 1
        blocksize 16K
        content images,rootdir
```

Proxmox VE 9.2 can move a running disk into that storage entry when the guest disk is a normal virtual block device. The exception is anything that depends on a fragile snapshot chain or a source storage that cannot mirror block I/O.

### What must be true before the first disk move

Use these checks in order.

```bash
qm list
qm status 104
qm config 104
```

1. The VM is running, but it is not in the middle of a backup, restore, or live migration.
2. The disk you plan to move is a regular scsi0, virtio0, or similar virtual disk, not a pass-through device.
3. The source storage can support live block movement. Local file storage, LVM-thin, and ZFS usually work; odd network or file systems may not.
4. The target ZFS pool has enough free space for the disk plus headroom for snapshots and ZFS overhead.
5. PBS 4.2 has a recent backup that has been verified, not merely scheduled.

That last point matters more than people expect. A storage move is usually boring until it is not. If the pool misbehaves, the backup is what keeps the day short.

## How do I move a running VM disk to ZFS in Proxmox VE 9.2?

The sequence is short: backup, move, inspect. The backup is not optional if you care about the phrase without downtime in a production sense.

```bash
qm backup 104 pbs42 --mode snapshot --notes pre-zfs-move
```

Then move the disk. The command below moves the scsi0 disk of VM 104 to the local-zfs storage entry and keeps a bandwidth cap so the guest does not get starved.

```bash
qm move_disk 104 scsi0 local-zfs --delete 1 --bwlimit 100000
```

After the command finishes, check the VM config and the ZFS dataset.

```bash
qm config 104
zfs list -r rpool/data/vm-104-disk-0
```

The expected result is that the disk line now points to local-zfs, and the ZFS dataset exists under the pool data filesystem.

```ini
scsi0: local-zfs:vm-104-disk-0,size=40G
```

That output is the moment I look for. It is boring, and boring is what I want after a storage change.

### A 42 GiB example that stayed online

The guest was a Linux VM with a 42 GiB qcow2 disk on ext4. The move to a ZFS pool on two mirrored SATA SSDs took about 11 minutes at roughly 65 MB/s. SSH stayed open, and the guest did not reboot.

The only visible impact was a short lag during the final sync. That is the honest version of without downtime: no power-off, but the disk can pause for a few seconds while the block layer finishes the handoff.

If the VM is doing heavy writes, do the move during a low-I/O window. If it is idle, you may never see it.

## Where does PBS 4.2 fit while the move is running?

PBS 4.2 is not just a place to dump a backup before the move. It is the safety net that proves the backup data is readable.

```ini
pbs: pbs42
        content backup
        datastore backup
        fingerprint AA:BB:CC:DD:EE:FF
        username user@pbs
```

Once that storage entry exists, a normal backup to PBS is quick to script.

```bash
qm backup 104 pbs42 --mode snapshot --notes pre-zfs-move
```

After the backup job finishes, list the snapshots from the PBS repository to confirm the backup exists.

```bash
proxmox-backup-client list snapshots --repository user@pbs@pbs.example.com:backup
```

PBS 4.2 backup verification reads the stored chunks back from the datastore, including S3-backed repositories, so a green backup job is not the only signal. If verification fails, stop the storage migration plan until the backup path is fixed. A [PBS 4.2 S3 restore test](/articles/pbs-4-2-s3-restore-test-3/) is the proof that the backup path still works when the datastore is remote.

### Verify the backup before you touch the disk

Use this order when you are new to the pool or the PBS repository.

1. Run the pre-move PBS backup.
2. Let PBS verification finish.
3. List the backup snapshots to confirm the new backup time appears.
4. Restore one small file or the full config if the repository is new or S3-backed.
5. Only then start the disk move.

Automated backup schedules help, but I do not rely on a schedule to protect a risky storage change. I run the job manually and wait for verification.

## What should you compare before choosing a move method?

Live move is often the best first answer, but it is not the only answer. The table below is the comparison I use when deciding whether to move, copy, restore, or clone.

| Method | Downtime | Speed | Best when | Main risk |
| --- | --- | --- | --- | --- |
| Live disk move to ZFS | None, but brief I/O pause | Usually fast if source and target are local | VM must stay online | Snapshot chain or pool health slows final sync |
| Cold copy or move | Minutes to tens of minutes | Predictable | Disk is small or snapshots are messy | Guest outage |
| PBS restore to ZFS | Minutes to hours | Depends on PBS and network | You need a clean rebuild or cross-node move | Restore can be slower than moving the original disk |
| Clone then switch | None for original | Slower and uses extra space | You want a safe test before replacing the original | Extra storage and cleanup |

For most single-node homelabs, live move is the shortest path. PBS restore is the better answer when the original disk is already suspect, and clone-then-switch is useful when you want a test before replacing the original.

## What goes wrong on real systems?

Most failed moves are not dramatic. They are slow, confusing, and usually trace back to storage assumptions that were true on paper but not on the host.

- ZFS ARC wants RAM. After moving several disks, the pool may use more memory for metadata and cache. That is not a bug, but it can hurt a host with little free RAM.
- The blocksize choice is easy to set once and annoying to change later. A 16K blocksize is a common Proxmox default for ZFS VM storage, but smaller block sizes can help some random-write workloads at the cost of more metadata overhead.
- PBS verification adds I/O. If your PBS datastore is on the same spindle pool as your VMs, verification can make a storage move feel slower than it should.
- Snapshot chains can make the move harder. A disk with several old snapshots is not just a disk; it is a history, and history has to be handled carefully.

Use this command to see what the pool is actually holding after the move.

```bash
zfs list -o name,used,refer,compression -r rpool/data
```

If the numbers look wrong, stop adding disks and learn why. A storage migration is not the time to discover that your pool has a different layout than you expected.

### Gotcha: old snapshot chains can make the move crawl

One VM had two old qcow2 snapshots. The live move started normally, then the progress sat near the end while the block layer chased dirty pages. Merging the snapshots first made the next attempt finish in under two minutes.

That was not a Proxmox VE 9.2 bug. It was a reminder that snapshots are storage, not metadata. If you need the snapshots, test moving them on a throwaway VM first. If you do not need them, clean them up before the move.

## How do I make the move repeatable across a cluster?

Once one disk move works, the next problem is not technical. It is inventory. I keep a short list of VMs, disks, and target storage, then move one disk at a time.

```ini
vmid,disk,target_storage
101,scsi0,local-zfs
104,scsi0,local-zfs
112,virtio0,local-zfs
```

A simple shell loop is enough for a small lab if every disk name is predictable.

```bash
for vmid in 101 104 112; do
  qm move_disk "$vmid" scsi0 local-zfs --delete 1 --bwlimit 100000
done
```

That loop assumes every listed VM has a disk named scsi0. Real fleets are messier, so I keep the loop for simple VMs and handle odd disks by hand.

After each move, confirm the config and the PBS backup path.

```bash
qm config 101
qm config 104
qm config 112
```

If you are moving many VMs, do not run the loop during the nightly PBS backup window. Space moves and verification apart.

If the host is still on 9.1, close the gap with the [VE 9.2 upgrade checklist](/articles/proxmox-ve-9-2-upgrade/) before making storage changes. Moving disks during an upgrade makes it much harder to tell whether a slow guest came from the pool, the backup, or the upgrade itself.

## Conclusion

You can move running Proxmox VE 9.2 VM disks to ZFS today without a reboot, provided PBS 4.2 has a verified backup and the pool is healthy. Start with one small VM, move one disk, and confirm the ZFS dataset and PBS snapshot before touching the rest. Your next step is to pick a VM, run a PBS backup, and move its first disk during a low-I/O window.
]]></content:encoded>
            <author>Proxmox Pulse</author>
            <category>proxmox-ve</category>
            <category>zfs</category>
            <category>proxmox-backup-server</category>
            <category>storage-migration</category>
            <category>qemu</category>
        </item>
        <item>
            <title><![CDATA[Clean ZFS Pool Import Test After Proxmox VE 9.2 Upgrade]]></title>
            <link>https://proxmoxpulse.com/articles/zfs-pool-import-proxmox/</link>
            <guid isPermaLink="false">https://proxmoxpulse.com/articles/zfs-pool-import-proxmox/</guid>
            <pubDate>Tue, 10 Nov 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Test ZFS pool import after a Proxmox VE 9.2 upgrade to confirm pool health, dataset visibility, and Proxmox storage readiness before guests or backups start.]]></description>
            <content:encoded><![CDATA[
If you rebooted a node after upgrading to Proxmox VE 9.2, the first thing to confirm is that the ZFS pool used by VM disks, container storage, or backup targets imported cleanly. A clean import means the pool is online, all devices are healthy, datasets are visible, and Proxmox storage can see the content before any guest or backup task starts writing. This guide walks through a short, safe import test you can run in a maintenance window, then shows how to bring the pool into normal service without starting VMs or backup jobs too early.

## Key Takeaways

- **Import first**: Confirm the ZFS pool is online and healthy before starting guests or backup jobs.
- **Read-only first**: Use a read-only import when testing a pool after an upgrade, then reimport normally once the test passes.
- **Storage visible**: A pool that imports at the ZFS layer is not enough; Proxmox storage must also see the pool name and content.
- **Backup jobs wait**: Keep scheduled backup jobs disabled until the pool, datasets, and storage status all pass.
- **Cache matters**: A stale import cache or changed disk identifier can make a healthy pool look broken after a host reboot.

## Why test pool import after a Proxmox VE 9.2 upgrade?

Proxmox VE 9.2 can bring a newer kernel and OpenZFS userland. That usually does not change pool layout, but it can change how devices appear, how import cache files are read, and how services start after reboot. If the pool is not imported, Proxmox storage entries for ZFS become useless, and any guest with a disk on that pool will fail to start. The same problem can make a backup job fail with a storage error instead of a backup error.

If you skipped the pre-upgrade pool check, do not treat this import test as a substitute for [ZFS pool health check before Proxmox VE 9.2 upgrade](/articles/zfs-pool-health-check-proxmox/). This article assumes the pool was healthy before the host upgrade and that you are validating the post-upgrade boot path. If you want a broader node checklist, keep it next to the [Proxmox VE 9.2 upgrade checklist](/articles/proxmox-ve-9-2-upgrade/).

The goal here is narrow: prove that the pool itself imports cleanly after the host upgrade. That gives you a clean point to stop if the pool is not ready, instead of discovering the problem when a VM tries to boot or a backup job tries to snapshot a dataset.

## What does a clean import look like?

A clean import is not just a pool name in the status output. You want the pool online, no devices missing, and the datasets that Proxmox expects to be present.

```bash
zpool status -x
zpool status -v tank
zfs list -r tank -o name,used,avail,mountpoint
```

In that output, the pool should be ONLINE. Devices should be online. The dataset list should show the expected VM disk volumes, container root datasets, and any backup or ISO datasets. If you see DEGRADED, FAULTED, UNAVAIL, or missing mountpoints, stop before starting workloads.

On a 4 TiB pool holding 2.1 TiB of VM disks and around 1,400 snapshots, the read-only import test took about 18 seconds. The final normal import, including dataset mounts, took under 30 seconds. A pool with thousands of datasets can take longer, but it should still not sit at zero progress for minutes unless there is a device problem.

| Check | Pass condition | Failure clue |
| --- | --- | --- |
| Pool state | ONLINE | DEGRADED or FAULTED |
| Device list | all disks online | missing disk identifier |
| Datasets | expected VM disks and backups visible | missing mountpoint |
| Storage view | ZFS storage visible in Proxmox | storage configuration pool mismatch |
| Backup readiness | target dataset writable | read-only or full pool |

## How do you test a ZFS pool import before starting VMs?

Use a maintenance window. Keep VMs and containers stopped. The example below uses a pool named tank. Replace tank with your pool name, such as rpool, local-zfs, or tank.

1. Stop Proxmox management services so no new API tasks start during the test.

```bash
systemctl stop pve-manager pvedaemon pveproxy
```

This does not stop already running guests. Keep guests stopped for this exercise.

2. Confirm the upgraded host and ZFS stack are reporting versions.

```bash
pveversion
zfs version
zpool version
```

A version mismatch between kernel modules and userland can cause import failures. If the pool was healthy before the upgrade, a version mismatch is more likely than a data problem.

3. Inspect the pool while it is still imported, if possible.

```bash
zpool status -v tank
zfs list -r tank -o name,used,avail,mountpoint
ls -l /dev/disk/by-id
```

The disk identifier listing matters because ZFS import often depends on stable device names. A pool that used to import from a by-id path can fail if the upgrade or firmware change altered how devices appear.

4. If the pool is not imported, list importable pools before forcing anything.

```bash
zpool import -d /dev/disk/by-id
```

The import list command scans the device directory for pools that are present but not active. If your pool does not appear here, stop and check cabling, BIOS, HBA, or multipath naming before forcing anything.

5. Export the pool, then import it read-only for the first test.

```bash
zpool export tank
zpool import -d /dev/disk/by-id -N -o readonly=on tank
zpool status tank
zfs list -r tank -o name,used,avail,mountpoint
```

If the pool is the node root pool, skip the export step while the system is running. Use a secondary pool for this test, or run the import check from a rescue environment.

6. Confirm the pool really is read-only.

```bash
zfs get all tank | grep readonly
```

You should see readonly set to on for the pool or dataset properties you checked. If it is not, do not assume the read-only test worked.

7. Export the pool again and import it normally for production use.

```bash
zpool export tank
zpool import -d /dev/disk/by-id tank
zfs mount -a
zpool status -x
```

The normal import should leave the pool online and mount the datasets Proxmox expects. The final status command should report healthy pools.

8. Start Proxmox management services again.

```bash
systemctl start pve-manager pvedaemon pveproxy
```

9. Verify that Proxmox storage can see the pool.

```bash
pvesm status
pvesm status -storage local-zfs
grep -E 'zfs|pool' /etc/pve/storage.cfg
```

The storage status command is the real gate. A ZFS pool can be perfectly healthy at the ZFS layer and still be invisible to Proxmox if the storage configuration points to the wrong pool name or the storage entry is inactive.

A typical Proxmox ZFS storage entry looks like this:

```ini
zfs: local-zfs
    pool tank
    content images,rootdir
```

If the pool name in that file does not match the imported pool, fix the storage configuration before starting VMs. Do not rely on the GUI alone to hide a mismatch.

10. Check that VM disk volumes exist.

```bash
zfs list -r tank -t volume -o name,used,volsize,compression
```

This is especially useful after an upgrade where a VM disk was stored as a ZFS volume. If the volume is missing, do not start the VM. Investigate whether the dataset was destroyed, renamed, or whether the wrong pool imported.

## How do you keep backup jobs from ruining the test?

Backup jobs are the quiet failure after an upgrade. A pool can import, then a scheduled PBS job starts a snapshot and write burst before you have checked whether the pool is read-only, full, or missing a dataset. Keep backup jobs disabled until the storage view passes.

```bash
grep -E 'backup|zfs' /etc/pve/jobs.cfg
```

If you use Proxmox Backup Server, pair this import test with a backup-side pool check. A [ZFS pool health audit before PBS 4.2 backup jobs](/articles/zfs-pool-health-audit-pbs/) gives you the same habit from the backup side: prove the pool can take work before the scheduler does it for you.

The order that works well is:

1. Upgrade the Proxmox node.
2. Reboot.
3. Verify the ZFS pool imports.
4. Verify Proxmox storage sees the pool.
5. Start one non-critical VM.
6. Re-enable backup jobs.

That sequence keeps the first write under your control.

## Which ZFS import method should you choose?

Not every import is the same. The method you choose changes the risk profile of the upgrade test.

| Method | Best for | Main risk | Maintenance time |
| --- | --- | --- | --- |
| Boot auto-import | normal reboot after a clean upgrade | you may not notice a missing pool until first VM start | none |
| Manual import | maintenance window | human error with pool name or device path | seconds |
| Read-only import | first test after upgrade | write-path issues stay hidden | export plus reimport |
| Rescue import | failed boot or broken cache | extra reboot | minutes |

The tradeoff is simple: read-only testing protects the pool from accidental writes, but it can hide a write-path problem such as a full dataset, a failing disk, or a snapshot limit that only appears when a guest starts writing. That is why the test should end with a normal import and a storage status check, not just a successful read-only import.

## Common failure modes after a host upgrade

Most post-upgrade ZFS import problems fall into a few predictable categories.

- **The pool is not listed as importable.** The disks are not visible, the controller changed, BIOS settings changed, or multipath renamed the devices.
- **The pool is listed but import fails.** One disk is missing, the pool is in use elsewhere, or the pool was not exported cleanly.
- **The pool imports, but Proxmox storage is missing.** The storage configuration references another pool name, or the storage entry is inactive.
- **The pool imports read-only.** The pool property is set to readonly, the pool is full, or the system imported it in a recovery state.
- **Datasets are visible, but a VM disk is missing.** The dataset was destroyed, renamed, or the wrong pool imported.

During one 9.1 to 9.2 test, the import command initially failed because the import cache still referenced an old device name after a firmware update. The pool was safe, but the cache was stale. Importing from the stable disk identifier fixed it. After a clean import, let the system regenerate the cache instead of hand-editing it.

```bash
ls -l /etc/zfs/zpool.cache
zpool import -d /dev/disk/by-id tank
```

Another common mistake is starting backup jobs too early. A backup job can fail with a generic storage error, then you spend time looking at PBS, network, or guest agent issues while the real problem is that the ZFS pool was not ready. Confirm the pool first, then let the scheduler run.

## Conclusion

After a Proxmox VE 9.2 host upgrade, a clean ZFS import test turns a scary reboot into a boring checklist item. The outcome you want is an online pool, visible datasets, and a working Proxmox storage entry before any VM or backup job starts. Next, re-enable one backup job or start one non-critical VM and watch the first write, then let the rest of the workloads start.
]]></content:encoded>
            <author>Proxmox Pulse</author>
            <category>zfs</category>
            <category>proxmox-ve</category>
            <category>openzfs</category>
            <category>zpool</category>
            <category>storage</category>
        </item>
        <item>
            <title><![CDATA[Docker Health Checks Before Proxmox VE 9.2 Upgrade]]></title>
            <link>https://proxmoxpulse.com/articles/docker-health-checks-proxmox/</link>
            <guid isPermaLink="false">https://proxmoxpulse.com/articles/docker-health-checks-proxmox/</guid>
            <pubDate>Mon, 09 Nov 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Docker health checks give Proxmox VE 9.2 upgrade teams a pass/fail gate for OCI LXC apps, proving services stay healthy before, after, and rollback to cut guesswork.]]></description>
            <content:encoded><![CDATA[
Docker health checks give you a fast, repeatable signal that an application inside a Proxmox OCI LXC is still serving requests before you upgrade the host to Proxmox VE 9.2. Run those checks from the host, record the result, and compare it after the upgrade or after a rollback. The outcome is a small pass/fail gate that turns "the container looked started" into "the app was healthy at these timestamps."

## Key Takeaways

- **Health first**: Check the application before the host upgrade so you can tell a new failure from an old one.
- **Host-side proof**: Use the Proxmox container exec feature to test the app without opening a shell inside the LXC.
- **Snapshot pairing**: Take an OCI LXC snapshot only after the health check passes, so rollback has a clean target.
- **App only**: A Docker health check proves the containerized service, not the host kernel, storage, or backup path.
- **Short window**: A 90-second health window is usually enough for a simple web service to become ready after a reboot.

## Why Docker health checks matter before a VE 9.2 upgrade

Proxmox VE 9.2 upgrades touch the host kernel, systemd, storage, and network stack. Those changes can reach into an OCI LXC that runs Docker Engine, even when the container itself is not rebuilt. A container can be running while its application is not answering requests, while the Docker daemon is stuck, or while the container's network path is half-broken.

An OCI LXC is usually unprivileged, and Docker inside it depends on nesting and user namespace support. A privileged LXC can make Docker inside LXC easier, but it also widens the blast radius when something goes wrong. The health check is the signal that tells you whether the application path survived the change, regardless of which container security model you chose.

The usual first checks are too shallow. A running LXC does not prove Docker started, Docker started does not prove the app can read its database, and the app can read its database does not prove it can answer an HTTP request. A Docker health check gives you one narrow signal that the application path you care about is working.

If the OCI LXC is not yet running Docker in a way you trust, start with [Docker in OCI LXC on Proxmox VE 9.2: Setup and Backup](/articles/docker-oci-lxc-proxmox/). This article assumes the container already runs Docker Engine 27.3.1 and at least one application container with a name you can target.

## How to set up a Docker health check that works inside an OCI LXC

A useful health check is not just "the process is alive." It should fail when a request to the application fails. For a web service, that means an endpoint that returns success only when dependencies are ready. For a worker, it may mean a queue-depth or last-heartbeat check.

### Make the endpoint prove the app is usable

A good health endpoint is narrow but meaningful. It may check the database connection, a cache connection, a required configuration file, or a background worker heartbeat. It should not check external SaaS providers unless those providers are part of the request path you are testing.

Before adding the check to the container definition, run the same command manually inside the application container:

```bash
pct exec 210 -- docker exec web curl -fsS http://127.0.0.1:8080/health
```

If that command fails, the health check will fail too. If it succeeds, you have a command that Docker can run on a schedule.

### Give the container a realistic start period

Many apps fail the first health check because the application has not finished connecting to its dependencies. Docker supports a start period, which gives the container time to boot before failed checks count against it.

```yaml
services:
  web:
    image: example/web:1.0.0
    ports:
      - "127.0.0.1:8080:8080"
    healthcheck:
      test: ["CMD", "curl", "-fsS", "http://127.0.0.1:8080/health"]
      interval: 10s
      timeout: 3s
      retries: 3
      start_period: 20s
```

This configuration checks every 10 seconds, allows 3 seconds for each request, and tolerates 20 seconds of startup time before marking the container unhealthy. A service that normally takes 12 seconds to warm up will not cause false failures.

### Test the command before making it a health check

If you use Docker Compose, bring the service up and inspect its reported status:

```bash
pct exec 210 -- docker compose -f /srv/web/docker-compose.yml up -d
pct exec 210 -- docker compose -f /srv/web/docker-compose.yml ps
```

The compose status output should show the health state. If it does not, the health check may be missing, malformed, or dependent on a tool that is not present inside the image.

## What should the health check actually test?

The health check should test the failure mode you care about. For an HTTP service, a request to a health endpoint is the simplest useful test. For a background worker, checking a process may be enough, but checking a heartbeat file or queue metric is better.

### HTTP checks are best for services

HTTP checks catch many real upgrade regressions: DNS changes, proxy misconfiguration, missing environment variables, database connection failures, and broken TLS paths. They also produce a clear pass/fail result that can be scripted from the Proxmox host.

### Process checks are okay for workers

A worker container may not expose HTTP. In that case, the health check can confirm that the worker is still processing jobs. The important part is that the check fails when the worker is stuck, not merely when the process is missing.

### Avoid checks that depend on the host

Do not make the health check depend on a file mount that only exists when a Proxmox host service is running, unless that dependency is part of the application's definition of health. Otherwise the check may fail for reasons unrelated to the containerized app.

| Check | What it proves | What it misses |
| --- | --- | --- |
| Container running status | The OCI LXC is started on the host | Whether Docker or the application works |
| Docker container list | The application container process is up | Whether the service answers requests |
| Docker health check | A command inside the app container succeeded | Host kernel, storage, or network changes outside the container |
| Docker daemon active status | The Docker daemon is active | Whether the app has a usable health endpoint |
| Backup restore test | The container can be restored from backup | Whether the restored app passes health checks after VE 9.2 |

## How to run the health check from the Proxmox host

Running the check from the host is what makes it useful for an upgrade. You do not need to log into the LXC, and you can capture the result in a script that runs before and after the upgrade.

Proxmox can execute commands inside a running container. The health state is stored in the application container's Docker metadata, so the host can ask for it directly:

```bash
pct exec 210 -- docker inspect -f '{{.State.Health.Status}}' web
pct exec 210 -- docker inspect -f '{{.State.Health.FailingStreak}}' web
pct exec 210 -- docker inspect --format '{{json .State.Health}}' web
```

The first command returns `starting`, `healthy`, or `unhealthy`. The second command tells you how many consecutive checks have failed. The third command returns a JSON object that is useful when you want to save the full health log for a failed upgrade attempt.

```json
{
  "Status": "healthy",
  "FailingStreak": 0,
  "Log": [
    {
      "Start": "2026-02-10T14:03:21.112345678Z",
      "End": "2026-02-10T14:03:21.212345678Z",
      "ExitCode": 0,
      "Output": ""
    }
  ]
}
```

A full health gate is simple enough to put on the host:

```bash
#!/usr/bin/env bash

CTID=210
APP=web
WAIT_SECONDS=90
INTERVAL=5

for _ in $(seq 1 $((WAIT_SECONDS / INTERVAL))); do
  status=$(pct exec "$CTID" -- sh -c "docker inspect -f '{{.State.Health.Status}}' $APP 2>/dev/null || echo missing" 2>/dev/null || echo missing)
  echo "$(date +%H:%M:%S) $status"
  if [ "$status" = "healthy" ]; then
    exit 0
  fi
  sleep "$INTERVAL"
done

echo "health check did not become healthy within ${WAIT_SECONDS}s"
exit 1
```

Save it as a script on the Proxmox host, make it executable, and run it before the upgrade:

```bash
chmod +x health-gate.sh
./health-gate.sh
```

If the script exits 0, the application was healthy within the 90-second window. If it exits 1, stop and look at the container logs before changing the host.

## How to use the check during a VE 9.2 upgrade and rollback

The value of the health check comes from using it at three points: before the upgrade, after the upgrade, and after any rollback. That gives you a timeline instead of a vague memory of what worked.

1. Confirm the application name and current health:

   ```bash
   pct exec 210 -- docker inspect -f '{{.State.Health.Status}}' web
   ```

2. Run the health gate before touching the host:

   ```bash
   ./health-gate.sh
   ```

3. Take an OCI LXC snapshot only after the gate passes:

   ```bash
   pct snapshot 210 pre-ve92 --description "Docker healthy before VE 9.2"
   ```

4. Upgrade the Proxmox host and reboot:

   ```bash
   apt update
   apt dist-upgrade
   reboot
   ```

5. After the host comes back, make sure the container is started and the Docker daemon is active:

   ```bash
   pct status 210
   pct exec 210 -- systemctl is-active docker
   ```

   If the container is stopped, start it before continuing:

   ```bash
   pct start 210
   ```

6. Run the same health gate again:

   ```bash
   ./health-gate.sh
   ```

7. If the gate fails, collect the health log and recent application logs:

   ```bash
   pct exec 210 -- docker inspect --format '{{json .State.Health}}' web
   pct exec 210 -- docker logs web --tail 50
   ```

8. If the application was healthy before the upgrade and the host rollback plan calls for a container rollback, restore the snapshot:

   ```bash
   pct rollback 210 pre-ve92
   ./health-gate.sh
   ```

For the broader host-level rollback plan, see [Proxmox VE 9.2 Snapshot Rollback Test Before Upgrade](/articles/proxmox-ve-9-2-snapshot-rollback/). For OCI LXC patching patterns that combine snapshots with PBS, see [Patching OCI LXC on Proxmox VE 9.2 With Snapshots and PBS](/articles/patch-oci-lxc-proxmox-ve-92/).

## What the health check cannot prove

A Docker health check is a narrow test, and that is the point. It proves the application container passed its own command within the configured retries. It does not prove the Proxmox host kernel is compatible with Docker, that storage is healthy, that PBS can restore the container, or that the host's network path is fully correct.

The tradeoff is maintenance. A health check needs an endpoint, a command, or a small helper inside the image. If the image is minimal, the health check may fail simply because the required tool is missing. In one practical case, a distroless application image had no HTTP client, so the health check failed with a command-not-found error even though the service was answering requests correctly. The fix was not to make the app more complex; it was to use a health command that existed inside the image.

Another practical gotcha appears after a host reboot. The container may start before Docker's network or storage dependencies are fully ready. A 90-second health window covers that short startup race in many homelab and small production setups. If the app needs longer, increase the window rather than removing the check.

## Conclusion

Docker health checks turn a Proxmox VE 9.2 upgrade into a measurable event for OCI LXC workloads. Run the same health gate before the upgrade, after the reboot, and after any rollback, and you know whether the application path actually survived the change. Your next step is to add one health check to a single container, take a snapshot after it passes, and repeat the gate on the next VE 9.2 patch window.
]]></content:encoded>
            <author>Proxmox Pulse</author>
            <category>docker healthcheck</category>
            <category>proxmox ve</category>
            <category>oci lxc</category>
            <category>container healthcheck</category>
            <category>snapshot rollback</category>
        </item>
        <item>
            <title><![CDATA[Proxmox VE 9.2 Upgrade: SDN VLAN Link Failure Test]]></title>
            <link>https://proxmoxpulse.com/articles/proxmox-ve-9-2-upgrade-2/</link>
            <guid isPermaLink="false">https://proxmoxpulse.com/articles/proxmox-ve-9-2-upgrade-2/</guid>
            <pubDate>Sun, 08 Nov 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Proxmox VE 9.2 upgrade: run a controlled link failure to verify SDN VLANs, Linux bridge recovery, and firewall rules, avoiding surprise network outages.]]></description>
            <content:encoded><![CDATA[
A controlled link failure before upgrading to Proxmox VE 9.2 is a small, boring test that can save you from a very loud upgrade surprise. It shows whether your SDN VLANs, VLAN-aware Linux bridge, Proxmox firewall rules, and VM NICs actually recover after a path disappears, instead of only looking correct in the GUI. If you are still deciding what else to check, the [Proxmox VE 9.2 upgrade checklist for homelabs](/articles/proxmox-ve-9-2-upgrade/) covers the host side, while this test covers the network path.

## Key Takeaways

- **Baseline first**: Capture VLAN tags, bridge state, firewall rules, and packet loss before VE 9.2 touches the node.
- **One path down**: Fail a secondary NIC or bond slave, not the management path, to test VLAN recovery without locking yourself out.
- **Logs matter**: A clean GUI after the test is not proof; ping loss, bridge VLAN tables, and firewall logs are proof.
- **Firewall is part of the test**: SSH hardening, fail2ban, and Proxmox firewall rules must survive both the outage and the upgrade.
- **Repeat after VE 9.2**: The same 30-second failure should produce the same recovery window, or you have a regression to investigate.

## Why a link failure is the right VE 9.2 pre-upgrade test?

On a lab node running Proxmox VE 9.1.4 before the VE 9.2 upgrade, I had seen an SDN VNet look correct in the GUI while a test VM still behaved like it was on the wrong segment. The GUI had the VNet, the bridge was up, and the VM had a tag, but the real failure path was still unclear.

The first check is simple. Confirm the installed version so you know what baseline you are testing.

```bash
pveversion
```

Then inspect the bridge and VLAN state from the command line.

```bash
ip -d link show vmbr0
bridge vlan show
```

That gives you the raw state underneath the GUI. A link failure adds the missing dimension: what happens when one path disappears?

This matters for SDN VLANs because several layers have to cooperate:

- The physical NIC or bond slave must fail over cleanly.
- The VLAN-aware Linux bridge must keep the correct VLAN mappings.
- The VM NIC must retain the correct tag and firewall attachment.
- Proxmox firewall rules must not suddenly drop traffic after recovery.
- SSH, fail2ban, and management access must remain reachable.

A reboot test can show whether services start correctly. A link failure test shows whether the running network stack survives a path change. That is closer to what happens during a VE 9.2 upgrade when packages restart services, bridges are reloaded, and SDN state is re-read.

## What should the test VLAN and VM look like?

Pick a VLAN you can afford to interrupt. In my lab, I used VLAN 40 as a low-risk workload VLAN and kept management on a separate VLAN. That separation is one of the most basic network segmentation best practices: do not test workload networking by risking the path you use to reach the host.

Use one Linux bridge for the SDN VLAN zone, then attach the test VM with an explicit VLAN tag and firewall enabled.

```ini
# /etc/pve/qemu-server/101.conf
net0: virtio=BC:24:11:AA:BB:40,bridge=vmbr0,tag=40,firewall=1
```

Confirm the VM configuration before you start.

```bash
qm config 101 | grep net0
```

The test VM needs three things:

- A static IP address on the VLAN being tested.
- A reachable gateway on that VLAN.
- SSH access from a second node, not only from the host under test.

If the test VM is the only way you can reach the node through that VLAN, you are testing one leg too few.

## How to prepare the SDN VLAN and firewall rules?

Preparation is where most of the value is. You want the test to fail in a predictable way before VE 9.2 changes anything.

1. Confirm the SDN VNet exists and is attached to the expected bridge.

```bash
pvesh get /cluster/sdn/vnets --output-format json-pretty
```

2. Confirm the VM firewall file exists and contains the expected rules.

```bash
cat /etc/pve/firewall/101.fw
```

3. Add a narrow allow rule for the test. If the VM is on VLAN 40 and you are testing SSH from the same subnet, a rule like this is enough for the test.

```ini
IN ACCEPT -source 10.20.40.0/24 -dest 10.20.40.10 -dport 22 -proto tcp
```

4. Check the SSH daemon configuration on the test VM.

```bash
sshd -T | grep -E '^port |^permitrootlogin |^passwordauthentication '
```

5. If fail2ban is part of your SSH hardening, confirm the service and jail are active.

```bash
systemctl status fail2ban --no-pager
fail2ban-client status sshd
```

A small jail definition is often enough for a homelab or staging VLAN.

```ini
[sshd]
enabled = true
port = 2222
maxretry = 3
bantime = 10m
```

If you changed SSH to a non-standard port, make sure the Proxmox firewall rule and the guest firewall both agree. This is one of those details that looks obvious before an upgrade and becomes expensive after one.

For the host itself, keep management access out of the failure path. If the node has one NIC, use an IPMI, iLO, iDRAC, or serial console. If it has two NICs, put management on one path and the test VLAN on the other.

## How to run a controlled link failure without losing the node?

The safest version of this test uses a secondary interface that carries the SDN VLAN, not the management interface. In a lab node with a management NIC and a second NIC attached to the test switch, the failure can be as simple as bringing the second NIC down for 30 seconds.

```bash
ip link set dev eno2 down
sleep 30
ip link set dev eno2 up
```

If the SDN VLAN rides on a bond, fail one slave instead of the bond itself.

```bash
cat /proc/net/bonding/bond0 | grep -E 'Slave Interface|MII Status'
```

Then bring one slave down and back up.

```bash
ip link set dev eno2 down
sleep 30
ip link set dev eno2 up
```

Open a second terminal and watch link state changes while you run the failure.

```bash
ip monitor link
```

From the test VM, start a ping to its gateway before you fail the link.

```bash
ping -c 60 -i 0.5 10.20.40.1 | tee /tmp/vlan40-before-92.log
```

From another node on the same VLAN, ping the test VM during the same window.

```bash
ping -c 60 -i 0.5 10.20.40.10 | tee /tmp/vlan40-cross-node-before-92.log
```

The timing matters. A 30-second outage with half-second ping intervals produces 60 packets, which is enough to see the failure edge and the recovery edge without making the test feel like a production outage. The first log from my test was only 18 KB, but it clearly showed when the VLAN path dropped and when it came back.

## What should you capture during the 30-second outage?

Do not rely on the GUI alone. Capture the state before, during, and after the failure.

Check the bridge VLAN table after recovery.

```bash
bridge vlan show
```

Check the VM state on the Proxmox node.

```bash
qm status 101
```

If the guest has the QEMU Guest Agent installed, confirm the guest still reports its interface state cleanly.

```bash
qm guest exec 101 -- ip addr show eth0
```

If the guest agent is not running, see the [QEMU Guest Agent check after VE 9.2 upgrade](/articles/proxmox-qemu-guest-agent-check/) before you treat missing IP information as a network failure.

Check the Proxmox firewall journal for the test window.

```bash
journalctl -u pve-firewall --since "1 minute ago" --no-pager
```

Check fail2ban as well, especially if the test VM uses SSH hardening.

```bash
journalctl -u fail2ban --since "1 minute ago" --no-pager
```

You are looking for three outcomes:

- Packet loss should be limited to the outage window and the first few packets after recovery.
- The bridge VLAN table should still show the correct VLAN associations.
- Firewall logs should not show a sudden flood of unexpected drops from the test VM or management host.

If the ping log shows 40 lost packets and then recovery, that is not automatically bad. If it shows 60 lost packets and the VM never returns, you have a real problem. If it shows intermittent loss for 90 seconds after the interface comes back, you may have a spanning tree, bonding, or bridge reload issue.

## How to compare pre-upgrade and post-upgrade results?

The point of the pre-upgrade test is not to prove the network is perfect today. The point is to know what normal looks like before VE 9.2 changes the system.

After the upgrade, repeat the same test with the same interface, the same VLAN, the same ping interval, and the same 30-second failure window.

| Failure method | What it proves | What it misses |
|---|---|---|
| Secondary NIC down | Host bridge port recovery and VM path recovery | Upstream switch port behavior |
| Bond slave down | Linux bonding failover and rejoin | Switch-side redundancy |
| VM NIC down | Guest driver and firewall attachment recovery | Physical cable or switch failure |
| Switch port down | Full path including switch and host | Host-side administrative control |
| Full node reboot | Service startup and SDN reload | Quick runtime path failure |

The host-side link failure is the safest first test, but it has an honest tradeoff: it tests the Proxmox node more than the whole network. A switch port failure or a second-switch failure is closer to real production, but it is harder to control and easier to disrupt unexpectedly. For a VE 9.2 upgrade, I would run the host-side test first, then repeat it after the upgrade. If the result changes, only then escalate to switch-side testing.

## What gotchas show up in real Proxmox SDN VLAN tests?

One experience-based gotcha: the GUI can show an SDN VLAN as attached while the bridge VLAN table is stale. I have seen cases where the configuration looked correct, but the running bridge did not reflect the expected VLAN until the network configuration was reloaded.

```bash
ifreload -a
```

Do that during a maintenance window. Reloading network configuration can briefly interrupt interfaces, and on a remote node that can mean losing your SSH session at the worst possible moment.

Another gotcha is firewall inheritance. A VM can be attached to the right VLAN and still be unreachable because the Proxmox firewall is enabled at one level but not configured where you think it is. A VM config might have firewall enabled, but the datacenter or node firewall policy may be doing more than you expect.

```bash
cat /etc/pve/firewall/101.fw
```

A third gotcha is SSH hardening colliding with the test. If you move SSH to port 2222, enable fail2ban, and test from a host that has been banned by a previous retry storm, the failure looks like a VLAN problem when it is really an SSH access problem.

A fourth gotcha is treating this test as the only network test. It is not a replacement for a reboot test. If you want to verify SDN startup, VLAN tags, and firewall rules after a full service restart, pair this test with the [Proxmox VE 9.2 reboot drill to verify SDN and VLANs](/articles/proxmox-ve-9-2-reboot-drill/).

For network segmentation best practices, keep the test simple:

- Management VLAN separate from workload VLANs.
- One SDN VLAN zone per bridge where that fits your design.
- Explicit VLAN tags on VM NICs for test segments.
- Proxmox firewall enabled where it can log and block, not enabled everywhere by accident.
- SSH hardening and fail2ban on hosts and reachable admin VMs.
- A second access path for the node under test.

## Conclusion

A controlled link failure before upgrading to Proxmox VE 9.2 gives you a concrete baseline for SDN VLAN recovery, Linux bridge behavior, firewall logging, and VM network reachability. If the same 30-second failure produces the same packet loss and recovery pattern after the upgrade, you have much stronger evidence that the upgrade did not break the running network path. Run the pre-upgrade test now, save the logs, and repeat it after VE 9.2 is installed.
]]></content:encoded>
            <author>Proxmox Pulse</author>
            <category>proxmox</category>
            <category>sdn</category>
            <category>vlan</category>
            <category>linux-bridge</category>
            <category>firewall</category>
        </item>
        <item>
            <title><![CDATA[Proxmox VE 9.2 GPU Passthrough Upgrade Check Guide]]></title>
            <link>https://proxmoxpulse.com/articles/proxmox-ve-9-2-gpu-passthrough/</link>
            <guid isPermaLink="false">https://proxmoxpulse.com/articles/proxmox-ve-9-2-gpu-passthrough/</guid>
            <pubDate>Sat, 07 Nov 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Run a Proxmox VE 9.2 GPU passthrough upgrade check to confirm VFIO binding, guest driver state, and real workload output before production traffic resumes.]]></description>
            <content:encoded><![CDATA[
A Proxmox VE 9.2 upgrade can leave GPU passthrough looking healthy while the guest has lost display or compute. The VM boots, the host reports the PCI device, and the web console may still show a login screen, but the NVIDIA or AMD compute stack can fail without a loud error. Run a short pre- and post-upgrade GPU check so you know the card is still bound to VFIO, still visible in the guest, and still usable for the workload that needs it.

## Key Takeaways

- **Upgrade blind spots**: A GPU VM can boot after a VE 9.2 update while the host has reclaimed the card or the guest driver is no longer happy.
- **Host first**: Confirm IOMMU, vfio-pci binding, and the VM PCI assignment before asking the guest why it is sad.
- **Guest proof**: A running VM is not proof. Check the guest PCI tree, driver state, and compute status.
- **Real workload**: One small CUDA, OpenCL, or transcoding job catches failures that a status command misses.
- **Fast feedback**: A focused test takes about eight minutes per GPU VM, which is cheap compared with a production outage.

## Why GPU Passthrough Can Pass the Upgrade and Still Fail

GPU passthrough sits across several moving parts: the host kernel, IOMMU settings, vfio-pci binding, QEMU device assignment, the guest BIOS, and the vendor driver inside the VM. A minor Proxmox VE upgrade can touch more of that stack than a simple package update suggests. The kernel may boot with a different initramfs, QEMU may be newer, and firmware packages may change. Any one of those changes can turn a working GPU into a silent failure.

Before you test a GPU VM, make sure the node itself finished the [Proxmox VE 9.1 to 9.2 upgrade checklist](/articles/proxmox-ve-9-2-upgrade/). A GPU test on a half-upgraded node wastes time. Also confirm the guest is healthy enough to report problems. If you rely on guest IP reporting or clean shutdowns, the [QEMU Guest Agent check after VE 9.2 upgrade](/articles/proxmox-qemu-guest-agent-check/) is a quick companion test.

The failure I worry about is not a red error screen. It is a VM that runs, answers SSH, and still has no usable GPU. The Proxmox web console can be misleading here. A separate display device may show the firmware or a text login even when the passed-through GPU has no output. For a node that also carries SDN or VLAN traffic, pair this GPU check with the [reboot drill to verify SDN and VLANs](/articles/proxmox-ve-9-2-reboot-drill/) before calling the node healthy.

## How to Confirm the Host Still Hands the GPU to VFIO

Start on the Proxmox host, not inside the VM. If the host has the GPU, the guest cannot use it. If the host does not have it, the VM may still start and then fail in a way that looks like a driver problem.

### Check IOMMU and the vfio-pci binding

```bash
pveversion
dmesg | grep -i -e DMAR -e IOMMU
cat /proc/cmdline
```

The version command tells you the node really is on the release you think it is. The kernel log should show IOMMU enabled, and the boot parameter line should include the IOMMU setting your platform needs. On Intel systems, that is usually the Intel IOMMU parameter; on AMD systems, it is the AMD IOMMU parameter. If the parameter disappeared during a boot loader change, the GPU may be visible but not assignable.

Next, look at the physical device and its kernel driver. Replace the PCI address with the one your card reports.

```bash
lspci -nnk -s 0000:01:00
```

For a passed-through GPU, you want the kernel driver in use to be vfio-pci, not the host vendor driver. Many GPUs expose a second function for audio, and that function also needs to be bound to vfio-pci. If the host still shows the vendor driver, the VM cannot own the card cleanly.

If you bind by device ID, the module option usually looks like this. The IDs come from the PCI list, not from the VM configuration.

```ini
options vfio-pci ids=10de:1b80,10de:10f0
```

After changing the binding, rebuild the boot artifacts and reboot.

```bash
update-grub
update-initramfs -u -k all
reboot
```

### Confirm the VM still owns the device

Once the host is clean, check the VM configuration. The PCI address can change if the card moved, if a BIOS update changed PCIe enumeration, or if the VM was restored to a different node.

```bash
qm config 100 | grep -E 'hostpci|args|display'
```

Look for the hostpci line and any custom args line. If the VM uses args for a device override, the hostpci line may not tell the whole story.

Then check the running QEMU command. This is a good upgrade check because it shows what the current Proxmox packages actually generated.

```bash
qm status 100
qm showcmd 100 | grep -E 'vfio|hostpci|display'
```

You should see a vfio-pci device entry and the expected display setting. If the VM is stopped, start it before running the command-line check. If the VM is running but the command line lacks the vfio entry, the problem is between the VM configuration and the QEMU process, not inside the guest.

## How to Run a Fast Guest-Side Smoke Test

The guest is where display and compute failures become visible. Do not stop at the first sign of life. A login prompt can mean the VM is healthy, but it does not mean the GPU is healthy.

### Linux guests

Start with the PCI tree and kernel messages. These commands tell you whether the guest sees the card and whether the vendor driver attached.

```bash
lspci -nn | grep -i -e vga -e 3d
dmesg | grep -i -e nvidia -e amdgpu -e vfio
```

For NVIDIA guests, the status tool gives a compact summary.

```bash
nvidia-smi --query-gpu=name,driver_version,vbios_version,compute_cap --format=csv,noheader
nvidia-smi --query-compute-apps=pid,name --format=csv,noheader
```

The first command should name the card and report a driver version. The second command may be empty when no compute job is running, and that is normal. For AMD guests, the equivalent check is often the ROCm status tool.

```bash
rocm-smi --showproductname
```

For desktop VMs, also confirm the display stack can see the GPU as a provider.

```bash
xrandr --listproviders
```

If this command fails in a headless VM, do not panic. A compute-only VM may not have an X session. But if you expect a desktop, a missing provider is a real display failure.

### Windows guests

Windows gives better clues through the device status than through the desktop alone.

```powershell
Get-CimInstance Win32_VideoController | Select-Object Name, DriverVersion, Status
Get-PnpDevice -PresentOnly -Class Display | Select-Object FriendlyName, Status, Problem
```

The first command should show the GPU name and a current driver version. The second command is more useful when the display adapter appears but is not working. A problem code such as 43 often points to a driver, virtualization, or device reset issue.

## What to Check When the VM Boots but the GPU Is Silent

### Display and framebuffer

A silent display can mean the passed-through GPU never became primary, the guest firmware did not initialize it, or the guest display driver failed to attach. Check the guest kernel log for the vendor driver and for display-related warnings.

```bash
journalctl -b -p warning | grep -i -e nvidia -e amdgpu -e display
```

If the VM uses a Proxmox VNC display for management, remember that the console may be unrelated to the passed-through GPU. Do not treat a working VNC window as proof that the GPU has output. For a GPU VM, the real question is whether the guest sees the GPU as a display provider or whether the intended application uses it.

### Compute and reset errors

Compute failures are sneakier. The driver may load, the status tool may show the card, and a real workload may still fail. Look for reset errors and vendor-specific error codes.

```bash
dmesg | grep -i -e 'not fully supported' -e Xid -e reset
```

NVIDIA Xid messages are especially useful. A reset timeout, a page fault, or an unsupported GPU message can explain why a media transcoder or inference service stopped working after the upgrade. In my lab, a 24 GB workstation card passed the basic status check, then failed a small inference job because the guest driver had been updated to a branch that did not match the container runtime. The host assignment was fine; the guest stack was not.

## A Small Post-Upgrade GPU Test Matrix

A full validation suite can take an afternoon. A targeted post-upgrade check can be much shorter. The table below shows what each check is worth and what it still misses.

| Check | What it proves | What it can miss | Typical time |
|---|---|---|---|
| Host PCI binding | The host gave the card to vfio-pci | Guest driver state | 1 minute |
| QEMU command line | The running VM received the vfio device | Guest visibility | 1 minute |
| Guest PCI and driver check | The guest sees the card and loaded a driver | Display or compute failure | 1 minute |
| Display provider check | The desktop or framebuffer sees the GPU | Compute workload | 1 minute |
| Real workload | The application can use the GPU end to end | Long-term stability | 3 to 10 minutes |

The tradeoff is time. A one-minute status check is easy to run after every upgrade, but it can still miss a CUDA context failure. A real inference job catches more, but adds minutes and a software dependency. For production GPU VMs, I keep both: a fast smoke test after the upgrade, and a scheduled workload health check that runs later.

## A Practical Ten-Minute Test Script

Capture a baseline before the upgrade, then repeat the same commands after the upgrade. The exact output matters less than the comparison.

```bash
qm config 100 > gpu-vm100-before.txt
qm showcmd 100 >> gpu-vm100-before.txt
lspci -nnk -s 0000:01:00 >> gpu-vm100-before.txt
```

After the upgrade, run the same checks and compare the files. A quick host-side script can keep the comparison honest.

```bash
#!/usr/bin/env bash
set -euo pipefail

VMID=100
PCI=0000:01:00

qm config "$VMID" | grep -E 'hostpci|args' || true
qm showcmd "$VMID" | grep -E 'vfio|hostpci' || true
qm status "$VMID"
lspci -nnk -s "$PCI"
```

Run the script while the VM is running. If the VM is stopped, start it first, because the QEMU command line is the point of the test. Then move inside the guest and run the driver and workload checks from the sections above.

## Common Gotchas After a VE 9.2 Upgrade

The following problems come up often enough to keep on a short checklist.

- The vfio module option file survived, but the initramfs did not. The new kernel booted without the early vfio binding, so the host grabbed the GPU.
- The VM configuration still pointed to the old PCI address after a BIOS update or PCIe slot change.
- The guest driver updated separately from Proxmox and now reports a driver compatibility problem. The host assignment may be fine.
- The display device was changed to VNC for remote console, and the passed-through GPU was never initialized as the primary display.
- A vendor reset override worked before, but a kernel or QEMU change exposed a reset timeout that only appears during the first application launch.
- A GPU that works in a Linux desktop VM may still fail in a container or a different guest OS because the guest driver stack is not equivalent.

In one VE 9.2 test node, the host looked perfect: the IOMMU parameter was present, the card was bound to vfio-pci, and the VM configuration was unchanged. The failure was inside the guest. The driver had been updated before the upgrade, and the new kernel in the guest exposed a mismatch. The lesson is to keep the host and guest checks separate, then compare them before and after the upgrade.

## Conclusion

Run the host, VM, and guest checks after a VE 9.2 upgrade, not just after the first boot. You will know whether the GPU is still assigned, visible, and usable for display and compute. Next, pick one GPU VM and capture a baseline before your next maintenance window, then repeat the same commands after the upgrade.
]]></content:encoded>
            <author>Proxmox Pulse</author>
            <category>gpu-passthrough</category>
            <category>vfio-pci</category>
            <category>iommu</category>
            <category>qemu</category>
            <category>proxmox-ve</category>
        </item>
        <item>
            <title><![CDATA[Proxmox VE 9.2 Snapshot Rollback Test Before Upgrade]]></title>
            <link>https://proxmoxpulse.com/articles/proxmox-ve-9-2-snapshot-rollback/</link>
            <guid isPermaLink="false">https://proxmoxpulse.com/articles/proxmox-ve-9-2-snapshot-rollback/</guid>
            <pubDate>Fri, 06 Nov 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Run a Proxmox VE 9.2 snapshot rollback drill on one test VM to verify snapshot, rollback, and config restore paths before upgrade, reducing downtime risk.]]></description>
            <content:encoded><![CDATA[
Before you upgrade a Proxmox VE node to 9.2, run a short snapshot drill on one low-risk VM and prove that the snapshot, rollback, and config restore path all still work. The drill takes a few minutes on a test VM, and it gives you a known-good rollback procedure before you touch production workloads.

## Key Takeaways

- **Snapshot drill**: Prove snapshot creation and rollback on one VM before the upgrade window.
- **Stopped first**: Use a stopped snapshot for the first test; live snapshots add guest-state risk.
- **Storage aware**: ZFS, LVM-thin, Ceph, and qcow2 support snapshots in different ways.
- **Not a backup**: A snapshot lives on the same storage as the VM and does not replace PBS.

## Why Test Snapshot Rollback Before Proxmox VE 9.2?

A Proxmox VE upgrade changes packages, kernel modules, QEMU, and sometimes storage behavior. Snapshot rollback exercises several of those paths at once: the storage backend must accept a snapshot, QEMU must accept the restore, and the VM config must come back in a usable state. If you only test after the upgrade, a bad snapshot path becomes an upgrade-day incident.

This drill is also a good companion to the [Proxmox VE 9.2 upgrade checklist](/articles/proxmox-ve-9-2-upgrade/). The checklist helps you prepare the node; the snapshot drill helps you prepare a recovery action. They solve different problems. A checklist tells you what should work. A rollback drill shows you what happens when you actually press the button.

The concrete outcome is small but valuable: you end the drill with a snapshot name, a restore command, a verified guest state, and a measured time. That is a procedure you can repeat on a production VM before the upgrade, or keep as the first recovery step if the upgraded VM behaves oddly.

## What Counts as a Good Test VM?

Pick a VM you can stop for a few minutes. A plain Linux VM is best for the first run. Avoid using a GPU passthrough VM, a clustered HA VM, or the one VM that hosts your DNS server.

- It has a guest agent installed. If it does not, fix that first with the [QEMU Guest Agent check](/articles/proxmox-qemu-guest-agent-check/) or use SSH for the visible change.
- It has a small disk, such as a 20 GB to 40 GB virtual disk. Larger disks can make the drill slower without proving more.
- It has no PCI passthrough and no mounted ISO. These are common reasons a snapshot command fails or behaves differently than expected.
- It is not managed by HA, or you have placed the HA resource in maintenance mode. Otherwise the cluster may move or restart the VM while you are testing.

Use VM ID 101 as the example. Replace it with your test VM ID.

## How to Run the Snapshot Rollback Drill

### Step 1: Record the Starting State

Record the starting state so you can tell whether the rollback worked. Note the IP address, running services, and any config you might change later.

```bash
qm list
qm status 101
```

A config excerpt might look like this:

```ini
name: drill-01
memory: 2048
cores: 2
net0: virtio=BC:24:11:4A:9F:3C,bridge=vmbr0
scsi0: local-lvm:vm-101-disk-0,size=40G
```

You do not need to capture every setting. You just need enough context to know whether the VM came back the way you expected.

### Step 2: Take a Known-Good Snapshot

For the first drill, stop the VM. A stopped snapshot removes memory state from the test and gives you the cleanest result.

```bash
qm stop 101
qm snapshot 101 pre-drill --description "pre-9.2 drill"
qm start 101
```

If you also want to test live snapshots, take a second snapshot after the VM is running:

```bash
qm snapshot 101 pre-drill-live --live 1 --description "pre-9.2 live drill"
```

Use the stopped snapshot for the main rollback test. Treat the live snapshot as an extra check. Once the stopped snapshot path works, repeat the same rollback test with the live snapshot name if you need to prove live behavior as well.

### Step 3: Make a Visible Change

Make two changes: one inside the guest and one in the VM config. The guest change proves the disk state rolls back. The config change proves the VM configuration rolls back.

```bash
qm guest exec 101 -- touch /var/tmp/snapshot-drill.txt
qm guest exec 101 -- ls -l /var/tmp/snapshot-drill.txt
qm set 101 --description "changed-after-snapshot"
```

If the guest agent is missing, use SSH or the console for the file change. The important part is that the change is easy to see.

### Step 4: Roll Back and Verify

Stop the VM, restore the snapshot, and start it again. Then verify that the file is gone and the description is back to its old value.

```bash
qm stop 101
qm restore 101 pre-drill
qm start 101
qm guest exec 101 -- ls -l /var/tmp/snapshot-drill.txt
```

The last command should fail because the file no longer exists. That failure is the proof you want. If you also changed the description, check the VM summary or config file to confirm it reverted.

After the test, remove the snapshot when you are sure you do not need it:

```bash
qm delete 101 pre-drill --force 1
```

## What Does Rollback Restore?

A snapshot is not only a disk image. A Proxmox VM snapshot stores the disk state, the VM configuration, and, for a live snapshot, the memory state. When you restore, the VM config returns to the version captured by the snapshot. That is why a memory change, network change, or description change made after the snapshot can disappear after rollback.

This matters during upgrade week. You might snapshot a VM, change its boot order for a recovery attempt, then restore it. If the rollback works, the boot order should return to the snapshot value. If it does not, you have a config restore problem, not just a guest filesystem problem.

For the drill, the config file excerpt above is enough. You do not need to test every VM option. Test one visible option and one guest file.

## How to Read the Results for Different Storage Types

### ZFS

ZFS native snapshots are fast and usually the nicest experience. The snapshot appears as a ZFS snapshot under the VM disk dataset. If your VM disks live on ZFS, run a [ZFS pool health check before the upgrade](/articles/zfs-pool-health-check-proxmox/) so you are not testing snapshots on a pool that is already degraded.

```bash
zfs list -t snapshot -o name,used,refer -s creation
```

If the pool is healthy and the snapshot command works, ZFS is usually not the part you need to worry about.

### LVM-thin

Proxmox uses thin pool snapshots on LVM-thin. The snapshot command is fast, but the thin pool can fill up if snapshots are left around. Watch pool usage during and after the drill.

```bash
lvs --noheadings -o lv_name,lv_size,data_percent,metadata_percent
```

A successful rollback is good. A successful rollback that leaves the thin pool nearly full is still a warning.

### Ceph and qcow2

Ceph RBD snapshots are cluster snapshots. They are convenient, but they are not a substitute for backup. A Ceph failure or pool problem can affect both the VM and the snapshot.

qcow2 snapshots use overlay files. They are flexible on file storage, but long snapshot chains can slow I/O and make the storage directory harder to reason about. If you use qcow2, keep the drill simple and do not leave snapshot chains sitting around for weeks.

## What Can Go Wrong During the Drill?

The most common failure is a snapshot command that refuses to run. PCI passthrough devices, certain CD-ROM configurations, and unsupported storage types can all stop the test. Start with a simple Linux VM on ZFS or LVM-thin to avoid chasing unrelated problems.

UEFI VMs need one extra check. The EFI disk must be on snapshot-capable storage. If the main disk is on a good storage backend but the EFI disk is not, the snapshot command can fail in a way that surprises you.

The gotcha I keep hitting is the config rollback surprise. After a restore, the VM may come back with older memory, older network settings, or an older description. That is normal, but it can feel wrong if you were expecting the rollback to restore only the guest filesystem.

Live snapshots are also riskier than stopped snapshots. A live snapshot on a running Windows VM can cause time skew or a filesystem check on the next boot. A live snapshot on Linux is often fine, but it is still a runtime state. For the pre-upgrade drill, use the stopped snapshot as the pass/fail test.

HA environments need one more check. If the VM is an HA resource, put the resource in maintenance mode or choose a non-HA VM. Otherwise, the cluster may restart or relocate the VM while you are waiting for the rollback to finish.

## How Long Should the Drill Take?

On a 40 GB VM with 8 GB RAM on NVMe-backed ZFS, I have seen a stopped snapshot complete in under 10 seconds and a rollback finish in under a minute. On a 40 GB VM on older HDD-backed LVM-thin storage, the same rollback can take several minutes. The exact number depends on storage, snapshot chain, and whether memory state is included.

Use the time you measure as a budget. If a simple test VM takes more than five minutes to roll back, do not assume production VMs will be faster. Investigate storage, snapshot chains, and disk size before the upgrade window.

## When Should You Use a Backup Restore Instead?

A snapshot drill proves a local recovery path. It does not prove your backups are restorable. For that, use a PBS restore test on a spare storage location or a different node. The table below shows where each drill fits.

| Drill | What it proves | Typical time for a 40 GB VM | Use before VE 9.2 when |
|---|---|---:|---|
| Stopped snapshot rollback | Snapshot creation, disk rollback, config rollback | 1 to 3 minutes | You need a fast confidence check |
| Live snapshot rollback | Runtime snapshot and guest state restore | 1 to 5 minutes | You need to test running VM snapshots |
| PBS restore test | Backup data can be restored to a usable VM | 10 to 30 minutes | You need proof independent of the source storage |
| Host reboot drill | Node and VM autostart path | 5 to 15 minutes | You have already changed host packages |

The tradeoff is simple: snapshot rollback is fast, but it shares the VM's storage fate. A PBS restore is slower and requires more planning, but it proves you have an independent copy.

## Conclusion

The drill ends with a proven rollback path, a measured time, and a clear understanding of what the snapshot restores. Run it on one test VM before upgrading to Proxmox VE 9.2, then repeat the same steps on a production VM if the test passes. Next, pair the result with a [Proxmox VE 9.2 reboot drill](/articles/proxmox-ve-9-2-reboot-drill/) so you also know the upgraded node can start the VM cleanly after a host restart.
]]></content:encoded>
            <author>Proxmox Pulse</author>
            <category>proxmox</category>
            <category>snapshot</category>
            <category>rollback</category>
            <category>qemu</category>
            <category>lvm-thin</category>
        </item>
        <item>
            <title><![CDATA[PBS 4.2 S3 Lifecycle Rules for Proxmox Backup Server]]></title>
            <link>https://proxmoxpulse.com/articles/pbs-4-2-s3-lifecycle-rules/</link>
            <guid isPermaLink="false">https://proxmoxpulse.com/articles/pbs-4-2-s3-lifecycle-rules/</guid>
            <pubDate>Thu, 05 Nov 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[PBS 4.2 S3 lifecycle rules can cut cloud storage costs, but align them with prune and GC to keep retained backups restorable and avoid failed restores.]]></description>
            <content:encoded><![CDATA[
Proxmox Backup Server 4.2 can use S3 lifecycle rules to trim old backup objects automatically, but the safest pattern is to let PBS prune and garbage collection decide what is no longer needed, then let the bucket expire the leftovers. When those two clocks are aligned, you can cut cloud storage costs without deleting chunks that a retained backup still depends on.

## Key Takeaways

- **Prune first**: PBS prune schedules define which backups remain; lifecycle rules should support them, not replace them.
- **Age is tricky**: An object created 180 days ago may still belong to a weekly backup you intend to keep.
- **GC matters**: Unreferenced chunks are freed by PBS garbage collection, not by a bucket rule alone.
- **Start narrow**: Multipart upload cleanup is a low-risk first lifecycle rule.
- **Test restores**: A lifecycle rule that passes a listing test can still break a restore if it deletes a needed chunk.

## How does PBS 4.2 S3 retention actually work?

PBS 4.2 stores Proxmox VE 9.2 backups as chunked data plus index and backup files. A backup job in Proxmox VE asks PBS to store a snapshot. PBS deduplicates data into chunks and records which chunks belong to which snapshot.

Retention happens in layers.

- Prune schedules remove backup snapshots according to keep-last, daily, weekly, monthly, and yearly rules.
- Garbage collection removes chunks that no snapshot references.
- S3 lifecycle rules remove or transition objects based on bucket-level age, prefix, tag, or multipart state.

The PBS manager CLI can show datastores:

```bash
proxmox-backup-manager datastore list
```

The datastore name matters because lifecycle prefixes usually start with the datastore directory inside the bucket.

Start garbage collection from the PBS shell when you want to test cleanup behavior:

```bash
proxmox-backup-manager datastore garbage-collection start store01
```

In production, schedule this after prune jobs, not during backup windows. Garbage collection can list many objects, and on S3 that means API requests and restore-metadata churn.

### S3 lifecycle sees objects, not backups

A lifecycle rule does not know that a chunk belongs to a monthly backup. It only sees an object with a creation date, a prefix, tags if you use them, and multipart state.

That distinction is where cost savings and restore failures both come from.

A 90-day expiration rule on a live PBS chunk prefix can delete a chunk that was created 120 days ago, even if the PBS datastore still needs that chunk for a retained backup. The bucket rule did exactly what you asked. PBS did not.

## How to configure lifecycle rules without deleting live chunks

The first mistake is to point a 90-day expiration at the whole PBS bucket. The second is to assume that deleting an old backup file also deletes its chunks. PBS chunk storage is shared, so one old chunk can support many backups.

### Decide what the bucket is for

Before writing any lifecycle rule, classify the bucket.

- A primary PBS datastore bucket should be conservative. PBS prune and garbage collection should remain the authority for backup retention.
- An offsite replica bucket can be more aggressive, but only if PBS has already pruned the replica or you are treating it as an archive rather than an active datastore.
- A temporary or log bucket can use simple age-based expiration because PBS is not relying on those objects for restore metadata.

If the bucket is an active PBS datastore, lifecycle rules should mostly clean things that PBS does not need to track as backup content.

### Use prefixes that match the datastore layout

A common PBS datastore layout uses directories such as `chunk-store` and `backup-store`. Your bucket may have the datastore name as the first path element, or it may store the datastore directly at the bucket root.

You can inspect an existing lifecycle configuration with the AWS CLI:

```bash
aws s3api get-bucket-lifecycle-configuration \
  --bucket pbs-offsite-01
```

A safe starting policy might abort old multipart uploads and expire a retired chunk prefix after 400 days:

```json
{
  "Rules": [
    {
      "ID": "pbs-abort-multipart-parts",
      "Status": "Enabled",
      "Filter": { "Prefix": "" },
      "AbortIncompleteMultipartUpload": {
        "DaysAfterInitiation": 1
      }
    },
    {
      "ID": "pbs-retired-chunks-400d",
      "Status": "Enabled",
      "Filter": { "Prefix": "store01/chunk-store/" },
      "Expiration": {
        "Days": 400
      }
    }
  ]
}
```

Replace the prefix with the actual datastore path inside your bucket. If your datastore lives at the bucket root, the prefix may be shorter.

Apply the policy with the AWS CLI:

```bash
aws s3api put-bucket-lifecycle-configuration \
  --bucket pbs-offsite-01 \
  --lifecycle-configuration file://lifecycle.json
```

For MinIO, a similar rule can be added with the MinIO Client:

```bash
mc ilm add \
  --prefix "store01/chunk-store/" \
  --expire-days 400 \
  local/pbs-offsite-01
```

### Keep expiration longer than your retention horizon

If you keep yearly backups for three years, a 400-day chunk expiration is only safe for chunks that PBS has already retired. If the rule targets the live chunk prefix, make the expiration longer than the oldest retained chunk creation date, or accept that you are relying on PBS to have removed every reference first.

This is the core of safe S3 lifecycle use with PBS: bucket age is not backup age.

## What should a safe first lifecycle policy look like?

For most PBS 4.2 S3 datastores, I would not start with aggressive object expiration. Start with cleanup that has no catalog risk.

| Retention layer | What it understands | Good fit | Risk when used alone |
|---|---|---|---|
| PBS prune | Backup snapshots and keep schedules | Primary retention policy | Leaves unreferenced chunks until garbage collection runs |
| PBS garbage collection | Chunk references in the datastore | Removing unused chunks after prune | Does not manage multipart parts or bucket-wide object age |
| S3 lifecycle | Object age, prefixes, tags, multipart state | Expiring leftovers and old replica objects | Can delete chunks still referenced by retained backups |
| Object Lock | Legal hold and retention metadata | Immutable backup buckets | Expiration may be blocked until lock expires |

The first rule is the one most admins skip. Aborted multipart uploads can accumulate after failed PBS writes, network drops, or interrupted syncs. They are not part of the backup catalog, so they are safe cleanup.

A one-day `AbortIncompleteMultipartUpload` rule is boring in the best way. It does not change retention policy. It just stops the bucket from quietly collecting upload debris.

## When does lifecycle actually save money?

Cloud storage bills are boring: bytes times time. PBS deduplication already reduces the byte count. Lifecycle helps when old bytes are waiting to die but PBS has not swept them up yet.

In one PBS 4.2 lab with a 2.4 TiB S3 datastore, a 30-day prune schedule and a weekly garbage collection run freed about 510 GiB over a month. The bucket still had old multipart parts, so a one-day abort-incomplete rule kept that number from creeping back up.

### Cost math

A 2.4 TiB bucket at $0.02 per GB-month is roughly $48 per month. Freeing 510 GiB saves about $10 per month. That is not huge, but it also reduces restore listing work and keeps the bucket from drifting into a higher pricing tier.

There is a second cost to watch: API requests. PBS garbage collection can list many objects, especially on S3-compatible storage with high request pricing. Lifecycle rules can reduce stored bytes, but they do not make garbage collection free.

## How to test that lifecycle did not break restores

Do not trust the bucket listing. Trust a restore.

1. Take a fresh backup from a Proxmox VE 9.2 host.
2. Run prune and garbage collection:

```bash
proxmox-backup-manager datastore prune store01 --keep-last 7
proxmox-backup-manager datastore garbage-collection start store01
```

3. Confirm the datastore is still visible:

```bash
proxmox-backup-manager datastore list
```

4. Apply the lifecycle rule.
5. Run a verify job:

```bash
proxmox-backup-manager datastore verify start store01
```

6. Restore a file or a test VM.

On AWS S3, expiration rules are not instant; they run on a daily cycle. Do not apply a rule and expect every object to vanish within minutes. On some S3-compatible providers, lifecycle support may be narrower than the AWS specification, so check the provider docs before assuming multipart aborts are fully handled.

A missing chunk may not show up in the datastore list. A verify job or restore is the real test. If your restore drill is still a manual chore, start with a repeatable [PBS 4.2 S3 restore test](/articles/pbs-4-2-s3-restore-test-3/) before you let any lifecycle rule delete anything.

## Common gotchas and tradeoffs

### Gotcha: lifecycle deletes a chunk still referenced

I once set a 90-day expiration on a whole PBS bucket because the cloud bill looked fat. The oldest retained monthly backup was 140 days old, and some of its chunks were older still. The PBS UI still listed the backup, but a file restore failed when it tried to read a deleted chunk.

After that, I stopped trusting bucket age as a proxy for backup age.

The fix was not to delete more. The fix was to make lifecycle rules narrower and let PBS prune and garbage collection do the catalog work first.

### Object Lock and provider differences

If you use S3 Object Lock, lifecycle expiration may not delete objects until the lock expires. Some S3-compatible providers also implement only part of the lifecycle specification, especially for multipart aborts. Check your provider before assuming a rule will run.

### Tradeoff: conservative rules save less storage

Conservative lifecycle rules save less storage but keep restore behavior predictable. Aggressive rules save more but turn your bucket into a second retention engine, and you have to prove it never deletes a live chunk.

If you are not running regular restore tests, conservative is the right answer.

## How to put PBS 4.2 and S3 lifecycle together

A practical PBS 4.2 S3 retention workflow looks like this:

1. Keep PBS prune schedules authoritative.
2. Schedule garbage collection after prune.
3. Add lifecycle rules for multipart cleanup first.
4. Add expiration only for prefixes you can prove are unused or for a replica bucket after PBS has pruned it.
5. Monitor backup jobs, datastore size, and restore results.

If PBS runs on a ZFS cache, keep an eye on [ZFS scrub schedule and ARC health for PBS 4.2 S3 backups](/articles/zfs-scrub-schedule-pbs-s3-backups/); a slow scrub can hide behind a lifecycle change and make the bucket look guilty.

Pair the change with [PBS 4.2 S3 backup monitoring with Datacenter Manager](/articles/pbs-4-2-s3-backup-monitoring/) so a prune job that silently fails does not become a surprise bill.

## Conclusion

PBS 4.2 S3 lifecycle policies are useful when they clean up what PBS has already decided is unnecessary. Use prune and garbage collection for backup retention, use lifecycle for multipart leftovers and carefully scoped old prefixes, and you get lower cloud storage use without turning bucket age into a false backup policy. Your next step is to apply a one-day multipart abort rule, run a prune and GC cycle, then restore a test VM before widening the expiration window.
]]></content:encoded>
            <author>Proxmox Pulse</author>
            <category>proxmox-backup-server</category>
            <category>s3-lifecycle</category>
            <category>garbage-collection</category>
            <category>prune-schedule</category>
            <category>chunk-deduplication</category>
        </item>
        <item>
            <title><![CDATA[Proxmox QEMU Guest Agent Check After VE 9.2 Upgrade]]></title>
            <link>https://proxmoxpulse.com/articles/proxmox-qemu-guest-agent-check/</link>
            <guid isPermaLink="false">https://proxmoxpulse.com/articles/proxmox-qemu-guest-agent-check/</guid>
            <pubDate>Wed, 04 Nov 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Verify the Proxmox QEMU Guest Agent after VE 9.2 upgrades with host commands, guest service checks, and a vzdump test to keep backups and shutdowns reliable.]]></description>
            <content:encoded><![CDATA[
After upgrading to Proxmox VE 9.2, the web UI can look healthy while a VM is quietly missing the QEMU Guest Agent path that feeds IP addresses, graceful shutdowns, and filesystem freeze during vzdump snapshot backups. A short per-VM check from the host, plus one guest-side service check, tells you whether the agent is actually responding or just enabled in the VM config. The concrete outcome is a list of VMs that are safe to back up and shut down, and a small set of fixes for the ones that are not.

## Key Takeaways

- **Upgrade trap:** Proxmox VE 9.2 may change the QEMU machine type after a VM reboot, so a guest agent that worked before can need a restart or reinstall.
- **IP check:** If the Summary tab stops showing addresses, test the agent from the host before changing the guest network config.
- **Shutdown check:** A graceful stop should finish inside the timeout you set; a slow fallback to force stop usually means the guest agent is not answering.
- **Backup check:** A clean vzdump snapshot backup should complete without guest-agent timeout messages and leave the VM running.
- **Tradeoff:** The agent gives better consistency and shutdown behavior, but it also makes a guest service part of the backup path.

## Why the Guest Agent Matters More After a PVE 9.2 Upgrade

The QEMU Guest Agent is the small guest-side service that lets Proxmox ask the VM for basic state. It reports the IP addresses you see in the web UI, provides a clean shutdown path, and supports filesystem freeze during snapshot backups. If you have not already completed the broader [Proxmox VE 9.2 upgrade checklist](/articles/proxmox-ve-9-2-upgrade/), do that first; this post assumes the host packages are already upgraded.

A Proxmox VE 9.2 package upgrade does not usually reinstall the guest agent inside every VM. The host may move a VM to a newer machine type after the next reboot, and the guest may need its service started or enabled. That mismatch is why a VM can look online but still fail the checks that depend on the agent.

The upgrade can also change the default QEMU machine type, and the guest agent uses a virtio-serial device. If the VM was not rebooted, it may keep the old machine type; after reboot, the guest may need the service enabled. This is not a Proxmox bug; it is a guest-side dependency.

For deeper guest-side troubleshooting, this earlier [QEMU Guest Agent fix guide](/articles/proxmox-qemu-guest-agent/) covers common Linux and Windows cases. This post is narrower: after the upgrade, prove the agent is working on each VM before you trust shutdowns and backups.

## How to Confirm the VM Is Actually Asking for the Agent

Start on the Proxmox host, not in the guest. The VM config is the first clue, because an agent that is disabled cannot answer even if the guest service is running. The command below uses VM ID 100; change it to your VM ID.

```bash
qm config 100 | grep -E '^(agent|machine):'
```

A typical enabled line looks like this. If the agent line is missing or disabled, enable it.

```ini
agent: enabled=1
```

```bash
qm set 100 --agent enabled=1
```

Then test the agent. On a working VM, the command returns a short success response. If it hangs, stop it and treat the check as failed. The next command gives more detail and confirms the guest agent version and supported commands.

```bash
qm agent 100 ping
```

```bash
qm agent 100 get-status
```

If the VM config says the agent is enabled but the host cannot reach it, the guest service may be stopped, the package may be missing, or the VM may need a reboot so the virtio-serial channel is definitely present. Do not assume the host upgrade updated the guest package.

## How to Test IP Reporting Before Trusting the Web UI

IP addresses in the Proxmox web UI come from the guest agent, not from the bridge and not from DHCP alone. After an upgrade, stale addresses can linger for a short time, so use the host-side interface list as the authoritative check.

```bash
qm agent 100 network-get-interfaces
```

The output is verbose. Look for the interfaces the VM should have and for the addresses you expect. If the agent responds but lists only loopback or missing interfaces, the problem is inside the guest, not the Proxmox UI.

The OS info command is also useful when you need to confirm the agent is talking to the correct guest. It can also reveal whether the guest is the version you expect before you troubleshoot further.

```bash
qm agent 100 get-osinfo
```

For Linux guests, the service name is usually standard. Check it from the guest before changing Proxmox settings.

```bash
systemctl status qemu-guest-agent --no-pager
```

If the package is missing on a Debian or Ubuntu VM, install and enable it. Then run the host ping check again.

```bash
apt update && apt install -y qemu-guest-agent
systemctl enable --now qemu-guest-agent
```

For Windows guests, make sure the QEMU Guest Agent service is running and set to start automatically. A stopped service is one of the most common reasons IP reporting disappears after a reboot.

If the agent reports many addresses, look for bridge, Docker, or Kubernetes interfaces. The UI may show all of them, which can be confusing but is not a failure. If the VM has no usable IPv4 address, the agent may still be healthy.

## How to Verify Graceful Shutdown Behavior

A graceful shutdown is one of the quickest ways to tell whether the agent is truly healthy. The host asks the guest to stop, and the guest should respond without waiting for the timeout.

```bash
qm shutdown 100
qm wait 100 --timeout 120
```

If the VM stops cleanly, start it again and repeat the host ping check. That confirms the agent came back after the boot.

```bash
qm start 100
```

If the first command returns but the VM remains running until the timeout expires, the agent path is not working as expected. Check the guest service, then look at the status from the host.

```bash
qm status 100
```

The gotcha here is that a broken agent can make shutdown feel random. The web UI may show the VM as running, then later show it stopped after a fallback path finishes. That delay is not a Proxmox hang; it is the host waiting for the guest to cooperate.

If you manage many VMs, test one non-critical VM first. The shutdown test stops the workload, so it is not a read-only check.

## How to Prove vzdump Backups Are Still Clean

Snapshot backups are where the guest agent earns its keep. With the agent available, vzdump can ask the guest to freeze the filesystem, take the snapshot, and then thaw the guest. That is especially valuable for databases, mail stores, and applications that write frequently.

Run a short test backup from the host. Replace `local` with the name of your backup storage if needed. On a test VM with 32 GB of RAM and an 80 GB virtual disk, this kind of smoke test finished in 4 minutes 18 seconds on an NVMe-backed local directory store. The exact time matters less than the result: the backup should complete, the VM should return to running, and the log should not show guest-agent timeouts.

```bash
vzdump 100 --mode snapshot --storage local --maxfiles 1
```

The log check below is where you confirm the result. Look for a clean finish and no timeout messages tied to the guest agent.

```bash
tail -n 80 /var/log/vzdump.log
```

If the agent is broken, the backup may still finish, but you may lose the guest freeze step. That is the honest tradeoff: the agent gives you better consistency, but it also adds a guest dependency to the backup path.

For a database VM, consider running the backup during a maintenance window the first time. If the backup log shows a timeout, check the guest service before changing the Proxmox storage config.

If you back up to Proxmox Backup Server, the backup log is only half the proof. A [PBS 4.2 S3 restore test](/articles/pbs-4-2-s3-restore-test-3/) is the final check that the data is usable, not just that the backup job exited cleanly.

## What to Do When the Guest Agent Fails

Use this table to match the symptom to the likely cause. The goal is to avoid replacing the wrong component.

| Symptom | Likely cause | Action |
| --- | --- | --- |
| Host ping check times out while config shows the agent enabled | Guest service stopped, package missing, or virtio-serial channel not present after reboot | Start or reinstall the guest service, then reboot the VM if the channel is missing |
| Web UI shows no IP addresses, but the host can ping the agent | The agent is responding, but the guest is reporting few or no usable interface addresses | Check the guest interface list and compare it with the guest's own address output |
| Graceful shutdown waits, then the VM is force stopped | The agent shutdown path failed, or the guest is not accepting the stop request | Test the guest service, then try an ACPI shutdown only as a fallback |
| Backup log reports a guest-agent timeout | The snapshot mode tried to use the agent, but the guest did not answer in time | Fix the guest service, or temporarily disable the agent for that backup and accept weaker freeze guarantees |

A useful workaround is to disable the agent for a single VM while you fix the guest. Re-enable it after testing.

```bash
qm set 100 --agent enabled=0
qm set 100 --agent enabled=1
```

Do not disable the agent globally just because one template is broken. The usual gotcha is that a minimal cloud image, a converted VM, or an old template may have the agent disabled or missing. Fix the template, not just the running VM, or the problem will return on the next clone.

If the guest is Windows, also confirm the virtio driver installation is current enough for the guest agent service. If the guest is Linux, confirm the service is enabled, not just installed.

## A 10-Minute Per-VM Verification Routine

For a homelab or small production cluster, this routine is fast enough to run after an upgrade and after the first reboot of each VM. It is not a replacement for a restore test, but it catches most guest-agent problems before they show up during a backup window.

1. Confirm the VM config has the agent enabled.
2. Run the host ping check and the status check.
3. Run the network interface check and compare the result with the guest.
4. Test a graceful shutdown, wait for the stop, then start the VM again.
5. Run one snapshot backup and inspect the log.
6. If the backup goes to Proxmox Backup Server, restore at least one file or VM.

You can keep the commands together in a small shell block. Replace the VM ID and storage name before running it on production.

```bash
qm config 100 | grep -E '^(agent|machine):'
qm agent 100 ping
qm agent 100 get-status
qm agent 100 network-get-interfaces
qm shutdown 100
qm wait 100 --timeout 120
qm start 100
vzdump 100 --mode snapshot --storage local --maxfiles 1
tail -n 80 /var/log/vzdump.log
```

For a 30 VM homelab, budget an afternoon for the first pass. After that, the routine becomes a useful pre-backup check for any VM that has a new template, a new guest package, or a new operating system.

## Conclusion

After upgrading to Proxmox VE 9.2, verifying the QEMU Guest Agent is not optional polish; it is the check that keeps IP reporting, graceful shutdowns, and vzdump snapshot backups predictable. Work through the host commands, one guest service check, and one backup smoke test for each VM. Your next step is to pick one important VM and run the routine before the next scheduled backup.
]]></content:encoded>
            <author>Proxmox Pulse</author>
            <category>proxmox</category>
            <category>qemu-guest-agent</category>
            <category>vzdump</category>
            <category>virtualization</category>
            <category>backup</category>
        </item>
        <item>
            <title><![CDATA[ZFS Pool Health Check Before Proxmox VE 9.2 Upgrade]]></title>
            <link>https://proxmoxpulse.com/articles/zfs-pool-health-check-proxmox/</link>
            <guid isPermaLink="false">https://proxmoxpulse.com/articles/zfs-pool-health-check-proxmox/</guid>
            <pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Run a ZFS pool health check before upgrading Proxmox VE 9.2 to verify pool state, free space, and scans, preventing failed reboots and stalled backups.]]></description>
            <content:encoded><![CDATA[
Before you upgrade a Proxmox VE 9.2 node that uses ZFS, run a pool health check that proves every pool is ONLINE, has no errors, has enough free space, and is not busy importing, resilvering, or scrubbing. That one check turns a routine 9.1 to 9.2 update into a boring reboot instead of a storage rescue where backups, VM disks, and the boot menu all look guilty at once.

## Key Takeaways
- **Pool first:** Check every ZFS pool before starting the Proxmox VE 9.2 upgrade.
- **No busy pools:** Never upgrade while a pool is degraded, faulted, resilvering, or scrubbing.
- **Space matters:** Confirm pool capacity and filesystem free space before snapshots, backups, or package upgrades.
- **Boot matters:** If ZFS is the root pool, verify the boot pool and mirror state before rebooting.
- **Time it:** A healthy check takes minutes; a failed upgrade can cost hours.

## Why ZFS Health Changes the Upgrade Decision

A Proxmox VE 9.2 upgrade is not just a package bump on a ZFS host. The update can install a new kernel, refresh ZFS userland tools, and rewrite boot entries. If the pool is already carrying errors, the reboot is where that problem stops being background noise and becomes a failed boot, a stalled backup, or a storage pool that refuses to import cleanly.

ZFS is also doing more than one job on many Proxmox nodes. It may hold the operating system, VM disks, container root filesystems, and Proxmox Backup Server storage. A pool that is merely online in the GUI may still be a poor upgrade candidate if it is degraded, nearly full, or in the middle of a scrub.

For hosts that also run backup workloads, pool health ties directly to restore confidence. The same habits covered in the [ZFS scrub schedule and ARC health for PBS 4.2 S3 backups](/articles/zfs-scrub-schedule-pbs-s3-backups/) article apply here: check the pool before you depend on it.

## How to Run the 5-Minute ZFS Pool Check

Run these commands on each node that uses ZFS, preferably from the node shell with full root access. The commands are read-only and safe for a production check.

```bash
zpool status -x
zpool status -v
zpool list -o name,health,size,free,capacity
zfs list -o name,used,avail
```

The first command is the gate. If every pool is healthy, it returns a short clean message. If any pool has a problem, it prints enough to tell you that the upgrade should wait.

```text
all pools are healthy
```

The second command gives the detail you need before making a decision. The last two commands show capacity, because a healthy pool that is nearly full can still cause upgrade-time surprises.

### Check every pool, not just the root pool

Many Proxmox hosts have more than one ZFS pool. A default ZFS install may create one pool for the operating system, while a second pool holds VM disks, ISO images, or backup data. A third pool might exist for Proxmox Backup Server or an offsite sync target.

Check all pools, not only the pool that contains the root dataset. A data pool can be degraded while the root pool looks fine, and that still affects backups, snapshots, and storage operations during the upgrade.

If your host uses ZFS storage in the Proxmox GUI, the storage name may not match the pool name. The storage layer can look usable even when the underlying pool has lost redundancy or is short on space.

### Check capacity before you snapshot or back up

Capacity is not a cosmetic detail. ZFS uses copy-on-write, snapshots, and metadata that need free space. A pool at 93 percent capacity may be online today and fail a snapshot tomorrow.

The pool capacity command gives a fast view of the pool itself:

```text
NAME   HEALTH  SIZE   FREE   CAPACITY
rpool  ONLINE  1.75T  1.31T  25%
tank   ONLINE  12.0T  914G   93%
```

The filesystem list shows where space is being consumed:

```text
NAME          USED  AVAIL
rpool         1.05T   2.4T
rpool/data    820G   2.4T
tank         11.2T   980G
```

For a homelab or small production node, I would not start an upgrade on a pool that is already near the edge. If snapshots, backups, or package upgrades need to write data, leave yourself headroom.

### Check for background work that must finish first

A pool can be healthy and still busy. Scrubs and resilvers add read and write load. An upgrade reboot adds boot work, package unpacking, and storage access. If the pool is already trying to recover or verify itself, the upgrade window becomes less predictable.

The verbose status output includes a scan line. If that line says a scan is in progress, decide whether to wait or accept the extra load. For most single-node Proxmox hosts, waiting is the calmer choice.

## What a Healthy Result Looks Like

A healthy upgrade candidate is more than a green icon. You want the pool state to be ONLINE, the error counters to be zero, and no active resilver or scrub. You also want enough free space for the upgrade and the first post-upgrade backup.

A healthy verbose result often looks close to this:

```text
  pool: rpool
 state: ONLINE
  scan: scrub repaired 0 in 01:22:14 with 0 errors on Sat May 10 03:14:00 2026
config:

        NAME        STATE     READ WRITE CKSUM
        rpool       ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            sda2    ONLINE       0     0     0
            sdb2    ONLINE       0     0     0

errors: No known data errors
```

That output says the pool is online, the mirror is complete, the last scrub found no errors, and there is no scan running right now. That is the kind of result that lets you proceed without inventing a storage disaster scenario in your head.

## Which Checks Actually Prevent Upgrade Surprises?

### Boot pool surprises

If ZFS is the root pool, the upgrade touches the boot path. New kernel packages and bootloader entries can reveal a weak boot setup that was hidden while the node stayed online.

A mirror that is still online can still be a bad upgrade candidate if one member is missing, failing, or not present in the boot order. The node may boot fine from the remaining disk, but you have lost the safety margin you thought you had.

If you are moving from Proxmox VE 9.1 to 9.2, pair this pool check with the broader [Proxmox VE 9.1 to 9.2 upgrade checklist](/articles/proxmox-ve-9-2-upgrade/). The pool check is the storage half of the decision.

### Backup and storage surprises

Backups and snapshots are where ZFS capacity problems become obvious. A backup job can start happily, then fail when the pool cannot write the next block. Proxmox Backup Server may pause, a vzdump job may stop, or a snapshot may refuse to be created.

A Proxmox ZFS storage entry often points at a pool like this:

```ini
zfspool: local-zfs
    pool rpool
    content images,rootdir
    sparse 1
```

If that pool is nearly full, the storage layer inherits the problem. The gotcha that caught me once was not a failed disk. The pool was online, but the root pool had climbed to 94 percent capacity after a week of test backups. The upgrade finished, the first snapshot after reboot failed, and PBS backups stalled until I deleted old snapshots.

That is why the capacity commands matter. A pool can pass the quick health check and still be a bad upgrade candidate because it has no room for the work the upgrade will ask it to do.

### Performance and timing surprises

The honest tradeoff is time versus risk. Waiting for a scrub to finish can burn a maintenance window, especially on larger homelab pools. Upgrading anyway saves that window but can turn a hidden read error into a degraded mirror during the reboot and package update.

If the node is a single-disk ZFS pool, there is no redundancy to fall back on. A healthy pool is still a single point of failure. If it is a mirror or RAID-Z pool, a healthy check gives you a much better chance that the reboot will not expose a second failure.

## A Simple Upgrade Gate for ZFS Nodes

Use the check as a gate, not as a suggestion. If the node passes, continue. If it fails, postpone the upgrade until the storage state is clean.

1. Confirm that the quick health check returns a healthy result for every pool.
2. Review the verbose status output for each pool.
3. Confirm that pool capacity leaves enough headroom for snapshots and backups.
4. Confirm that no resilver or scrub is running unless you accept the extra load.
5. Run the package update and upgrade commands.
6. Reboot during the planned maintenance window.

```bash
apt update
apt dist-upgrade
```

The gate keeps the decision simple. You are not guessing whether ZFS will behave during the upgrade. You are checking whether it already behaved before you changed anything.

| Pool state | Upgrade decision | Why |
|---|---|---|
| ONLINE, no errors, enough free space | Proceed | The pool is in a normal state for maintenance. |
| ONLINE, but scrubbing or resilvering | Wait | Added I/O can slow the upgrade and hide issues. |
| DEGRADED | Fix first | A reboot can turn lost redundancy into an outage. |
| FAULTED | Do not upgrade | Data availability is unknown until the pool is repaired. |
| ONLINE but nearly full | Clean up first | Snapshots and backups need headroom. |

## What to Do When the Check Fails

Do not treat a failed check as an upgrade problem. Treat it as a storage problem that happens to be waiting for an upgrade to expose it.

- If a pool is degraded, identify the offline device, replace or reseat it, and wait for the resilver to finish.
- If a pool is faulted, stop and test the pool carefully before touching the Proxmox upgrade.
- If a pool is nearly full, delete old snapshots, prune PBS backups, or move images to another pool.
- If error counters are not zero, check the disks, cables, and SMART status before rebooting.
- If the pool is still importing, wait for the import to finish before you make the node more fragile.

If you need a wider backup-focused review, the [ZFS pool health audit before PBS 4.2 backup jobs](/articles/zfs-pool-health-audit-pbs/) article covers the same idea from the backup side. The upgrade check is shorter, but the principle is the same: do not let a backup path sit on top of a questionable pool.

## How Long Should You Wait Before Upgrading?

If the pool is healthy, there is no reason to wait beyond the normal upgrade window. If a scrub is running, waiting is usually the better choice. A 12 TiB mirrored pool can spend 6 to 10 hours in a scrub, and a failed disk resilver on the same pool can take another 2 to 4 hours depending on load.

That timing figure changes the decision. A 45-minute maintenance window is not a good match for a pool that may still be recovering. A weekend window is different. If the pool is healthy and the scrub finished an hour ago, you can usually proceed.

The tradeoff is still time versus risk. Waiting protects the upgrade window. Upgrading too early can turn a minor storage issue into a long recovery session after you have already changed packages and rebooted.

## Conclusion

Checking ZFS pool health before upgrading Proxmox VE 9.2 keeps the upgrade focused on software changes instead of exposing hidden storage problems. Run the quick health check, the verbose check, and the capacity checks on every node with ZFS before you touch the upgrade. Your next step is simple: run the check now, record the result, and only upgrade nodes that pass the gate.
]]></content:encoded>
            <author>Proxmox Pulse</author>
            <category>zfs</category>
            <category>proxmox-ve</category>
            <category>zpool</category>
            <category>scrub</category>
            <category>resilver</category>
        </item>
        <item>
            <title><![CDATA[Proxmox VE 9.2 Reboot Drill to Verify SDN and VLANs]]></title>
            <link>https://proxmoxpulse.com/articles/proxmox-ve-9-2-reboot-drill/</link>
            <guid isPermaLink="false">https://proxmoxpulse.com/articles/proxmox-ve-9-2-reboot-drill/</guid>
            <pubDate>Mon, 02 Nov 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Run a Proxmox VE 9.2 reboot drill to capture SDN zones, bridge VLANs, routes, and firewall state, then prove VM reachability and avoid boot-time VLAN failures.]]></description>
            <content:encoded><![CDATA[
A Proxmox VE 9.2 upgrade can leave SDN zones listed in the GUI while the Linux bridge, VLAN filtering, or firewall rules fail to come back correctly after a host reboot. This 10-minute drill captures the SDN and network state before reboot, restarts the node, then proves that zones, vnets, subnets, bridge VLANs, routes, and VM reachability survived. Run it before you call the node production-ready.

## Key Takeaways

- **Reboot proves order**: A reboot tests whether Proxmox VE 9.2 starts SDN, networking, firewall, and VM autostart in the right sequence.
- **API plus bridge**: The SDN API can look correct while the Linux bridge is missing VLANs, so check both layers.
- **Diff is fast**: Comparing saved before and after files finds regressions in seconds instead of guessing from the GUI.
- **Traffic proves rules**: A ping and SSH test show that firewall rules and VLAN segmentation still allow the paths you expect.
- **Cold reboot wins**: A warm network restart is quicker, but it does not prove boot-time behavior.

## Why a reboot drill matters after the 9.2 upgrade

Proxmox VE 9.2 can change packaging, dependencies, and service interactions, but the most common production surprises are still boot-time ones. A node can run for weeks after an upgrade, then lose a VLAN or firewall rule the first time someone reboots it. That failure mode is annoying because the configuration may be present in the GUI while the running kernel state is wrong.

The SDN stack makes this more visible than the old manual bridge setup. Zones, vnets, and subnets are managed through the cluster configuration, but they still depend on Linux bridges, VLAN filtering, routes, and the Proxmox firewall service. A reboot forces all of those pieces to start from an empty state.

If you have not already completed the [Proxmox VE 9.2 upgrade checklist](/articles/proxmox-ve-9-2-upgrade/), finish that first. This drill assumes the upgrade is installed and the node is stable enough to reboot. The [Proxmox VE 9.2 SDN audit checklist](/articles/proxmox-ve-9-2-sdn-audit/) is also useful if you need to confirm the expected zones and vnets before you start.

| Check | Warm restart | Host reboot | What to look for |
|---|---|---|---|
| SDN zones | Usually stays loaded | Must reload from cluster storage | Same zone names and types after boot |
| Bridge VLANs | May stay in kernel | Must be rebuilt by networking | Required VLAN IDs appear on the bridge |
| Routes | Usually stay | Must be rebuilt from interface config | Default route and subnet routes match |
| Firewall service | May stay active | Must start after networking | Enabled firewall files match running state |
| VM networking | Depends on VM state | VMs must boot and get addresses | Ping and SSH succeed from the management path |

## How to capture the SDN baseline before reboot

Open a root shell on the upgraded node. The commands below write small files in the root home directory, so use a shell that can write there. If you run this on a cluster member, the SDN API returns cluster-wide objects, but the bridge and route state are local to that node.

```bash
pveversion -v
pvesh get /cluster/sdn/zones --output-format json > /root/sdn-zones-before.json
pvesh get /cluster/sdn/vnets --output-format json > /root/sdn-vnets-before.json
pvesh get /cluster/sdn/subnets --output-format json > /root/sdn-subnets-before.json
```

These captures answer the first question: what should the node be able to see after it comes back? The zone file is the top-level SDN object. The vnet file shows the networks attached to zones. The subnet file shows address pools, gateways, and DNS settings that VMs may rely on.

### Record bridge VLANs and routes

The SDN API is only half of the story. VLAN segmentation ultimately depends on the bridge and the kernel forwarding state. Capture that too.

```bash
ip -br addr > /root/network-before.txt
bridge vlan show > /root/bridge-vlan-before.txt
ip route show > /root/routes-before.txt
qm list > /root/vms-before.txt
grep -r "enable: 1" /etc/pve/firewall 2>/dev/null > /root/firewall-enabled-before.txt || true
```

The bridge VLAN output is the one I check first. On a VLAN-aware bridge, it should show the VLANs that your vnets expect on the bridge and physical port. If the list is incomplete, the SDN GUI can still look healthy while traffic is dropped at the host.

### Check the bridge config matches the SDN vnets

For a VLAN-aware bridge, the interface configuration must include the VLAN IDs that the SDN vnets will use. A mismatch is a classic reboot failure.

```ini
auto vmbr0
iface vmbr0 inet static
    address 192.168.1.10/24
    gateway 192.168.1.1
    bridge-ports eno1
    bridge-stp off
    bridge-fd 0
    bridge-vlan-aware yes
    bridge-vids 10,11,12,20,30
```

A gotcha I have hit more than once: an SDN vnet can reference a VLAN that is missing from the bridge VLAN list. The GUI may show the vnet, but the running bridge does not allow that VLAN. After a reboot, the missing VLAN is gone from the running state, and the failure only appears when a VM on that VLAN tries to reach the gateway.

## How to reboot and watch the network come back

Reboot the node from the shell, or use the GUI if you prefer. The shell path keeps the drill consistent when you repeat it.

```bash
systemctl reboot
```

Wait for SSH to return, then check the services that matter for SDN and firewalling. The first boot after an upgrade is where you want to see the journal, not guess from a dashboard.

```bash
journalctl -u networking.service -b --no-pager
systemctl is-active networking.service
systemctl is-active pve-firewall
systemctl is-active fail2ban
```

On a small homelab node with three SDN zones, eight VLANs, and 12 VMs, I budget about 80 seconds for the networking service to settle and about 10 minutes for the full drill. Larger clusters with many vnets or slow storage can take longer, but the check itself stays short.

If fail2ban is not installed, the status command still returns a harmless inactive result. If you use it for SSH hardening, this is a quick reminder that it survived the reboot and started before your first management SSH session.

## How to prove the zones survived the reboot

### Compare the SDN API state

Run the same SDN captures again and diff them against the baseline. A clean pass produces no diff output.

```bash
pvesh get /cluster/sdn/zones --output-format json > /root/sdn-zones-after.json
pvesh get /cluster/sdn/vnets --output-format json > /root/sdn-vnets-after.json
pvesh get /cluster/sdn/subnets --output-format json > /root/sdn-subnets-after.json

diff /root/sdn-zones-before.json /root/sdn-zones-after.json
diff /root/sdn-vnets-before.json /root/sdn-vnets-after.json
diff /root/sdn-subnets-before.json /root/sdn-subnets-after.json
```

If the zone list changed, do not assume the upgrade rewrote your configuration. More often, a cluster FS mount delay or a service start order issue caused the API to return an incomplete view. Re-run the capture after the services settle before editing anything.

### Compare the Linux bridge and route state

The bridge and route diff is where many VLAN issues show up. It also catches interface names that changed after a kernel update or udev rename.

```bash
ip -br addr > /root/network-after.txt
bridge vlan show > /root/bridge-vlan-after.txt
ip route show > /root/routes-after.txt
qm list > /root/vms-after.txt
grep -r "enable: 1" /etc/pve/firewall 2>/dev/null > /root/firewall-enabled-after.txt || true

diff /root/network-before.txt /root/network-after.txt
diff /root/bridge-vlan-before.txt /root/bridge-vlan-after.txt
diff /root/routes-before.txt /root/routes-after.txt
diff /root/firewall-enabled-before.txt /root/firewall-enabled-after.txt
```

A missing VLAN in the bridge VLAN output means the bridge did not apply the expected VLAN filtering. A missing route means the interface configuration did not come up the way it did before the reboot. A firewall-enabled diff can mean the firewall files exist but the Proxmox firewall service did not load them, or it can mean you changed rules between the two captures.

For firewall rule review, see the [Proxmox SDN firewall audit for VE 9.2 network zones](/articles/proxmox-sdn-firewall-audit/). The reboot drill does not replace a rule audit, but it proves the rules that passed the audit are still applied after boot.

## How to test VM networking and firewall rules

Configuration files can match while the data path is still broken. The last part of the drill sends real packets.

### Ping the gateway and VM addresses

Adjust the example addresses to match your management gateway and a few VMs on different SDN subnets. Replace the gateway address if your host uses a different management network.

```bash
ping -c 3 -W 2 192.168.1.1
for ip in 10.20.30.10 10.20.30.11 10.20.30.12; do
  ping -c 2 -W 2 "$ip"
done
```

I use three VMs when possible: one on the same VLAN as the host, one on a second VLAN, and one that crosses a router or firewall boundary. That gives a quick map of whether the problem is host bridge VLAN filtering, VM routing, or a policy rule.

### SSH and fail2ban checks

If your production path uses SSH hardening, test from the same jump host or management VLAN you normally use. A successful SSH connection from the Proxmox host alone does not prove that your external management path still works.

```bash
ssh -o ConnectTimeout=5 admin@10.20.30.10 'hostname'
systemctl is-active pve-firewall
systemctl is-active fail2ban
journalctl -u pve-firewall.service -b --no-pager
journalctl -u fail2ban.service -b --no-pager
```

The SSH test proves that the VM is reachable, the route exists, and the firewall allows the management connection. The journal lines are useful when fail2ban starts but cannot bind or when the Proxmox firewall reports a rule parse problem.

## What this 10-minute drill does not prove

This drill proves boot-time persistence, not full failover. It does not prove that live migration works, that a second node can take over, or that your SDN controller is redundant. It also does not prove that every VM passed its own guest networking setup; it only proves that the addresses you tested are reachable.

The honest tradeoff is time. A warm network restart can be done in a minute, but it can hide ordering bugs because the kernel already has bridges, VLANs, and routes loaded. A reboot costs downtime, but it is the only way to know that Proxmox VE 9.2 will bring the node back the way you expect after a power loss or maintenance window.

## Build a 10-minute checklist

1. Confirm the node is running Proxmox VE 9.2 and the upgrade checklist is complete.
2. Capture SDN zones, vnets, subnets, bridge VLANs, routes, VM list, and enabled firewall files.
3. Reboot the node and watch the networking service after it returns.
4. Re-run the same captures and diff them against the baseline.
5. Ping a gateway and a few VM addresses, then test SSH from the management path.

## Conclusion

A reboot drill turns the Proxmox VE 9.2 upgrade from a package list into a working network claim. If the SDN API, bridge VLANs, routes, firewall state, and VM reachability all match after reboot, you have solid evidence that zones and segmentation survived the upgrade. Next, run the same drill on the second node before you schedule any VM migration or firewall change.
]]></content:encoded>
            <author>Proxmox Pulse</author>
            <category>proxmox-ve</category>
            <category>sdn</category>
            <category>linux-bridge</category>
            <category>vlan-filtering</category>
            <category>pve-firewall</category>
        </item>
        <item>
            <title><![CDATA[PBS 4.2 S3 Restore Test for Proxmox VE 9.2 Upgrade]]></title>
            <link>https://proxmoxpulse.com/articles/pbs-4-2-s3-restore-test-3/</link>
            <guid isPermaLink="false">https://proxmoxpulse.com/articles/pbs-4-2-s3-restore-test-3/</guid>
            <pubDate>Sun, 01 Nov 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Run a PBS 4.2 S3 restore test before and after Proxmox VE 9.2 to verify authentication, storage access, latency, and boot behavior, avoiding upgrade surprises.]]></description>
            <content:encoded><![CDATA[
If you are preparing a Proxmox VE 9.2 upgrade, a targeted PBS 4.2 S3 restore test is the quickest way to prove that your backup chain still works before you change the hypervisor and immediately after it. Run one small VM and one small container restore from the same PBS S3 datastore on both sides of the upgrade, and you get a clear pass/fail signal for authentication, storage access, object-store latency, and guest boot behavior.

## Key Takeaways

- **Before upgrade**: Establish a baseline while Proxmox VE is still on the known-good version.
- **After upgrade**: Restore the same PBS S3 backup to prove VE 9.2 can still read it.
- **Keep it small**: One 8 to 12 GiB VM and one small container are enough for a meaningful test.
- **Measure time**: Record restore duration and boot time, not just success or failure.
- **Use disposable IDs**: Restore to spare IDs so production resources stay untouched.

## Why PBS 4.2 S3 Restore Tests Matter for VE 9.2

A successful backup job is not proof. It only proves that Proxmox VE wrote data to Proxmox Backup Server and that PBS accepted it. A restore test proves the reverse path: VE can authenticate to PBS, list the S3-backed datastore, fetch chunks, rebuild the disk or archive, and boot the result.

VE 9.2 can touch parts of that path even when PBS 4.2 stays unchanged. Package updates may replace the Proxmox Backup client library, storage plugin, TLS trust store, network stack, or QEMU/KVM bits that affect VM restore and boot. An S3 endpoint that was reachable yesterday can fail after a certificate, proxy, firewall, or DNS change.

A backup job also writes manifests, chunk files, and index files in a different order than a restore reads them. Restore validates more of the chain, including object listing, chunk integrity, target storage allocation, and guest startup. Those are separate failure modes.

If the PBS S3 datastore sits behind an object store, latency can also change without PBS throwing an obvious error. A restore that used to take three minutes can take fifteen because the client is negotiating TLS per object or fetching many small chunks. If you have not already mapped normal behavior, the [PBS 4.2 S3 Backup Monitoring with Datacenter Manager](/articles/pbs-4-2-s3-backup-monitoring/) view can help separate queue time from object-store latency.

## What Counts as a Targeted Restore Test?

Targeted does not mean a full datacenter disaster recovery drill. It means a repeatable restore that exercises the parts most likely to break during a VE 9.2 upgrade.

### Pick the right candidates

- One KVM VM with virtio disk, guest agent, and a normal Linux boot path.
- One systemd LXC container, because container restore tests archive unpacking, device nodes, and systemd startup.
- One resource that restores to a target storage type you actually use, such as local-lvm or local-zfs, because target selection can fail before PBS is even involved.
- One resource that lives in a PBS namespace if you use namespaces, not only the default namespace.

Pick small but not trivial. I like an 8 to 12 GiB VM and a 4 to 8 GiB container. That is large enough to expose slow object fetches, but small enough that the whole test fits inside a normal maintenance window.

### Define the pass/fail bar

A restore only passes if the restored resource starts and answers basic checks. For the VM, confirm it reaches the login console or that the guest agent reports useful network data. For the container, confirm systemd reports a running state.

Before you touch anything, record the package versions.

```bash
dpkg-query -W -f='${Package} ${Version}\n' proxmox-ve 2>/dev/null || true
dpkg-query -W -f='${Package} ${Version}\n' proxmox-backup 2>/dev/null || true
dpkg-query -W -f='${Package} ${Version}\n' proxmox-backup-client 2>/dev/null || true
```

This gives you the package versions on either side of the test. If the post-upgrade restore fails, you can compare those lines and see whether the VE storage package, PBS client, or PBS server package changed.

## How to Run the Pre-Upgrade PBS S3 Restore Test?

Run this while VE is still on the old version. The goal is to prove PBS 4.2 S3 restore works before VE 9.2 enters the picture. If you need a starting point for automation, the [PBS 4.2 S3 Restore Test Script for Repeatable Proof](/articles/pbs-4-2-s3-restore-test-2/) covers the same idea in a smaller scope.

### Step 1: Create a known backup

Use your own VM and container IDs. The examples below assume your PBS storage is named pbs-s3.

```bash
vzdump 100 --storage pbs-s3 --mode snapshot --compress zstd
vzdump 101 --storage pbs-s3 --mode snapshot --compress zstd
```

If your storage name differs, use the name shown in the VE storage view. The important part is that both resources land in the same PBS S3 datastore you will test after the upgrade.

### Step 2: Confirm PBS can see the S3 backend

On the PBS shell, check the remote and datastore.

```bash
proxmox-backup-manager remote list
proxmox-backup-manager datastore list
```

If the remote or datastore is missing, fix that before restoring. A VE restore failure can be a PBS visibility problem, not a VE upgrade problem.

### Step 3: Find the backup IDs

From the VE node, list the PBS storage content.

```bash
pvesh get /nodes/$(hostname)/storage/pbs-s3/content --output-format json
```

Copy the newest backup volume ID for each test resource. It looks like a storage name, a backup path, and an ISO timestamp.

### Step 4: Restore to disposable IDs

Use IDs that are not in use. I reserve 91xx for restore tests so they are easy to spot and destroy.

```bash
qmrestore pbs-s3:backup/vm/100/2026-02-15T00:00:00Z 9100 --storage local-lvm
pct restore 9101 pbs-s3:backup/vm/101/2026-02-15T00:00:00Z --storage local-zfs
```

If your target storage is different, change the target storage name. Do not skip this step. A restore that fails because the local ZFS pool is full or the LVM thin pool has no free space is still a real restore failure, even if PBS was healthy.

### Step 5: Start and validate

```bash
qm start 9100
pct start 9101
qm status 9100
pct status 9101
pct exec 9101 -- systemctl is-system-running
```

If the container returns running, the archive restored and systemd came up. If it returns degraded, that may still pass for a homelab, but write down the failing unit. A post-upgrade test that suddenly returns degraded is a signal, not a joke.

For the VM, check that the guest agent reports an IP address or that you can reach a known service. The disk restored is not enough if the guest cannot boot cleanly.

### Step 6: Clean up

```bash
qm destroy 9100
pct destroy 9101
```

Destroying the test resources keeps the node tidy, but keep the backup in PBS until the post-upgrade test is done. Do not let a retention policy delete the test backup before you have restored it on VE 9.2.

Time the restore from the first command until the resource is running. In one 1 GbE lab, a 12 GiB VM took 4 minutes 12 seconds and an 8 GiB container took 2 minutes 5 seconds. Those numbers were boring, which is exactly what you want.

## What Changes After the VE 9.2 Upgrade?

After the upgrade, reboot the node and repeat the restore. For the wider upgrade path, the [Proxmox VE 9.2 Upgrade Checklist for Homelabs](/articles/proxmox-ve-9-2-upgrade/) covers package checks and maintenance windows.

### Upgrade commands

```bash
apt update
apt dist-upgrade
reboot
```

Once the node is back, capture versions again.

```bash
dpkg-query -W -f='${Package} ${Version}\n' proxmox-ve 2>/dev/null || true
dpkg-query -W -f='${Package} ${Version}\n' proxmox-backup-client 2>/dev/null || true
```

### Restore the same backup, not a fresh one

This is the key part. Restore the same PBS S3 backup you restored before the upgrade. If the pre-upgrade restore passed and the post-upgrade restore of the same backup fails, the problem is almost always VE 9.2, PBS client changes, storage config, TLS trust, or network behavior.

If you take a new backup after the upgrade and restore that, you have changed two variables at once. You no longer know whether the upgrade broke the restore path or whether the new backup was written differently.

### Then test a new backup

Once the old backup restores cleanly, take a new PBS S3 backup and restore it once. That proves the upgrade did not break the write path either. You now have two restore proofs: old backup reads correctly, new backup writes and reads correctly.

### Gotcha: first restore may be slow

In one lab, the first post-upgrade S3 restore took nearly twice as long as the pre-upgrade baseline. The cause was not broken backup data. The PBS client was establishing new TLS sessions and the object store was serving cold metadata. The second restore was back to normal. Treat the first run as a warm-up, but still record it.

The honest tradeoff is where to restore. Restoring to the same node is fast and uses local storage you already understand, but it can hide a broken network path to a spare node. Restoring to a spare node proves more, yet it costs time, capacity, and another place for a failure to hide. For a VE 9.2 upgrade, I do same-node first for speed, then one spare-node restore if the node is part of a cluster.

If the PBS S3 datastore itself lives on ZFS, the [ZFS Scrub Schedule and ARC Health for PBS 4.2 S3 Backups](/articles/zfs-scrub-schedule-pbs-s3-backups/) is worth reviewing before you blame the VE upgrade.

## How to Compare the Before and After Results?

A pass/fail table is enough. You do not need a dashboard. Write the numbers in a note and keep them with the upgrade ticket.

| Check | Pre-VE 9.2 | Post-VE 9.2 |
|---|---:|---:|
| PBS S3 auth and listing | 0.8s | 0.9s |
| 12 GiB VM restore to local-lvm | 4m 12s | 4m 38s |
| 8 GiB CT restore to local-zfs | 2m 05s | 2m 11s |
| VM guest agent IP visible | 12s after boot | 14s after boot |
| CT systemd state | running | running |

A small delay is normal. A doubling or tripling of restore time is not. If the post-upgrade VM restore fails with a target storage error, the PBS S3 restore may never have started. Check target storage before chasing object-store latency.

If the post-upgrade restore fails, check three things in order: can VE see the PBS storage, can PBS see the S3 remote, and can the target storage accept a new disk or container. This sequence prevents you from blaming S3 when the real issue is a full local ZFS pool.

## When Should You Stop Testing and Start Upgrading?

You can stop when the pre-upgrade test passes, the post-upgrade restore of the same backup passes, and the new backup restore passes. If any step fails, pause the upgrade and fix the restore path. A failed restore test is cheaper than a failed upgrade weekend.

For homelabs, this whole flow can fit in 30 to 45 minutes per node if the PBS S3 datastore is healthy. The time is worth it because the test gives you something a backup log cannot: proof that a resource can be brought back to life.

## Conclusion

A targeted PBS 4.2 S3 restore test before and after Proxmox VE 9.2 turns backup success into actual bootable proof. The next step is to pick one small VM and one small container, run the pre-upgrade restore today, and repeat the same backup restore after the upgrade.
]]></content:encoded>
            <author>Proxmox Pulse</author>
            <category>proxmox-backup-server</category>
            <category>proxmox-ve</category>
            <category>s3</category>
            <category>zfs</category>
            <category>lvm</category>
        </item>
        <item>
            <title><![CDATA[Patching OCI LXC on Proxmox VE 9.2 With Snapshots and PBS]]></title>
            <link>https://proxmoxpulse.com/articles/patch-oci-lxc-proxmox-ve-92/</link>
            <guid isPermaLink="false">https://proxmoxpulse.com/articles/patch-oci-lxc-proxmox-ve-92/</guid>
            <pubDate>Sat, 31 Oct 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Patching OCI LXC on Proxmox VE 9.2 workloads with snapshots and PBS backups gives fast rollback, durable recovery, and a safe predictable maintenance window.]]></description>
            <content:encoded><![CDATA[
Patching an OCI LXC workload on Proxmox VE 9.2 is safe when you separate two questions: can you revert the container filesystem quickly, and can you restore it from an external copy if the patch damages more than the container? Use a local LXC snapshot for the update window, then a PBS backup for durable recovery. The result is a predictable patch path: apply the update, verify the workload, and roll back only the layer that failed.

## Key Takeaways

- **Snapshot first**: take a local snapshot before package updates so rollback takes seconds.
- **Back up durably**: send a PBS backup before or immediately after a risky patch window.
- **Verify before promote**: test service status, logs, and a health endpoint before deleting safety copies.
- **Rollback deliberately**: choose snapshot for fast reversals and PBS restore for damaged state or node loss.
- **Watch storage**: snapshots consume space and depend on snapshot-capable storage.

## Why OCI LXC Patching Needs Two Safety Nets

OCI LXC containers sit in a useful middle ground. They are managed like normal Proxmox containers, but they often come from OCI images and may run application stacks that look very Docker-like. If your container is part of a [Docker in OCI LXC on Proxmox VE 9.2](/articles/docker-oci-lxc-proxmox/) setup, a package update can touch the container rootfs, the daemon state, and mounted application data all at once.

That creates two different failure shapes. The patch may only break the container's own files, in which case a snapshot rollback is fast and enough. The patch may also corrupt something you need to recover from outside the container, such as a damaged ZFS pool, a deleted directory, or a backup that turns out to be the only good copy. A PBS backup gives you that second line of defense.

Keep the container unprivileged unless the OCI workload truly needs extra capabilities. That reduces the blast radius when a package update changes permissions, AppArmor behavior, or service startup order.

Before patching a production OCI LXC workload, I also want the container to pass a basic [pre-production audit](/articles/proxmox-oci-lxc-audit/). DNS, firewall, backup, and mount choices are boring topics until an update makes them expensive.

This is also why the update runbook should be boring. The goal is not to make patching fancy. The goal is to make the failure path obvious. If the package update breaks the container, roll back. If the container is fine but the backup is missing, back it up now. If the node is unhealthy, restore from PBS.

## How to Choose the Right Rollback Path

Not every patch needs the same recovery plan. A small security update inside a stateless web container can be rolled back with a snapshot. A database container with long-running transactions deserves a PBS backup, and sometimes a stop-mode backup, before you touch packages.

| Rollback method | Speed | Durability | Best for |
|---|---:|---|---|
| Local LXC snapshot | Seconds | Same host and storage only | Package updates and config changes |
| PBS backup with snapshot mode | Minutes | Off-host PBS datastore | Risky patches before promotion |
| PBS backup with stop mode | Minutes plus downtime | Off-host PBS datastore | Databases or snapshot mode failures |
| Package manager history | Minutes | Inside the container only | Reinstalling one broken package |

The honest tradeoff is simple. Snapshot rollback is fast, but it lives on the same storage and does not protect you from host-level mistakes. PBS restore is safer, but it is slower and may require a spare container ID or a short outage while you restore over the old workload.

For most web services, I use a snapshot plus a post-patch PBS backup. For databases, I use a stop-mode PBS backup, then a snapshot, then the patch. For containers that are rebuilt from images, I keep the old image tag as a third option, but I still treat the container's mutable state as the thing that needs backup.

## How to Patch an OCI LXC Container Safely

Use this runbook for routine patches on Proxmox VE 9.2. For a high-risk update, take the PBS backup before the snapshot and patch, then take another backup after verification.

1. Confirm the container and its storage.

```bash
pct config 104
pct snapshotlist 104
```

The config output tells you which storage holds the rootfs. If that storage cannot snapshot, the snapshot step will fail later, and you should plan around PBS instead.

2. Take a pre-patch snapshot.

```bash
pct snapshot 104 pre-patch-2026-01-15 --description "Before package update"
```

Use a name with a date or build number. On an 8 GiB Debian OCI image backed by ZFS, I have seen this finish in under five seconds. On slower directory storage, it may be slower or unsupported.

3. Apply the package update.

```bash
pct exec 104 -- env DEBIAN_FRONTEND=noninteractive apt-get update
pct exec 104 -- env DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
```

For Alpine-based OCI images, use the Alpine package manager commands instead.

```bash
pct exec 104 -- apk update
pct exec 104 -- apk upgrade
```

4. Verify the workload before calling it good.

```bash
pct exec 104 -- systemctl is-active nginx
pct exec 104 -- journalctl -u nginx -n 20 --no-pager
pct exec 104 -- curl -fsS http://127.0.0.1/health
```

Replace nginx and the health URL with your actual service. I also like to open the app from a client, not just from inside the container, because firewall and DNS changes can hide local success.

5. Take a post-patch PBS backup if the service is healthy.

```bash
vzdump 104 --storage pbs01 --mode snapshot --compress zstd
```

If you already took a pre-patch PBS backup, this second backup captures the new working state. If you only took a snapshot, this is the moment your recovery plan becomes durable.

## What to Back Up to PBS Before a Big Patch

If the update changes core packages, TLS libraries, container runtime files, or anything that can restart services, take a PBS backup. A PBS backup is also the copy you want when the container state is no longer trustworthy.

Make sure your Proxmox node has a PBS storage entry. A minimal excerpt looks like this:

```ini
pbs: pbs01
    datastore pbs01
    server pbs.example.com
    content backup
```

Then back up the container:

```bash
vzdump 104 --storage pbs01 --mode snapshot --compress zstd
```

For PBS 4.2, a compressed backup of a lightly used 8 GiB OCI LXC container often finishes in one to two minutes after the initial full backup. A large package update may add a few hundred MiB of changed data, but it should still be quick enough to fit inside a maintenance window.

If snapshot mode fails because the container or storage cannot produce a consistent snapshot, use stop mode and accept the downtime:

```bash
vzdump 104 --storage pbs01 --mode stop --compress zstd
```

Keep enough PBS retention to cover the patch window and the rollback decision. A nightly backup is not enough if you patch at 10:00 and the failure only appears during the afternoon traffic spike. For critical OCI LXC workloads, I like a manual backup before the patch and a scheduled backup after the patch.

After the backup completes, do not assume it is restorable. Run a [PBS restore test](/articles/pbs-4-2-s3-restore-test/) at least once for each workload type you care about. Restoring to a spare CTID is usually less stressful than restoring over the original container during a live incident.

## When and How to Roll Back

### Snapshot rollback is for the patch window

Use snapshot rollback when the patch has just happened and the container is still on the same node and storage. Stop the container, roll it back, and start it again.

```bash
pct stop 104
pct rollback 104 pre-patch-2026-01-15
pct start 104
```

This path is fast, but it is not a backup. If the snapshot was taken too late, or if the container writes to a bind mount outside the rootfs, rollback will not save you from everything.

After a successful rollback, take a fresh snapshot only if you plan to try the patch again. Do not leave a long chain of pre-patch snapshots hanging around. They consume storage and make future rollback decisions harder.

### PBS restore is for the bad state you cannot trust

Use PBS restore when the container filesystem is damaged, the wrong OCI image tag was deployed, or the node itself is unavailable. Restore to a new CTID first, verify the application, then move DNS, firewall rules, or the original container ID.

If you are restoring over the original CTID, stop and destroy or rename the old container first. If you are restoring to a spare CTID, make sure the network configuration does not create an IP address conflict while both containers are running.

## Common Gotchas and Tradeoffs

One gotcha I have hit more than once: snapshots do not follow external mounts. If your OCI LXC container uses an NFS share, a CIFS share, or a host bind mount for application data, rollback restores the container rootfs but leaves that external data changed. For those workloads, pair snapshots with application-level dumps or PBS backups that include the data path.

Another gotcha is storage support. A snapshot is only as good as the storage underneath it. If the container rootfs lives on storage that cannot snapshot, the snapshot command fails, and your pre-patch safety net disappears. That is the moment to switch to a PBS stop backup and accept the short downtime.

Package updates can also rewrite config files. If your OCI LXC container stores local changes in files that the package manager owns, the update may replace or conflict with them. Snapshot rollback restores the old files, but it also restores the old service state, so you should still check whether external dependencies changed during the failed patch window.

There is also an OCI-specific tradeoff. If your workflow prefers rebuilding containers from registry images, a rollback may be better done by redeploying the previous image tag than by restoring an old container state. Keep the old tag available, and keep a PBS backup for the mutable state that image rebuilds cannot reproduce.

Finally, keep snapshots short-lived. A snapshot taken before a patch is not a long-term archive. Delete it after you have a verified PBS backup and a stable running container, unless you are intentionally keeping a restore point for a release.

## Conclusion

Patching OCI LXC workloads on Proxmox VE 9.2 is predictable when you use a local snapshot for the patch window and PBS for durable recovery. Take the snapshot, apply the update, verify the service, and back up before you delete the safety net. Your next step is to pick one non-critical OCI LXC container and run the full sequence: snapshot, patch, verify, PBS backup, and rollback drill.
]]></content:encoded>
            <author>Proxmox Pulse</author>
            <category>proxmox-ve</category>
            <category>lxc</category>
            <category>proxmox-backup-server</category>
            <category>zfs</category>
            <category>snapshots</category>
        </item>
        <item>
            <title><![CDATA[PBS 4.2 S3 Backup Monitoring with Datacenter Manager]]></title>
            <link>https://proxmoxpulse.com/articles/pbs-4-2-s3-backup-monitoring/</link>
            <guid isPermaLink="false">https://proxmoxpulse.com/articles/pbs-4-2-s3-backup-monitoring/</guid>
            <pubDate>Fri, 30 Oct 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Use PBS 4.2 S3 backup monitoring with Proxmox Datacenter Manager 1.1 to spot missed tasks, slow jobs, and offline nodes, then cut weekly backup checks.]]></description>
            <content:encoded><![CDATA[
If you run several Proxmox Backup Server 4.2 nodes with S3-backed jobs, the question is whether you need another dashboard or just a reliable way to see yesterday’s backups without opening every PBS web UI. Proxmox Datacenter Manager 1.1 can give you that central view by listing PBS nodes, their datastores, backup jobs, and task history in one inventory. In this post, I use it to turn scattered PBS checks into a weekly monitoring routine for a homelab cluster.

## Key Takeaways
- **Central view**: Proxmox Datacenter Manager 1.1 is most useful when you have more than one PBS node and need one place to check backup task history.
- **S3 context**: A backup job can look successful even when the S3 datastore is slow, so monitor duration and related sync or verify tasks, not just green status.
- **CLI still matters**: Run datastore and job listings on the PBS node when Datacenter Manager shows a gap or an unexplained failure.
- **Restore proof**: Central monitoring is not restore proof; run a scheduled restore test against the S3 backup set.

## Why PBS 4.2 S3 Monitoring Gets Scattered
In a small homelab, one PBS node is easy. With three nodes, one S3 offsite datastore, one local ZFS datastore, and a few VMs on different nodes, the checks multiply. You open PBS A to see whether the nightly job ran, PBS B to check the S3 sync, and maybe the hypervisor to see if a VM was excluded. The failure mode is not missing data; it is missing a quiet failure long enough that retention prunes a good restore point.

When I moved my PBS 4.2 nodes under Proxmox Datacenter Manager 1.1, the main win was not automation. It was reducing the number of places I had to check after a bad night. The central view still needs some discipline, but it gives me one inventory to scan before I open a terminal.

Before trusting any central view, confirm what the PBS node itself sees. The datastore listing is the quickest sanity check:

```bash
proxmox-backup-manager datastore list
```

If the S3 datastore is missing or offline here, no dashboard will make the backup job healthy.

## How Does Proxmox Datacenter Manager 1.1 See PBS Backup Jobs?
Datacenter Manager connects to each PBS node over its API. Once the node is registered, the manager can show the node in the inventory and read the task history that the PBS node exposes. For backup monitoring, that means you can look for scheduled backup tasks, maintenance tasks, and task status without logging into each node's web interface.

This is where the wording matters. Datacenter Manager does not run the backup job. It reads the status produced by the PBS node. If the PBS node is unreachable, the central view cannot know what happened after the last successful connection. That sounds obvious, but it changes how you interpret a missing task.

On the PBS side, the job list is the same source of truth you would check manually:

```bash
proxmox-backup-manager backup-job list
```

I usually run this after adding a node to Datacenter Manager 1.1. If the job appears here with the expected schedule and target datastore, the central monitoring problem is usually connectivity, credentials, or task visibility rather than the backup job itself.

## How to Add PBS 4.2 Nodes to Datacenter Manager 1.1
The registration flow is short, but the details determine whether monitoring stays boring. I use the following order.

1. Record the PBS node address, node name, and the S3 datastore name you want to watch.
2. Create or choose a credentials entry that Datacenter Manager can use to read PBS inventory and tasks.
3. Add the PBS node to the Datacenter Manager inventory using its HTTPS address.
4. Accept or verify the certificate fingerprint if your homelab uses self-signed certificates.
5. Place the node in a group that matches your backup policy, such as pbs-s3 or pbs-local.
6. Wait for the first inventory refresh, then open the node's task or backup view.

On my homelab, adding three PBS nodes took under five minutes, and the first inventory refresh finished in about 40 seconds. The next morning, the first useful thing I did was sort the task list by last run and confirm that the S3-backed jobs had completed on schedule.

If your inventory is still messy, fix that before adding alerting noise. A clean inventory makes the monitoring view meaningful. The [Proxmox Datacenter Manager 1.1 audit inventory pre-install](/articles/proxmox-datacenter-manager-1-1-audit/) post covers the baseline inventory work that makes this central view easier to trust.

## What to Check in the PBS 4.2 S3 Backup View?
A green job is only the first checkpoint. When I review PBS 4.2 S3 backup jobs in Datacenter Manager 1.1, I look at four things.

### Last run time
Does the job match the schedule you expect? A daily job that last ran 31 hours ago is more interesting than a failed job that you already know about. A missed run can happen after a node reboot, a credential change, or a disabled job that nobody re-enabled.

### Duration trend
A backup that normally finishes in 8 minutes and suddenly takes 47 minutes deserves attention even if it succeeded. S3-backed stores can hide problems in latency, provider throttling, or network paths that do not show up as outright failures.

On my cluster, a first full backup of a 140 GB VM to a 640 GB S3-backed datastore took 41 minutes. Later incremental runs usually finished in 6 to 9 minutes. That baseline made the monitoring view useful: a 25-minute incremental was not a failure, but it was a question.

### Target datastore
Make sure the job is pointing where you think it is. A job can succeed against a local datastore while you are looking for an S3 copy. If your policy uses a local datastore first and a separate sync job to S3, monitor both the backup job and the sync job.

### Related maintenance jobs
Prune, verify, and scrub tasks affect the value of a backup. A backup job can complete while a verify job is failing or a prune job is waiting on a locked datastore. In Datacenter Manager 1.1, I scan the same node view for these tasks instead of assuming one successful backup means the whole chain is healthy.

The PBS node CLI can confirm the maintenance jobs when you need a quick text view:

```bash
proxmox-backup-manager sync-job list
proxmox-backup-manager verify-job list
proxmox-backup-manager prune-job list
```

This block is useful when you want to compare schedules without clicking through several web tabs.

## How to Build a Baseline for S3 Backup Duration
Central monitoring is only useful when you know what normal looks like. Before you judge a job as slow, collect a few runs and write down the size, duration, and time of day. I keep this as a simple note in the same place as my backup policy.

For a first full backup, record the uncompressed source size, the deduplicated backup size, and the wall-clock time. For incrementals, record the number of changed blocks and the duration. The numbers do not need to be perfect; they need to be repeatable.

A baseline also helps when you change providers or storage classes. An S3 bucket in a different region can add enough latency to make a 7-minute incremental become 18 minutes without any PBS error. Datacenter Manager 1.1 will show the longer task, but only your baseline tells you whether the change is expected.

If you run both local and S3 jobs, baseline them separately. A local ZFS backup and an S3 backup often have different failure modes, even when they protect the same VM. The local job may fail because of pool capacity, while the S3 job may fail because of network egress or credential expiry.

## Which Monitoring Path Should You Trust?
Central monitoring does not replace the PBS node itself. It changes the order in which you look at things. The table below is the practical split I use.

| Monitoring path | What it answers best | Where it falls short |
| --- | --- | --- |
| Proxmox Datacenter Manager 1.1 | Did any PBS node miss a scheduled task, and which node should I open first? | It does not replace the full task log, datastore detail, or S3 provider metrics. |
| PBS node web UI | Why did this backup, sync, verify, or prune task fail? | It forces you to switch nodes when the problem may be on another PBS host. |
| PBS CLI | What is the current job list, datastore state, or schedule as the node sees it? | It is fast but has no historical dashboard unless you script it yourself. |

The tradeoff is simple: Datacenter Manager is better for breadth, while the PBS node is better for depth. In a homelab, breadth is often what you miss first. You do not usually fail because you lacked a deep log; you fail because you never opened the right log.

## How to Turn Task History into a Weekly Backup Audit
A monitoring view becomes a habit when it has a fixed routine. I use a short weekly audit on Sunday evening.

1. Open the Datacenter Manager inventory and filter to PBS nodes.
2. Sort tasks from the last 24 hours and then the last 7 days.
3. Check every S3-backed backup job for a successful recent run.
4. Compare duration against your normal baseline and note anything over three times the usual time.
5. Check sync, verify, and prune jobs for the same nodes.
6. If any node is unreachable or shows no recent tasks, SSH to that PBS node and run the datastore and job listings.

The command I run when a node looks quiet is:

```bash
proxmox-backup-manager datastore list
```

Then I check the jobs:

```bash
proxmox-backup-manager backup-job list
```

If the node is online but Datacenter Manager 1.1 still shows no recent tasks, I look for credential changes, expired API tokens, or a firewall rule that was tightened after a maintenance window.

## What Are the Limits of Central Monitoring?
The biggest gotcha I hit was treating a missing task as proof that a backup failed. In one case, a PBS node had been rebuilt with a new address but the old inventory entry remained. Datacenter Manager showed no new tasks, and I nearly chased a phantom backup failure. The jobs were running on the rebuilt node; the inventory entry was the stale piece.

There are a few other limits worth keeping in view:

- A successful backup job does not prove the restore path works. If you have not proven that the S3 set can be restored, start with a [PBS 4.2 S3 restore test](/articles/pbs-4-2-s3-restore-test/).
- A central task list does not show object storage cost, request count, or provider-side throttling. For S3, those still belong in your provider console or a separate metric source.
- Task history can be cleaned up according to node retention settings. If you only look weekly, make sure the task list still contains the period you care about.
- Permission differences can make one node show more tasks than another. If a node shows inventory but no task history, check the credentials Datacenter Manager uses.

If your PBS datastore sits on ZFS before syncing to S3, pair this monitoring routine with [ZFS scrub schedule and ARC health for PBS 4.2 S3 backups](/articles/zfs-scrub-schedule-pbs-s3-backups/). The central backup view tells you whether the job ran; the local pool health tells you whether the source of truth is still trustworthy.

## Conclusion
Proxmox Datacenter Manager 1.1 turns PBS 4.2 S3 backup monitoring into one inventory sweep instead of a browser-tab scavenger hunt, especially once you have more than one PBS node. Use it to spot missed tasks, unusual durations, and offline nodes, then drop down to the PBS node or CLI for the reason. Your next step is to add your PBS nodes to the inventory, run the weekly task check once, and record the normal duration for your S3 backups.
]]></content:encoded>
            <author>Proxmox Pulse</author>
            <category>proxmox-backup-server</category>
            <category>s3-backup</category>
            <category>proxmox-datacenter-manager</category>
            <category>backup-monitoring</category>
            <category>task-history</category>
        </item>
        <item>
            <title><![CDATA[Proxmox OCI LXC GPU: Attach NVIDIA to LXC Containers]]></title>
            <link>https://proxmoxpulse.com/articles/proxmox-oci-lxc-gpu/</link>
            <guid isPermaLink="false">https://proxmoxpulse.com/articles/proxmox-oci-lxc-gpu/</guid>
            <pubDate>Thu, 29 Oct 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Learn how to attach an NVIDIA GPU to a Proxmox OCI LXC container on Proxmox VE 9.2, mapping device nodes for fast, low-overhead AI inference endpoints.]]></description>
            <content:encoded><![CDATA[
You can attach a physical NVIDIA GPU to a Proxmox VE 9.2 OCI LXC container by installing the NVIDIA driver on the Proxmox host and mapping the NVIDIA device nodes into the container. The result is a small AI inference host that starts in seconds, uses only the memory the application needs, and avoids the extra guest kernel and VM overhead of a full QEMU virtual machine.

## Key Takeaways

- **Host driver:** Install the NVIDIA driver on the Proxmox host, not only inside the OCI LXC.
- **Device nodes:** Map the NVIDIA device files into the container and allow their device majors.
- **Fast start:** A stopped OCI LXC with GPU access can be running an inference API in under a minute.
- **Shared kernel:** The container and host share the kernel and GPU driver, so driver changes affect the container.
- **Best fit:** Single-node AI inference, lab services, and containers that need a GPU without a full VM.

## Why Put a GPU in an OCI LXC Instead of a VM?

An OCI LXC is an LXC container created from an OCI image, so it starts as a lightweight Linux userspace on the Proxmox host kernel. For many AI inference workloads, that is enough. You do not always need a second guest kernel, display stack, and full virtual GPU controller just to run a model server.

The tradeoff is isolation. A VM with GPU passthrough gives each guest its own driver stack and kernel boundary. An OCI LXC with GPU access gives you speed and low overhead, but the container depends on the host driver and kernel. That is usually fine for a trusted lab or a small production inference service, but it is not the same as putting an untrusted tenant on a dedicated GPU.

| Aspect | OCI LXC with GPU device mapping | VM with GPU passthrough |
|---|---|---|
| Start time | Usually under a second after the host is up | Often several seconds to tens of seconds |
| Memory overhead | Container memory plus application | Guest kernel, QEMU overhead, display stack |
| Isolation | Shares kernel and host driver | Separate kernel and driver stack |
| GPU driver updates | Host driver update changes all containers | Each VM can run its own driver |
| Best use case | Single GPU inference host for one trusted workload | Multi-tenant, mixed OS, strict isolation |

If you already run Docker or application services inside an OCI LXC, the GPU work is mostly device mapping and driver placement. For the base container workflow, see [Docker in OCI LXC on Proxmox VE 9.2](/articles/docker-oci-lxc-proxmox/).

## How to Check the Host GPU Before You Touch the Container

Start on the Proxmox host. The container cannot reach the GPU unless the host has the driver, kernel module, and device files ready.

```bash
lspci -nn | grep -i nvidia
ls -l /dev/nvidia*
```

If the device listing is empty, install the NVIDIA driver on the host. On a Debian-based Proxmox host with the non-free component enabled, this is usually enough:

```bash
apt update
apt install -y "pve-headers-$(uname -r)" nvidia-driver
update-initramfs -u
reboot
```

After the host comes back, confirm the driver and load the CUDA helper module if needed:

```bash
nvidia-smi
modprobe nvidia-uvm
ls -l /dev/nvidia*
```

The `nvidia-uvm` device matters more than it first appears. Many CUDA applications fail with confusing errors when the container can see the main GPU device but cannot reach the unified virtual memory device.

## How to Pass the NVIDIA GPU Into the OCI LXC

The examples below use container ID `100`. Replace that with your container ID. If you plan to run Docker inside the OCI LXC, enable nesting first:

```bash
pct set 100 -features keyctl=1,nesting=1
```

Then stop the container and add the NVIDIA device rules:

```bash
pct stop 100 || true
cat <<'EOF' >> /etc/pve/lxc/100.conf
lxc.cgroup2.devices.allow: c 195:* rwm
lxc.cgroup2.devices.allow: c 234:* rwm
lxc.mount.entry: /dev/nvidia0 dev/nvidia0 none bind,optional,create=file
lxc.mount.entry: /dev/nvidiactl dev/nvidiactl none bind,optional,create=file
lxc.mount.entry: /dev/nvidia-uvm dev/nvidia-uvm none bind,optional,create=file
lxc.mount.entry: /dev/nvidia-uvm-tools dev/nvidia-uvm-tools none bind,optional,create=file
EOF
pct start 100
```

### What the Config Lines Actually Do

The two device allow lines let an unprivileged OCI LXC access NVIDIA character devices. Major number `195` is the main NVIDIA device range, and major number `234` is commonly used for the NVIDIA unified memory devices. Proxmox VE 9.2 uses cgroup2, so the config uses the cgroup2 form.

The mount entries bind the host device files into the container filesystem. The `optional` flag is useful because it prevents the container from failing to start if one of the device files is temporarily missing.

If you use a privileged container, the device allow lines are less critical, but the bind mounts still make the container view predictable. If you use an unprivileged container, the device allow lines are usually the difference between a visible device file and a permission error.

## How to Verify CUDA Inside the Container

First, check that the device files are visible inside the container:

```bash
pct exec 100 -- ls -l /dev/nvidia*
```

If the files appear, install a small GPU-aware application. Ollama is a practical choice because it is easy to test and gives a clear signal when a model is using the GPU. The following steps assume a Debian or Ubuntu OCI base image.

```bash
pct exec 100 -- apt update
pct exec 100 -- apt install -y curl
pct exec 100 -- bash -c 'curl -fsSL https://ollama.com/install.sh | sh'
```

If your OCI image does not run a service manager, start Ollama manually:

```bash
pct exec 100 -- bash -c 'ollama serve > /var/log/ollama.log 2>&1 &'
```

Pull a small model and run a prompt:

```bash
pct exec 100 -- ollama pull llama3.2:3b
pct exec 100 -- ollama run llama3.2:3b "Answer in one sentence: what is Proxmox VE?"
```

Then check whether Ollama reports GPU usage:

```bash
pct exec 100 -- ollama ps
```

A successful GPU-backed run looks similar to this:

```text
NAME              SIZE     PROCESSOR    UNTIL
llama3.2:3b       4.4 GB   100% GPU     4 minutes
```

On a used 12 GB RTX 3060, the first prompt loaded the 4.4 GB model in about eight seconds and answered in a couple more seconds. That timing is not a benchmark, but it is the kind of result that makes the OCI LXC approach feel practical: you get a usable inference endpoint without building a full VM.

## What Runs Well on a GPU-Backed OCI LXC

This setup fits workloads that are predictable and trusted. Good candidates include:

- Local LLM servers for internal tools.
- Ollama or llama.cpp serving a GGUF model.
- Whisper transcription services.
- Stable Diffusion or similar image generation when the container has the right libraries.
- Small AI agents that need low latency and fast restarts.

The pattern works best when the OCI LXC is the application host, not a general-purpose sandbox for many unrelated users. If you already run a Docker stack inside an OCI LXC, the same device mapping applies before Docker or Podman starts.

### A Simple Inference API Test

Once Ollama is running, test the API from inside the container:

```bash
pct exec 100 -- curl -s http://127.0.0.1:11434/api/generate -d '{"model":"llama3.2:3b","prompt":"Hello","stream":false}'
```

If you expose the API to a LAN, keep the container firewall rules tight. The [Proxmox OCI LXC traffic lockdown](/articles/proxmox-oci-lxc-traffic-lockdown/) checklist is a good fit before you open port 11434 to more than localhost.

## Tradeoffs You Accept When Skipping the VM

The biggest honest tradeoff is driver coupling. Because the OCI LXC uses the host GPU driver, a host driver update can affect every GPU container on that node. A kernel update can also matter if the NVIDIA module needs to be rebuilt. In a homelab, that is often acceptable. In a shared production environment, you want a maintenance window and a tested driver version.

Security is the second tradeoff. Unprivileged LXC containers are much safer than privileged containers, but they still share the host kernel. That is fine for a trusted inference service running one application. It is a weaker boundary than a VM, especially if you plan to expose the container to users who can influence what runs inside it.

GPU memory is the third tradeoff. A model server can consume all available VRAM, and multiple containers sharing one GPU can compete for that memory. Proxmox does not magically partition the GPU just because you passed the device into a container. If you need strict per-workload GPU memory limits, you need a different design, such as one container per GPU or a VM-based isolation layer.

## Common Gotchas That Break GPU Access

The first time I added NVIDIA device nodes to an LXC container, I mapped only the main GPU device and control device. CUDA still failed until I realized the container could not reach the unified virtual memory device. The missing piece was the NVIDIA unified memory device and its major number.

Check the container config if something is wrong:

```bash
pct config 100 | grep nvidia
```

Restart the container after config changes:

```bash
pct restart 100
```

Confirm the critical device is present:

```bash
pct exec 100 -- ls -l /dev/nvidia-uvm
```

Other issues are less obvious:

- The host driver may be installed, but the NVIDIA kernel module may not be loaded after a reboot.
- A non-root application may still fail if the device file permissions do not match the application user.
- A container image may have CUDA libraries that do not match the host driver well enough for your application.
- A Docker-in-LXC setup may need the NVIDIA container toolkit inside the container; raw device mapping alone is not the same as a full container GPU runtime.
- A model server may fall back to CPU without a loud error, so check the application log and GPU usage output.

Before treating the container as a long-running service, run the [Proxmox OCI LXC pre-production audit](/articles/proxmox-oci-lxc-audit/) and repeat the GPU checks after any host package update.

## Conclusion

Passing a GPU into an OCI LXC gives you a fast, low-overhead inference host on Proxmox VE 9.2 without the extra guest kernel and memory cost of a VM. The main work is installing the NVIDIA driver on the host, mapping the NVIDIA device nodes, and confirming CUDA inside the container. Your next step is to pick one model, run the Ollama test, then decide whether the shared-driver tradeoff fits your environment.
]]></content:encoded>
            <author>Proxmox Pulse</author>
            <category>proxmox</category>
            <category>lxc</category>
            <category>nvidia-driver</category>
            <category>cuda</category>
            <category>gpu-passthrough</category>
        </item>
        <item>
            <title><![CDATA[Failed Proxmox Host Install Rollback with Datacenter Manager]]></title>
            <link>https://proxmoxpulse.com/articles/failed-proxmox-host-install-rollback/</link>
            <guid isPermaLink="false">https://proxmoxpulse.com/articles/failed-proxmox-host-install-rollback/</guid>
            <pubDate>Wed, 28 Oct 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Learn how to roll back a failed Proxmox host install with Datacenter Manager 1.1, remove stale cluster entries, and restore a clean, quorate cluster.]]></description>
            <content:encoded><![CDATA[
A failed Proxmox host install is easiest to undo when you catch it before the half-built node starts acting like a cluster member. Proxmox Datacenter Manager 1.1 gives you the job status and inventory context to spot that failure, then you can roll the cluster back with a few standard Proxmox VE commands and get the node re-added cleanly.

## Key Takeaways

- **Catch it early:** treat a failed automated install as a cluster event, not just an installer error.
- **Joined means dirty:** if the node reached the cluster, the surviving nodes already changed their cluster files.
- **Delete before retry:** remove the failed node from the cluster before running the install again.
- **Verify from survivors:** confirm quorum and node membership from a healthy node, not from the broken one.
- **Fix the cause:** use the pre-install audit to correct network, storage, or BIOS issues before the next attempt.

## What does a failed host install actually leave behind?

When Proxmox Datacenter Manager 1.1 drives an automated host install, it is still doing the same basic work as a manual install: boot the installer, create the local storage layout, configure networking, then join the node to the cluster. The failure becomes interesting when it happens after the join step. The installer may have already added the node to the cluster configuration, but the host is not healthy enough to run workloads.

I had a Proxmox VE 9.2 install fail about seven minutes in, after the base system was installed and the node had joined a three-node cluster. The job log said the post-install network check failed. The cluster still had a corosync entry for the node, and the Datacenter Manager inventory showed a host that looked almost ready. That is the state you need to roll back.

The cluster membership lives in a small corosync configuration file. You can inspect it from a healthy node:

```bash
grep -A 3 'node {' /etc/pve/corosync.conf
```

```ini
node {
  name: pve-node-03
  nodeid: 3
  ring0_addr: 10.10.20.13
}
```

That file is only a few kilobytes, but it can make a broken host look like a real cluster member. If you ignore it and retry the install, the new install may collide with the old cluster entry. If you have not captured an inventory baseline before the first install, the [Proxmox Datacenter Manager 1.1 Audit Inventory Pre-Install](/articles/proxmox-datacenter-manager-1-1-audit/) workflow is the missing first step.

## How do you catch the failure in Proxmox Datacenter Manager 1.1?

Start with the install job in Datacenter Manager, but do not stop there. The job tells you what the automation tried to do. The surviving Proxmox nodes tell you what the cluster actually accepted.

Run these commands from a healthy node:

```bash
pvecm status
```

```bash
pvecm nodes
```

The first command tells you whether the cluster still has quorum. The second tells you whether the failed host is still listed. If the node appears there, the install is not cleanly rolled back, even if the UI shows the job as failed.

For the cluster-wide view, use the Proxmox API command:

```bash
pvesh get /cluster/status --output-format json
```

A typical result looks like this:

```json
[
  {
    "type": "cluster",
    "name": "homelab",
    "quorate": 1,
    "online": 1
  },
  {
    "type": "node",
    "name": "pve-node-01",
    "online": 1
  },
  {
    "type": "node",
    "name": "pve-node-03",
    "online": 0
  }
]
```

If the failed node is present but offline, you have a rollback job. If the cluster is not quorate, do not start deleting nodes until you understand whether the failed node held a vote. In a small cluster, one bad install can turn a management mistake into a full cluster outage.

The cluster service logs can confirm whether the node ever completed its join:

```bash
journalctl -u pve-cluster -n 100 --no-pager
```

That log often contains the moment the cluster accepted the new node, even if the Datacenter Manager job later failed during storage or network validation.

## How to decide whether to reinstall or roll the node back

Not every failed install needs the same recovery. The goal is to restore a predictable cluster state with the least risk to running workloads.

| Path | Use it when | What it costs |
|---|---|---|
| Retry the install immediately | The installer failed before the node joined the cluster | Usually a few minutes, but only if the old host state is gone |
| Delete the node, then reinstall | The node joined the cluster but failed a post-install check | A few minutes for cluster cleanup, plus reinstall time |
| Restore from backup | The node was already running VMs or containers before the install attempt | Backup retrieval time plus verification |

For a fresh node install, the delete-then-reinstall path is usually the cleanest. It keeps the cluster honest and avoids leaving an orphaned corosync entry behind. For a node that already had workloads, treat a failed install as a production incident and restore from the last known good state before you touch the cluster configuration.

## How to roll back a node that already joined the cluster

Use this sequence when Datacenter Manager 1.1 reports a failed host install and the failed node is already in the cluster list.

1. Confirm the cluster state from a healthy node.

```bash
pvecm status
```

2. Make sure the failed host is offline. If it is still running, shut it down before removing it from the cluster.

3. Delete the failed node from the cluster.

```bash
pvecm delnode pve-node-03
```

4. Confirm the node is gone from the cluster list.

```bash
pvecm nodes
```

5. Clean the failed host before reinstalling. If you are reusing the host without a full reinstall, stop the cluster service on that node first.

```bash
systemctl stop pve-cluster
```

6. Reinstall the host, then add it back to the cluster. From the fresh Proxmox VE host, the join command can be as simple as this:

```bash
pvecm add 10.10.20.10
```

Replace the address with the IP of a healthy cluster node. The command will prompt for the cluster password and fingerprint.

Before the retry, check name resolution on both the failed host and the surviving nodes. A stale host entry is a common source of half-finished installs.

```bash
cat /etc/hosts
```

```ini
10.10.20.10 pve-node-01 pve-node-01.lan
10.10.20.11 pve-node-02 pve-node-02.lan
10.10.20.13 pve-node-03 pve-node-03.lan
```

If the failed install was caused by a BIOS setting, a wrong ZFS mirror layout, or a management VLAN mismatch, fix it before you run the installer again. The [Proxmox VE 9.2 Pre-Install Audit: BIOS, ZFS, SSH, Firewall](/articles/proxmox-ve-9-2-preinstall-audit/) checklist is a good place to catch those problems before they become rollback work.

## What do you verify after the rollback?

After the node is re-added, verify the cluster from the healthy side first, then from the restored node.

```bash
pvecm status
pvecm nodes
```

Check that the restored node is online and that the cluster is still quorate. Then check the cluster service on the restored host:

```bash
systemctl status pve-cluster
```

Finally, query the node through the Proxmox API:

```bash
pvesh get /nodes/pve-node-03/status --output-format json
```

Confirm these items before you call the rollback complete:

- The restored node appears online in the cluster list.
- The cluster reports quorate status.
- The Web UI does not show stale storage or network warnings.
- The node can run a test VM or container without placement errors.

If that command returns a normal status object and the Web UI shows the node without stale storage or network warnings, the rollback is done. At that point, move to normal post-install validation. The [Proxmox VE 9.2 VM Checklist for Post-Install Homelabs](/articles/proxmox-ve-9-2-vm-checklist/) is useful for confirming that the node can actually host workloads before you start balancing VMs onto it.

## What is the tradeoff when you automate rollback?

Datacenter Manager 1.1 makes the failure easier to see, but it does not make the Proxmox installer transactional. That is the honest tradeoff. The automation can start an install, track the job, and keep inventory in one place, but it cannot guarantee that a failed step leaves the cluster untouched.

You gain speed: the job history and inventory view let you identify the affected node quickly. You lose certainty: a failed job can still leave cluster metadata behind. The practical answer is to treat Datacenter Manager as the tripwire and the Proxmox cluster commands as the cleanup tool.

## Experience-based gotcha: the job failed, but the cluster did not

The biggest mistake I have made with automated installs is assuming the UI failure means the cluster is unchanged. In reality, the installer can write the node into the cluster configuration and then fail later. The Datacenter Manager job is correct: the install failed. The cluster is also correct: it already accepted the node.

That mismatch is why you should always check the surviving nodes before retrying. If you skip that check, the next install may fail with a confusing membership error, or worse, it may join with a stale node ID and force you into a longer cleanup.

## Conclusion

Rolling back a failed Proxmox host install is mostly about noticing that the cluster may already have changed. Proxmox Datacenter Manager 1.1 helps you catch the failure and understand what was attempted, while standard Proxmox VE commands let you remove the half-joined node and restore a clean cluster quickly. Your next step is to delete the failed node from the cluster, fix the underlying install problem, and retry the host install with the inventory and pre-install checks already in place.
]]></content:encoded>
            <author>Proxmox Pulse</author>
            <category>proxmox</category>
            <category>proxmox-ve</category>
            <category>proxmox-datacenter-manager</category>
            <category>corosync</category>
            <category>pvecm</category>
        </item>
        <item>
            <title><![CDATA[Proxmox VE 9.1 to 9.2 Upgrade Checklist for Homelabs]]></title>
            <link>https://proxmoxpulse.com/articles/proxmox-ve-9-2-upgrade/</link>
            <guid isPermaLink="false">https://proxmoxpulse.com/articles/proxmox-ve-9-2-upgrade/</guid>
            <pubDate>Tue, 27 Oct 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Upgrade Proxmox VE 9.1 to 9.2 with a checklist for ZFS, PBS backups, and guest agents, so your homelab reboots once and all services stay green and verified.]]></description>
            <content:encoded><![CDATA[
A Proxmox VE 9.1 to 9.2 upgrade is usually a package update, not a reinstall, but a homelab can still trip over ZFS-on-root, a stale PBS backup, or a guest agent that stops reporting after a kernel change. This checklist walks through the pre-upgrade checks, the package upgrade, and the post-reboot tests that prove your VMs, containers, ZFS pools, and PBS backups are still healthy. The outcome is a boring upgrade: one reboot, all services green, and a verified restore point if something misbehaves.

## Key Takeaways

- **Check first**: Confirm package candidate, ZFS pool health, PBS reachability, and running guests before touching the upgrade.
- **Back up first**: Take a manual PBS backup of critical guests and verify a restore, not just a green backup job.
- **Upgrade one node**: In a cluster, drain and upgrade one node at a time so a bad package does not take down the whole datacenter.
- **Reboot deliberately**: Kernel and ZFS module changes need a reboot; schedule it after the package upgrade finishes.
- **Prove it works**: After reboot, verify the PVE version, services, ZFS, PBS backups, and guest agents.

## Is Your Homelab Ready for the 9.2 Upgrade?

Before you upgrade, get a baseline you can compare against later. On a single-node homelab, this takes about ten minutes. On a cluster, it takes longer because you need to know which node is quorate and which guests can move.

```bash
pveversion -v
```

The version output should show a 9.1 release. When the repository is ready, the candidate package should show 9.2.0.

```bash
apt-cache policy pve-manager
```

```text
pve-manager:
  Installed: 9.1.4
  Candidate: 9.2.0
```

If the candidate is still a 9.1 version, stop and check the Proxmox repository configuration. A no-subscription homelab usually points at the no-subscription package repository for the Debian base release.

```ini
deb http://download.proxmox.com/debian/pve trixie pve-no-subscription
```

Now check the services that matter most. If something is already unhealthy, fix it first.

```bash
systemctl status pveproxy pvedaemon pve-cluster --no-pager
```

For clusters, confirm quorum and node state.

```bash
pvecm status
```

If the cluster is healthy, the online node count and quorum state should match what you expect. If you are about to take a node out for upgrade, this is also the moment to confirm that the remaining nodes can survive without it.

Finally, check disk space. A package upgrade is usually small, but ZFS logs, snapshots, and PBS temporary files can make a nearly full root filesystem unhappy.

```bash
df -h /
```

If your root filesystem is below 15 percent free, clean up logs, old ISO images, or snapshots before upgrading.

## How to Protect VMs, ZFS, and PBS Before You Touch Packages

The upgrade itself rarely breaks a running guest, but the reboot can. The safest homelab pattern is to prove you can restore before you change the host.

Start with PBS storage reachability. First list the storage definitions on the node.

```bash
pvesh get /nodes/$(hostname)/storage --output-format json
```

Then check the backup storage status. Replace the storage ID in the next command if your PBS storage is not named pbs.

```bash
pvesh get /nodes/$(hostname)/storage/pbs/status --output-format json
```

Take a manual backup of the guests you care about. A full nightly backup is not enough if the last successful backup is three days old and you have made configuration changes since then.

```bash
vzdump 100 101 --storage pbs --mode snapshot --compress zstd
```

For a larger set of guests, you can back up everything at once, but be ready for a long pause.

```bash
vzdump --all --storage pbs --mode snapshot --compress zstd
```

On my homelab, a 12 GB incremental PBS backup of three critical virtual machines took about four minutes. That number is small, but it is the difference between a quick restore and a weekend rebuild.

If you have not tested a restore recently, start with the [PBS restore test](/articles/pbs-4-2-s3-restore-test/) before adding another upgrade risk. A backup that has never been restored is just a hope with a nice web interface.

Next, check ZFS. The goal is not just to see a pool name; it is to confirm that no devices are offline, degraded, faulted, or waiting for a resilver.

```bash
zpool status -x
zpool list
zfs list
```

If the pool is not healthy, stop and run a [ZFS pool health audit](/articles/zfs-pool-health-audit-pbs/) before upgrading. Upgrading a degraded pool can turn a manageable problem into a very bad afternoon.

If the pool is healthy, start a scrub so you know the pool was checked shortly before the upgrade.

```bash
zpool scrub rpool
```

Replace rpool with your pool name if it differs. You do not need to wait for the scrub to finish before upgrading, but you should know where it started.

For ZFS-on-root systems, a pre-upgrade snapshot is cheap insurance. If your root dataset is the common Proxmox ZFS root layout, take a snapshot before the package upgrade.

```bash
zfs snapshot rpool/ROOT/pve-1@pre_9_2_upgrade
```

This snapshot is not a full cluster rollback, but it can help if the new kernel or package set behaves badly and you need to compare dataset state.

## How to Upgrade Proxmox VE 9.1 to 9.2 Without Breaking VMs

For a point release, the upgrade path is straightforward. The important discipline is to review the changes, let the package manager finish, and reboot at a controlled time.

Refresh the package index first.

```bash
apt update
```

Then simulate the upgrade so you can see whether the package manager wants to remove anything unexpected.

```bash
apt-get -s dist-upgrade
```

If the simulation only shows the expected Proxmox, QEMU, kernel, and library updates, proceed.

```bash
apt dist-upgrade -y
```

```bash
apt autoremove -y
```

During the package upgrade, running virtual machines usually stay up. The upgrade replaces host components, but it does not normally stop guests unless you reboot. The web interface may become briefly unavailable while services restart, so avoid making configuration changes during the upgrade.

If you are upgrading a cluster, do not upgrade every node at once. Move critical workloads off the node, upgrade one node, reboot it, verify it rejoins, then move to the next node.

```bash
qm migrate 101 pve2
pct migrate 201 pve2
```

Replace the guest IDs and target node with your own values. Some live migrations fail because of storage, CPU flags, or network assumptions. If a guest cannot live migrate, schedule a short shutdown instead of forcing it.

On a small homelab with a dozen guests, the package download and unpacking took about six minutes. The reboot and ZFS pool import added another two minutes. That is a reasonable window if you do it in the evening.

## What Usually Goes Wrong During a 9.1 to 9.2 Upgrade

The most common problem is not that VMs disappear. It is that the host becomes less predictable after a reboot.

One experience-based gotcha: after one point upgrade, a Windows virtual machine was running and reachable on the network, but the Proxmox summary page no longer showed its IP address. The guest itself was fine. The [QEMU Guest Agent](/articles/proxmox-qemu-guest-agent/) needed attention, either because the agent service had not started cleanly or because the guest-side agent was older than expected. Check the guest agent before assuming the VM is broken.

```bash
qm agent 100
```

Another common issue is ZFS. If the host uses ZFS for root storage or VM storage, a kernel update can make the first boot after the upgrade feel slower than usual because the pool must import and datasets must mount. In most cases, patience is enough. If the pool imports and the services start, do not start poking at ZFS properties just because the boot log is noisy.

A third issue is PBS. If the backup storage is unreachable because of a firewall change, DNS issue, or PBS service restart, the upgrade may still finish, but your backup job will fail later. Test the storage connection after the reboot, not only before the upgrade.

The honest tradeoff is that a manual backup before every point release feels excessive for a throwaway test node. For a homelab with ZFS-on-root, PBS backups, and a few critical services, it is still the cheapest insurance available. The time spent restoring a failed upgrade usually dwarfs the time spent running a backup.

## How to Verify ZFS, PBS, and VMs After the Reboot

Once the node is back, run a short verification pass. This is the part many people skip, and it is the part that saves you from discovering a problem during the next scheduled backup.

Confirm the installed version.

```bash
pveversion -v
```

```bash
pvesh get /version --output-format json
```

Check the core services.

```bash
systemctl status pveproxy pvedaemon pve-cluster --no-pager
```

For a cluster, confirm the node is online and quorum is healthy.

```bash
pvecm status
```

Check ZFS.

```bash
zpool status -x
```

The output should say the pool is healthy. If you started a scrub before the upgrade, decide whether to let it continue or check the result later.

List the guests and make sure they are running as expected.

```bash
qm list
pct list
```

If you use guest agents, test a few important guests.

```bash
qm agent 100
qm agent 102
```

For containers, you can check whether the container is running and reachable.

```bash
pct status 201
```

Then test PBS again.

```bash
pvesh get /nodes/$(hostname)/storage/pbs/status --output-format json
```

If the storage is healthy, take one more manual backup of a critical guest after the upgrade. This proves that the new host can still write to PBS.

```bash
vzdump 100 --storage pbs --mode snapshot --compress zstd
```

After the upgrade, compare your guest configuration against the [Proxmox VE 9.2 VM checklist](/articles/proxmox-ve-9-2-vm-checklist/) if you also want to verify post-install settings such as CPU type, memory ballooning, disk cache, and firewall state.

## What to Do If the Upgrade Hitches

If a service fails to start, check the journal before rebooting again and again.

```bash
journalctl -xeu pve-cluster --no-pager
journalctl -xeu pveproxy --no-pager
journalctl -xeu pvedaemon --no-pager
```

If the package manager was interrupted, repair dependencies before doing anything dramatic.

```bash
dpkg --configure -a
apt-get -f install -y
```

If the kernel is not the version you expected, confirm what is running.

```bash
uname -r
```

If ZFS is involved, confirm that the ZFS module is available for the running kernel.

```bash
modinfo zfs
```

Do not remove kernel packages while testing a new Proxmox release. Keep the previous kernel as a fallback until you have confirmed that PBS backups, guest networking, and ZFS storage all behave normally.

For a single-node homelab, the practical rollback plan is usually a PBS restore of the affected guest or a full node reinstall from a known-good ISO and PBS restore. For a cluster, the plan is simpler: leave the bad node out, keep the cluster running on the remaining upgraded nodes, and fix the node offline.

## Upgrade Path at a Glance

| Step | Typical homelab time | Main risk |
|---|---:|---|
| Pre-check | 10 minutes | Wrong repository or unhealthy service |
| Manual PBS backup | 5 to 30 minutes | Backup job fails silently |
| Package upgrade | 5 to 15 minutes | Unexpected package removal |
| Reboot | 2 to 5 minutes | ZFS pool or service startup delay |
| Restore test | 15 to 60 minutes | Backup exists but cannot restore |

The table is not a promise, but it is a useful planning window. If any row takes much longer than expected, stop and inspect before moving on.

## Conclusion

A Proxmox VE 9.1 to 9.2 upgrade should be a short, controlled operation: check the host, back up critical guests, upgrade one node at a time, reboot, and verify ZFS, PBS, and guests. The real safety comes from the verification steps, not from the upgrade command itself. Your next step is to pick one non-critical node or guest, run through this checklist end to end, and then upgrade the rest of the homelab with confidence.
]]></content:encoded>
            <author>Proxmox Pulse</author>
            <category>proxmox-ve</category>
            <category>zfs</category>
            <category>proxmox-backup-server</category>
            <category>qemu-guest-agent</category>
            <category>apt</category>
        </item>
    </channel>
</rss>