Stop application writes first, shut down guests second, stop compute hosts third, and power off shared storage last.
The decision matters when one UPS protects a hypervisor, several guests, a switch, and the NAS that stores their disks. The two competing states are guest/application quiescence and storage power loss before compute is clean. Begin with a saved configuration and disposable data, observe one branch at a time, and stop if the test expands data-loss, permission, or availability risk.
Set the Safe Baseline for Ups Shutdown Sequencing
Record the environment before changing anything: software and firmware versions, device identities, mount or network path, free space, permissions, and the observable symptom. The baseline must preserve enough detail to reproduce one UPS protects a hypervisor, several guests, a switch, and the NAS that stores their disks.
The first candidate is guest/application quiescence. The second is storage power loss before compute is clean. The current NUT shutdown design defines the mechanism or command boundary used in the test; it does not replace observation from this specific home server.
Write the acceptance condition and stop condition before running the discriminator. A pass must change the evidence predicted by one branch while leaving unrelated services unchanged; a fail must return the system to the saved state rather than trigger a chain of speculative fixes.
Apply the Configuration in Reversible Stages
Use this discriminator: simulate a low-battery event while timing every dependency. Keep workload, client, path, file set, and timing constant so the result is attributable to the changed variable.
Use Proxmox node maintenance to select the field that can actually separate the branches, then capture its timestamp, exit status, error text, device or snapshot identity, latency, transferred bytes, permissions, and recovery state. A clean command exit is not enough when identity, durability, or application state is the claim under test.
Repeat the test once after a restart, reconnect, remount, or cold cache when that event is part of the original condition. If the first run is destructive or the environment cannot be restored, stop and reproduce on a disposable copy instead.
wall power loss -> stop jobs -> shut down VMs -> host -> NAS
Interpret Completion and Failure Boundaries
PASS: VMs finish shutdown and storage unmounts only after clients release it. Record the exact version, identity, and workload that passed so the conclusion stays conditional rather than becoming a universal claim.
FAIL: the NAS powers off while hosts still write or the host dies before guest timeouts expire. A fail does not automatically prove the opposite branch when network, memory, permissions, or source consistency can influence both; isolate those shared dependencies before escalating.
EXCEPTION OR AMBIGUOUS RESULT: increase runtime margin or shed noncritical loads before changing the dependency order. Preserve logs and do not run repair, prune, destroy, repartition, or recursive ownership commands until a recoverable copy exists.
Verify Persistence Under the Original Load
Apply the action matched to the observed branch, then repeat the original condition rather than a reduced substitute. The decision holds only when VMs finish shutdown and storage unmounts only after clients release it across two cycles or the relevant reboot, sleep, interruption, or load transition.
Use the VM backup modes to check the nearest dependent workflow, but keep the original trigger unchanged. Unrelated datasets, shares, containers, users, and recovery points must retain their previous access and timing.
The stop boundary is explicit: if the NAS powers off while hosts still write or the host dies before guest timeouts expire, return to the last verified configuration, retain the evidence, and escalate to a deeper platform or hardware test only when the branch is repeatable.
After the target result holds, compare it with the backup verification cadence so the fix does not move risk into a neighboring service. A successful target test with a new backup, identity, timeout, or availability failure is still a failed change.
FAQ
For UPS shutdown sequencing, the remaining searches usually concern which device should initiate shutdown, should the network switch stay on, and how much battery margin is enough. The answers below keep those edge cases separate from the primary decision.
The acceptance boundary does not move: VMs finish shutdown and storage unmounts only after clients release it. If a follow-up condition changes the filesystem, identity, network path, or application version, repeat only the discriminator affected by that change.
Stop broadening the experiment when the NAS powers off while hosts still write or the host dies before guest timeouts expire. At that point, increase runtime margin or shed noncritical loads before changing the dependency order; preserve the evidence before escalating to the platform, storage, or hardware owner.
Which device should initiate shutdown?
Use one authoritative UPS monitor or coordinated secondary clients so independent timers do not race.
Should the network switch stay on?
Yes until shutdown commands and storage traffic are complete, unless every dependency is local.
How much battery margin is enough?
Measure worst-case guest and storage shutdown time, then add battery-aging and retry margin.
Treat the UPS shutdown sequencing change as complete only after VMs finish shutdown and storage unmounts only after clients release it. If the NAS powers off while hosts still write or the host dies before guest timeouts expire, increase runtime margin or shed noncritical loads before changing the dependency order; keep the previous configuration available until the result survives the relevant restart, interruption, or load transition.
Support & Tips
More to Read

Live TV Recording Storage Guide for Capacity, Retention, and Cleanup
Measure real recordings, reserve headroom, combine age and capacity limits, and prove the oldest eligible program is removed before storage fills.

Home Media Metadata Recovery Workflow After a Database Restore
Protect the restored state, verify media identity and paths, then repair missing artwork or matches in a pilot library before broad metadata changes.

Jellyfin Client Compatibility Checklist for Audio, Video, and Subtitles
Test representative files one variable at a time and record Direct Play, remux, audio conversion, video transcode, or failure for every client.

