mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-29 01:08:56 +01:00
Clarify why a VM can show little Proxmox Disk I/O while passed-through disks are busy in an existing Pulse Agent view. Distinguish filesystem inventory from throughput and keep History, source identity, double-counting and backup safety limits explicit. Contract-Neutral: Documentation-only clarification of existing VM I/O sources; no runtime, permissions or collection contract changes. Change-source: pulse-maintainer
574 lines
33 KiB
Markdown
574 lines
33 KiB
Markdown
# 💾 VM Disk Monitoring
|
||
|
||
Pulse can read filesystem usage inside a Proxmox VM through the QEMU Guest
|
||
Agent. Allocated virtual-disk size is not the same as used space inside the
|
||
guest. LXC filesystem collection uses a different path.
|
||
|
||
For a quiet VM **Disk I/O** chart alongside busy linked-agent disks, see
|
||
[which readings the VM chart uses](#vm-disk-io-is-quiet-but-linked-agent-disks-are-busy).
|
||
|
||
## Backup safety
|
||
|
||
**Do not run manual guest-agent probes during a backup, freeze or thaw.** A
|
||
guest-agent request is an active command on the same channel used by
|
||
freeze-enabled backups, even when it only reads disk or memory information.
|
||
There is a [report of a VM remaining frozen despite an OK backup task](https://github.com/rcourtman/Pulse/issues/2439).
|
||
The reported command-ID collision is not established as a reproduced cause.
|
||
|
||
If your installation is affected, stop the Pulse service before the backup
|
||
and keep it stopped until the backup has ended and independent checks confirm
|
||
**thaw, fresh successful writes to every filesystem covered by the backup, and
|
||
workload liveness**. Use your established guest-console or workload checks, not
|
||
Pulse readings or guest-agent probes. Restore only services and timers that were
|
||
active before the pause. **Pulse monitoring and alerts are unavailable while it
|
||
is stopped.** An OK backup task or an absent VM lock
|
||
does not prove thaw succeeded. This is a temporary precaution, not a claim
|
||
that the monitoring defect is fixed.
|
||
|
||
**Pause Stream** in **System Logs** only pauses the browser display. It does not
|
||
stop the Pulse server, its polling or guest-agent requests. Changing the log
|
||
level is not a monitoring pause either. Use the actual server stop procedure
|
||
below for your deployment; a **Paused** log view is not evidence that monitoring
|
||
has stopped.
|
||
|
||
Do not test freeze/thaw commands, clear backup locks, disable backup freezing
|
||
or force-reset a guest as a disk-monitoring diagnostic. Those operations can
|
||
affect workloads or backup consistency. Preserve the existing backup task and
|
||
redacted error, rather than repeat a potentially harmful backup for a report.
|
||
|
||
### Pause Pulse for a planned freeze-enabled backup
|
||
|
||
This manual precaution is for an affected **systemd installation**, before a
|
||
scheduled backup starts. It is **not a recovery procedure** for a backup already
|
||
in progress or an unresponsive guest, and **not an automatic backup hook**.
|
||
For a Docker or Compose server, use the [container pause procedure](#pause-a-docker-or-compose-server-for-a-planned-backup) instead;
|
||
the systemd commands below do not stop a containerised Pulse server.
|
||
|
||
1. **Identify the Pulse server service.** Run these commands on the machine
|
||
running the Pulse server: for Proxmox LXC, **inside the Pulse LXC**,
|
||
**not the Proxmox host or the backed-up VM**. The examples use
|
||
`pulse.service`; substitute your actual server unit throughout
|
||
(`pulse-backend.service` on some older installs), **not pulse-agent.service**.
|
||
|
||
```bash
|
||
systemctl show pulse.service --property=LoadState,ActiveState,MainPID
|
||
```
|
||
|
||
Require `LoadState=loaded` and record whether Pulse was active. If the unit
|
||
is missing, do not assume monitoring has stopped: identify your deployment's
|
||
actual stop control. Docker and other supervisors need their own controls.
|
||
|
||
2. **Prevent an update from starting Pulse again.** Do not install or update
|
||
Pulse during this window. If you use unattended updates, inspect the actual
|
||
matching timer (the default is `pulse-update.timer`):
|
||
|
||
```bash
|
||
systemctl show pulse-update.timer --property=LoadState,ActiveState
|
||
```
|
||
|
||
Record whether the timer was active. For a loaded timer, pause it and check
|
||
both it and its update service, substituting your actual unit names:
|
||
|
||
```bash
|
||
sudo systemctl stop pulse-update.timer
|
||
systemctl show pulse-update.timer pulse-update.service \
|
||
--property=Id,LoadState,ActiveState,MainPID
|
||
```
|
||
|
||
The timer must be inactive. If the update service is active, activating or
|
||
deactivating, let it finish normally before continuing. Do not interrupt an
|
||
installation. A missing update unit is not proof that a custom updater is
|
||
idle; check your deployment's update controls too.
|
||
|
||
3. **Stop Pulse and confirm it is stopped, before the backup starts.**
|
||
|
||
```bash
|
||
sudo systemctl stop pulse.service
|
||
systemctl show pulse.service \
|
||
--property=LoadState,ActiveState,MainPID,Result,ExecMainCode,ExecMainStatus
|
||
```
|
||
|
||
Require `LoadState=loaded`, `ActiveState=inactive` and `MainPID=0` after a
|
||
successful stop. Do not start the backup if the stop fails, the state is
|
||
unknown or another Pulse server is still polling the affected guests.
|
||
**Pulse monitoring and alerts are unavailable while stopped.** Do not run
|
||
an update, start another Pulse instance or reboot its host during the pause.
|
||
|
||
For a server stopped in this step, also require `Result=success`,
|
||
`ExecMainCode=1` (normal process exit) and `ExecMainStatus=0`. A timeout,
|
||
signal termination, non-zero exit or unavailable shutdown result needs
|
||
normal maintenance before the backup. Do not force-kill Pulse or clear its
|
||
failed state to satisfy this check. Leave a previously inactive server
|
||
inactive; an old exit result is not evidence of a new shutdown.
|
||
|
||
**Stopping Pulse does not cancel a guest-agent request already issued.**
|
||
Even a successful process exit does not prove that an earlier request
|
||
finished inside Proxmox or the guest. Let existing guest/backup operations
|
||
finish normally before the planned backup, using your established task and
|
||
workload checks, not new guest-agent probes. If their state is unknown,
|
||
do not start the backup on the strength of a stopped service or an arbitrary
|
||
waiting period. A disk dash or cooldown is not evidence of completion.
|
||
|
||
4. **Verify the guest independently, then restore only what you paused.**
|
||
Keep Pulse stopped until the backup has ended **and** your established
|
||
guest-console or workload checks confirm all three: **thaw**, **fresh successful
|
||
workload writes to every filesystem covered by the backup**, and **workload
|
||
liveness**. Use evidence from **after the backup ended**, independent of Pulse
|
||
and the QEMU Guest Agent. A console connection or a successful read alone is
|
||
not enough; neither is a write to only the OS disk when the backup covers
|
||
other filesystems. Use the workload's normal safe checks, not forced writes,
|
||
test-file commands or a new freeze/thaw cycle. If any check is unavailable or
|
||
fails, leave Pulse stopped and use the guest/platform's recovery procedure;
|
||
do not repeat the backup or use guest-agent probes to test it.
|
||
|
||
Apply the recorded pre-pause states separately:
|
||
|
||
| Pulse server before pause | Update timer before pause | Restore after all safety checks pass |
|
||
| --- | --- | --- |
|
||
| Active | Active | Start Pulse and confirm it is active; then restore and check the timer. |
|
||
| Active | Inactive | Start Pulse and confirm it is active; leave the timer inactive. |
|
||
| Inactive | Active | Leave Pulse inactive. Restore the timer only if its installed updater is confirmed not to start an inactive Pulse server; otherwise keep it paused until that behaviour is resolved through normal maintenance. |
|
||
| Inactive | Inactive | Leave both inactive. |
|
||
|
||
If either pre-pause state is unknown, do not guess or start either unit;
|
||
establish the original states before restoring.
|
||
|
||
Only after all safety checks pass, if Pulse was active beforehand:
|
||
|
||
```bash
|
||
sudo systemctl start pulse.service
|
||
systemctl is-active pulse.service
|
||
```
|
||
|
||
`active` confirms service startup, not proof that polling or alerts have
|
||
recovered. Check normal observation times in Pulse without Run Diagnostics
|
||
or manual guest-agent probes. If startup fails or its state is unknown, keep
|
||
the timer paused and resolve the startup failure through normal maintenance.
|
||
Restore the update timer **only if it was active beforehand**, using the
|
||
matching row above:
|
||
|
||
```bash
|
||
sudo systemctl start pulse-update.timer
|
||
systemctl is-active pulse-update.timer
|
||
```
|
||
|
||
Require `active` for a timer you restored. A persistent timer may run a missed
|
||
update immediately, so do not restore it before the safety checks. The current
|
||
Pulse installer makes its updater skip an inactive Pulse server; an older or
|
||
customised installed unit may differ. A timer's `active` state does not prove
|
||
that an update or monitoring succeeded.
|
||
|
||
Leave previously inactive services/timers inactive. Arrange independent
|
||
outage coverage and repeat the precaution for each affected backup window;
|
||
this manual sequence does not schedule future pauses or prove a fix.
|
||
|
||
### Pause a Docker or Compose server for a planned backup
|
||
|
||
This is a manual precaution for an affected **standalone Docker or plain Compose
|
||
Pulse server**, before a scheduled freeze-enabled backup. It is **not incident
|
||
recovery or an automatic backup hook**. Swarm, Kubernetes and other controllers
|
||
need their own supported pause controls: stopping a container alone does not
|
||
stop a controller from replacing it. For Kubernetes, start with the
|
||
[controller-aware backup safety checks](KUBERNETES.md#proxmox-backup-safety),
|
||
not the Docker commands below. Do not use this procedure if you cannot
|
||
prevent another server from polling the affected guests.
|
||
|
||
**Pulse monitoring and alerts are unavailable while stopped.** Arrange
|
||
independent outage coverage. A container stop does not cancel a guest-agent
|
||
request already issued; let any existing guest/backup operation finish normally
|
||
before the planned backup. If that state is unknown, do not start the backup on
|
||
the strength of a stopped container.
|
||
|
||
1. **Identify the existing Pulse server container on its Docker host**, not a
|
||
monitored workload, the backed-up VM or a Pulse Agent container. For Compose,
|
||
use the original project directory and the same project/file options used to
|
||
deploy it. The example service is `pulse`; substitute your actual service:
|
||
|
||
```bash
|
||
docker compose ps --all --quiet pulse
|
||
```
|
||
|
||
Record every returned server container ID privately. An empty list or a
|
||
failed command is not proof that monitoring has stopped. For a `docker run`
|
||
installation, identify the existing server through its saved deployment.
|
||
Set the ID explicitly, then read only its identity and state:
|
||
|
||
```bash
|
||
PULSE_CONTAINER_ID='paste-the-recorded-server-container-id'
|
||
docker inspect --format 'Id={{.Id}} Running={{.State.Running}} Paused={{.State.Paused}} Restarting={{.State.Restarting}} Status={{.State.Status}} Pid={{.State.Pid}} ExitCode={{.State.ExitCode}} OOMKilled={{.State.OOMKilled}}' "$PULSE_CONTAINER_ID"
|
||
```
|
||
|
||
Record whether this exact container was running before the pause. Require a
|
||
stable state: either running and not paused/restarting, or already exited
|
||
with PID 0. If it is paused, restarting, being replaced or its state cannot
|
||
be read, resolve that through the deployment's normal controls first. Repeat
|
||
the state check for every server; do not infer another container's state.
|
||
Do not share full `docker inspect`, container environments or resolved
|
||
Compose configuration: they can contain credentials.
|
||
|
||
2. **Prevent a deployment or updater from restarting/replacing Pulse.** Do not
|
||
install, update, recreate the server, run `docker compose up` or reboot the
|
||
Docker host during this window. Pause any automatic updater or deployment
|
||
job using its supported controls, recording whether it was active first.
|
||
Let an in-progress update finish normally; do not interrupt an installation.
|
||
The supplied Compose example uses `restart: unless-stopped`, but that does
|
||
not prevent an external updater or another operator from starting Pulse.
|
||
Do not change the restart policy, image, mounts or saved deployment as a
|
||
substitute for these checks.
|
||
|
||
3. **Stop each previously running server and verify the same ID is stopped.**
|
||
Docker commands on the recorded existing container also work for a plain
|
||
Compose deployment; they do not recreate its configuration or data volume:
|
||
|
||
```bash
|
||
docker stop --timeout 60 "$PULSE_CONTAINER_ID"
|
||
docker inspect --format 'Id={{.Id}} Running={{.State.Running}} Paused={{.State.Paused}} Restarting={{.State.Restarting}} Status={{.State.Status}} Pid={{.State.Pid}} ExitCode={{.State.ExitCode}} OOMKilled={{.State.OOMKilled}}' "$PULSE_CONTAINER_ID"
|
||
```
|
||
|
||
Require a successful stop and readback of the **same recorded ID** with
|
||
`Running=false`, `Paused=false`, `Restarting=false`, `Status=exited` and
|
||
`Pid=0`. For a server stopped in this step, also require `ExitCode=0` and
|
||
`OOMKilled=false`; a non-zero exit (including 137 after forced termination)
|
||
or unknown shutdown result needs normal maintenance before the backup.
|
||
Leave an already stopped server stopped. If stopping times out,
|
||
fails, the identity changes or any state is unknown, do not start the backup.
|
||
Do not delete/recreate a container, remove volumes or force-kill it to clear
|
||
this check. Docker can terminate a process after its stop timeout; stopped
|
||
state alone does not prove graceful shutdown or completion of earlier guest
|
||
requests. Preserve a shutdown failure for normal maintenance, not a forced
|
||
backup test.
|
||
|
||
4. **Keep every server stopped until independent recovery checks pass.** The
|
||
backup must have ended, and evidence from **after it ended**, independent of
|
||
Pulse and the QEMU Guest Agent, must confirm **thaw, fresh successful workload
|
||
writes to every filesystem covered by the backup, and workload liveness**.
|
||
Use the workload's established safe checks, not forced writes, test files or
|
||
another freeze/thaw cycle. An OK backup, an absent lock, a console connection
|
||
or a successful read alone is not enough. If any check fails or is unavailable,
|
||
leave Pulse and its automatic updater paused and use the platform's recovery
|
||
procedure, without guest-agent probes or repeating the backup.
|
||
|
||
Only for a container recorded as running before the pause, start that
|
||
**same existing ID**, then repeat the bounded state readback from step 1:
|
||
|
||
```bash
|
||
docker start "$PULSE_CONTAINER_ID"
|
||
```
|
||
|
||
Require the original ID, `Running=true`, `Paused=false`, `Restarting=false`
|
||
and `Status=running`. A previously stopped container stays stopped; if its
|
||
original state is unknown, do not guess. Do not use a blanket Compose start
|
||
or `up` to restore a mixture of previously running and stopped servers. If
|
||
the original container is missing or startup fails, keep automation paused
|
||
and resolve that through normal maintenance rather than creating another
|
||
server against the same data.
|
||
|
||
Running state is not proof of healthy collection or alert delivery. Check
|
||
normal observation times in Pulse without Run Diagnostics or guest-agent
|
||
probes. Restore only automatic jobs that were active before the pause, after
|
||
verifying they will not start a previously inactive server. Unknown original
|
||
job state or restart behaviour means leave that job paused. Repeat the
|
||
precaution for each affected backup window; this is not proof of a fix.
|
||
|
||
## 🚀 Setup
|
||
|
||
Plan changes outside backup windows and follow the guest's normal maintenance
|
||
procedure; a reboot interrupts its workloads.
|
||
|
||
1. **Install the guest agent inside the VM.** Use the guest OS's supported
|
||
package: `qemu-guest-agent` on Linux, or the QEMU Guest Agent service from
|
||
the virtio-win distribution on Windows.
|
||
2. **Enable it in Proxmox.** Review **VM Options → QEMU Guest Agent** and apply
|
||
any required VM restart in that maintenance window.
|
||
3. **Check the existing observations.** In Pulse, hover over the disk dash or
|
||
open the resource details for the collection explanation and observation
|
||
time. Check the guest-agent service from inside the guest, not by repeatedly
|
||
sending `qm agent` commands from the hypervisor. A configured agent is not
|
||
proof it responded, and a retained disk value is not proof of a fresh poll.
|
||
|
||
## ⚙️ Permissions
|
||
|
||
Use the dedicated account and token actually configured for that Pulse
|
||
connection, not a guessed account name. Review their effective privileges for
|
||
the affected VM; a host-root diagnostic does not test the API token's access.
|
||
With privilege separation enabled, access is the intersection of user and token
|
||
permissions: both must allow the required read on the affected VM. Do not disable
|
||
privilege separation or recreate the token to diagnose a missing reading. See
|
||
[Check permissions](TROUBLESHOOTING.md#check-permissions-proxmox) for the scoped
|
||
inspection and repair boundary. A permitted read does not prove disk freshness,
|
||
responsiveness or thaw.
|
||
|
||
First check whether the VM is an intended monitoring target. Keep intentionally
|
||
restricted access unchanged; do not widen the token's scope just to clear a
|
||
permission error on an excluded guest. A denied filesystem read is unavailable,
|
||
not evidence that the guest or filesystem is unhealthy. Review or change access
|
||
only for intended targets, through normal administration outside backups or
|
||
guest incidents. Table filters and alert suppression do not stop API polling.
|
||
|
||
| Collection | Proxmox VE 9+ | Proxmox VE 8 |
|
||
| --- | --- | --- |
|
||
| Filesystem usage and guest information | `VM.GuestAgent.Audit` | `VM.Monitor` |
|
||
| Reading Linux guest memory via `/proc/meminfo` | Also `VM.GuestAgent.FileRead` | `VM.Monitor` |
|
||
|
||
Windows has no `/proc/meminfo`. A failure reading that Linux path is not evidence
|
||
that Windows filesystem collection needs `VM.GuestAgent.FileRead` or that the
|
||
guest agent is stopped. Keep memory-file access separate from filesystem access;
|
||
see [Windows readings after a Pulse restart](#windows-readings-after-a-pulse-restart)
|
||
before changing permissions or services.
|
||
|
||
Do not grant Administrator or guest execution/write permissions to diagnose a
|
||
missing disk value. The built-in `PVEAuditor` role cannot be modified; use a
|
||
custom monitoring role if the required read privileges are absent.
|
||
|
||
## 🔧 Troubleshooting
|
||
|
||
### VM Disk I/O is quiet but linked-agent disks are busy
|
||
|
||
**Filesystem usage and Disk I/O measure different things.** Filesystem usage
|
||
is occupied space, not read/write throughput or disk busy time. A linked
|
||
**Pulse Agent** can supply filesystem usage and disk inventory, but that does
|
||
not select the source of the VM's I/O charts.
|
||
|
||
The Proxmox VM's **Disk I/O** chart uses the VM counters reported by Proxmox.
|
||
Linking a Pulse Agent does not switch the VM’s live Disk I/O or stored Disk I/O
|
||
history to that agent. There is no VM I/O source selector in this build.
|
||
|
||
With USB storage or a PCIe HBA/NVMe device passed directly into the VM, storage
|
||
activity can bypass QEMU's virtual-block-device accounting. A quiet Proxmox
|
||
VM chart therefore does not establish that the guest’s disks are idle. This
|
||
differs from a virtual SCSI/VirtIO disk whose traffic Proxmox can account for;
|
||
the two views are not necessarily measuring the same devices.
|
||
|
||
For that activity, use readings already available in the **Pulse Agent-backed
|
||
machine or per-disk view**, or the guest's established storage monitoring.
|
||
Compare the same guest, device, observation time and
|
||
[History range](METRICS_HISTORY.md#read-a-history-panel). A temperature,
|
||
SMART result or filesystem reading alone does not establish current I/O.
|
||
Do not add Proxmox and agent totals, or sum partitions, RAID members and
|
||
logical devices as if they were independent disks: the same traffic can be
|
||
counted more than once.
|
||
|
||
Use existing observations, not a new I/O stress test, guest-agent probe,
|
||
restart or hardware reconfiguration. Do not widen token permissions or install
|
||
another agent to change this chart's source. If a backup or unresponsive guest
|
||
is involved, [Backup safety](#backup-safety) takes precedence; a busy or quiet
|
||
chart does not establish thaw or successful workload writes.
|
||
|
||
### Current, retained and unavailable disk readings
|
||
|
||
In **Workloads**, select the disk reading indicator for its explanation, or
|
||
open the same guest's details and look under **Filesystems → Status**. Use the
|
||
details on a phone or with a keyboard rather than relying on a hover tooltip.
|
||
Retained readings use **Prior** in compact rows and **Last known** in wider rows.
|
||
A read you can fix may be labelled **No permission** or **Agent error**
|
||
(**Denied** or **Error** in compact rows). An unavailable reading may show a dash or an unavailable label: the presence or
|
||
absence of a caption does not establish freshness or explain the cause. Read
|
||
the same guest's explanation before treating it as an agent setup problem.
|
||
Where an observation time is shown, keep it with the reading; an unavailable
|
||
time leaves freshness unknown.
|
||
|
||
| Reading | What it establishes |
|
||
| --- | --- |
|
||
| Current filesystem usage | Usage for the reported guest and filesystem, from its collection source. It does not establish that every filesystem is covered or that a backup can be restored. |
|
||
| **Prior**, **Last known**, or **Using last known disk stats** | Retained evidence, not current free space. A visible number or History sample does not make it fresh. |
|
||
| A dash, **Usage unavailable**, **No permission**, **Agent error**, or a paused/deferred read | Usage is unknown, not zero and not proof that the disk is full. A cooldown ending does not establish a successful new read. |
|
||
|
||
**A numeric disk search or disk sort is not a monitoring-coverage check.** To
|
||
review missing readings, clear numeric disk conditions and restrictive table
|
||
filters, then use the existing name search or unfiltered inventory. Inspect the
|
||
same guest's explanation and filesystem rows, not just the first or last row
|
||
in a disk sort. A guest absent from a filtered result is not evidence of low
|
||
usage, deletion or healthy monitoring. Clearing a display filter neither changes
|
||
access nor stops API polling; keep intentionally restricted targets restricted.
|
||
|
||
An existing linked Pulse Agent can supply current filesystem readings while
|
||
Proxmox guest reads are deferred. Conversely, a stale agent can leave retained
|
||
values. Compare the collection source, same guest identity and filesystem; a
|
||
working Machines view does not prove that the QEMU-only path recovered. Use
|
||
[existing Machines readings](#use-existing-machines-readings-without-changing-the-guest)
|
||
only with those distinctions, without installing another agent.
|
||
|
||
Use normally collected observations and the guest's established filesystem
|
||
view for capacity decisions. Do not run Diagnostics, guest-agent probes,
|
||
a backup or a restart to turn an unknown reading into a number. Do not bypass a
|
||
guest-read pause or widen token access. None of these display states proves
|
||
thaw or successful workload writes; [Backup safety](#backup-safety) still applies.
|
||
|
||
If other disks have readings but one filesystem is absent, use
|
||
[missing-filesystem checks](#one-filesystem-is-missing-but-other-disks-have-readings)
|
||
before treating it as a guest-agent setup failure.
|
||
|
||
### One filesystem is missing but other disks have readings
|
||
|
||
A current root-disk reading does not establish that every data filesystem is
|
||
monitored. Compare the **same guest and collection source**, using its existing
|
||
filesystem view and Pulse's **Filesystems** rows. Keep the observation times;
|
||
an old number or recent agent contact does not prove a current disk reading.
|
||
|
||
- **Attached virtual disk:** its allocated size does not establish a mounted
|
||
filesystem or its used space inside the guest.
|
||
- **Separate local filesystem:** ext4, XFS or Btrfs at `/var/lib/containers` or
|
||
`/var/lib/docker` is not a container layer just because of its directory name.
|
||
If Pulse omits it, its usage is unknown in Pulse, not zero.
|
||
- **Excluded layer or remote mount:** `overlay`, `tmpfs`, NFS and SMB are excluded
|
||
from filesystem usage. Their absence alone does not establish a missing local
|
||
data disk.
|
||
|
||
**Pulse v6.6.0 filters `/var/lib/containers` and `/var/lib/docker` by path.**
|
||
That can also hide a real local filesystem mounted there, even when the QEMU
|
||
Guest Agent returns it. This is separate from an absent or stopped agent;
|
||
working readings for other disks do not rule it out. A missing filesystem at
|
||
another path can have a different cause.
|
||
|
||
**Backup inclusion and capacity monitoring are separate.** Excluding a virtual
|
||
disk from Proxmox backups does not make its mounted data disposable or explain
|
||
its absence from filesystem usage. Leave an intentionally excluded disk
|
||
excluded; enabling backups is not a capacity-monitoring repair.
|
||
|
||
For capacity decisions, use the guest's established filesystem view, or
|
||
[current readings from an already linked Pulse Agent](#use-existing-machines-readings-without-changing-the-guest),
|
||
with the same guest, filesystem and observation time. An alternative view does
|
||
not repair the missing API reading or establish complete monitoring.
|
||
**Do not remount or move data, change backup selection, install another agent,
|
||
restart services or run guest-agent probes just to make the disk appear.**
|
||
If a backup, freeze/thaw or unresponsive guest is involved,
|
||
[Backup safety](#backup-safety) takes precedence.
|
||
|
||
For a report, use facts already available: the running Pulse version, whether
|
||
this is the Proxmox API or a Pulse Agent view, which filesystem is missing and
|
||
which still have readings. Keep the filesystem type and whether it has its own
|
||
device if already known; unknown is valid. Use consistent private aliases for
|
||
guest, device and mount names, retaining a relevant standard path such as
|
||
`/var/lib/containers` without private suffixes. Do not post full mount tables,
|
||
fstab, VM configuration, raw guest-agent responses or Diagnostics exports.
|
||
There is no need to collect these facts again if they are in the existing report.
|
||
|
||
### A missing reading is not an installation diagnosis
|
||
|
||
[Check the reading's context](#current-retained-and-unavailable-disk-readings)
|
||
before treating a dash or a retained number as a setup failure.
|
||
|
||
Pulse's **“agent not running”** disk explanation means Proxmox could not query
|
||
the guest agent. It can also cover a general guest-agent HTTP 500 response; it
|
||
does not establish whether an agent is absent or stopped. An unknown explanation
|
||
establishes neither. **Do not install, enable or restart an agent solely to clear
|
||
a disk dash.**
|
||
|
||
Read [Backup safety](#backup-safety) before changing anything. During a backup,
|
||
freeze/thaw or an unresponsive-guest incident, defer setup and live probes and
|
||
use the guest/platform's established recovery procedure. A running VM, an absent
|
||
lock or an OK backup does not prove thaw. Keep the monitoring-outage precaution
|
||
until independent checks confirm thaw, fresh successful writes to **every
|
||
filesystem covered by the backup** and workload liveness. Restore only services
|
||
and timers that were previously active.
|
||
|
||
When the guest is responsive and outside those conditions, review its existing
|
||
agent configuration and guest-local service through your normal console. Use
|
||
[Setup](#-setup) only if it actually needs configuration and the guest OS has a
|
||
supported QEMU Guest Agent. The Linux package name is not a Windows or Android
|
||
installation instruction. If no supported agent is available, use the guest's
|
||
own filesystem tools; missing Pulse usage is unknown, not zero.
|
||
|
||
### Windows readings after a Pulse restart
|
||
|
||
If Windows disks become **Unavailable** after Pulse restarts, a
|
||
**guest reads paused** or `agent-cooldown` explanation describes Pulse's deferred
|
||
collection, not a stopped Windows service or proof that the guest is frozen.
|
||
Windows does not provide the Linux `/proc/meminfo` file. An existing HTTP 500
|
||
for that file alone does not establish why filesystem reads are missing; do not
|
||
grant more privileges or change the guest's file-read policy to make it succeed.
|
||
|
||
Keep the original sequence: which readings worked before the Pulse restart,
|
||
the existing error and times, and whether normal Windows use remained responsive.
|
||
A later working reading from a Pulse Agent is a different collection path, not
|
||
confirmation that QEMU Guest Agent reads recovered. For capacity decisions, use
|
||
Windows' own filesystem view or
|
||
[current readings from an already installed Pulse Agent](#use-existing-machines-readings-without-changing-the-guest).
|
||
Keep the same guest identity, filesystem and observation time with the comparison.
|
||
|
||
Do not repeat the restart, run Diagnostics or guest-agent probes, clear a
|
||
cooldown, or install, remove or restart either agent just to diagnose this state.
|
||
If those observations are already in your report, do not collect them again.
|
||
An expired cooldown or a number returning is not proof that every volume or
|
||
History recovered. If the workload is unresponsive or a backup is involved,
|
||
[Backup safety](#backup-safety) takes precedence; these interim views do not
|
||
prove thaw or successful writes.
|
||
|
||
### Use existing Machines readings without changing the guest
|
||
|
||
The Proxmox disk view and an in-guest **Pulse Agent** use different collection
|
||
paths. A paused Proxmox guest-agent read does not mean the Pulse Agent has
|
||
stopped reporting. If the affected VM **already has a Pulse Agent** and an
|
||
existing entry in **Machines**, check that view's filesystem readings and
|
||
History before changing anything in the guest.
|
||
|
||
Confirm the Machines entry belongs to the **same guest**, using its existing
|
||
identity and host details, not a similar name alone. Check the filesystem and
|
||
its observation time: a retained History sample or an agent's recent contact
|
||
is not proof of a current disk reading. Use available, current readings there
|
||
as an interim view; this does not repair the missing Proxmox reading or prove
|
||
that the two entries are linked correctly. If the guest has no existing Pulse
|
||
Agent entry or no current filesystem readings, use its own filesystem tools
|
||
through your normal interface. **Do not install another agent, restart services,
|
||
restore a VM or force guest-agent checks just to recover these readings.**
|
||
|
||
This alternative does **not** relax [Backup safety](#backup-safety). A responsive
|
||
guest, running agent services, working Machines readings or an expired cooldown
|
||
is not proof of thaw and successful writes to every filesystem covered by the
|
||
backup. Keep the monitoring-outage precaution until those independent checks
|
||
pass; do not clear or bypass a guest-read pause to test recovery.
|
||
|
||
| Observation | Useful next check |
|
||
| --- | --- |
|
||
| **Disk shows “-”** | Read its explanation and observation time. Check the owning host, current VM options, guest-local service and configured API token access. |
|
||
| **Permission denied** | First check whether this VM is an intended monitoring target. Preserve intentionally restricted access. For intended targets only, review the token and account's effective read privileges, including privilege-separated token ACLs, outside backups or guest incidents. A successful root command would not disprove this error; a denied read does not establish guest or filesystem health. |
|
||
| **Timeout or backup lock** | Check the existing backup/task timeline and guest workload locally. Defer active guest-agent probes; increasing a timeout is not a contention or thaw repair. |
|
||
| **Rocky Linux / RHEL memory missing** | Review `/etc/sysconfig/qemu-ga` inside the guest. File-read restrictions can explain memory collection failure; they do not by themselves prove why filesystem usage is absent. Change the guest's allowlist or restart its agent only through your normal maintenance procedure, outside backups. |
|
||
| **Windows service stopped** | Check the QEMU Guest Agent service inside Windows. Schedule any restart outside backups. |
|
||
|
||
### Passive host preflight
|
||
|
||
The current `scripts/test-vm-disk.sh` helper reads only local VM status and
|
||
current configuration, with bounded timeouts and byte limits. It sends **no guest-agent
|
||
commands**, reads no guest files, and changes no service, lock or ACL. It requires
|
||
local `qm`, Bash, GNU `timeout` and Python 3; it downloads nothing. Use it
|
||
on the VM's owning Proxmox host with an account permitted to read that local
|
||
configuration (normally through `sudo`).
|
||
|
||
Use a reviewed checkout containing this passive helper. Inspect the file
|
||
before running it: older copies send `ping` and `get-fsinfo` to the guest. Do
|
||
not pipe a network download into a root shell.
|
||
|
||
```bash
|
||
# From the reviewed Pulse checkout; replace 100 with the affected VM ID.
|
||
sudo bash ./scripts/test-vm-disk.sh 100
|
||
```
|
||
|
||
The output distinguishes the running/stopped state, agent configuration and
|
||
a reported backup/other lock without dumping the full VM configuration. A
|
||
missing or unreadable lock is not permission to probe the guest: a backup can
|
||
start immediately after the read. A non-zero exit means a required read failed
|
||
or the response could not be interpreted; it is not an empty or healthy result.
|
||
Status replies are limited to 256 bytes and configuration to 64 KiB. Oversized
|
||
or corrupt replies fail without interpreting a truncated prefix, printing raw
|
||
configuration or saving it to disk. Inspect the configuration privately rather
|
||
than retrying with guest-agent probes.
|
||
Each read has a ten-second hard deadline covering both `qm` and its response
|
||
reader. If either stalls, only that local collection group is stopped, including
|
||
readers that ignore TERM or retain an open output pipe. No VM, guest agent or
|
||
service is stopped. A timeout is an incomplete preflight, not an absent lock;
|
||
do not remove the deadline or repeat it against an unresponsive host.
|
||
**A successful preflight does not verify disk freshness, guest-agent
|
||
responsiveness or thaw.**
|
||
|
||
Keep only the relevant time, Pulse and Proxmox versions, observation/error and
|
||
backup task sequence for a report. Redact private VM names, paths and addresses;
|
||
never include credentials, full VM configuration, service environments or a
|
||
whole host journal. See [Getting help](TROUBLESHOOTING.md#-getting-help).
|
||
|
||
## 📝 Notes
|
||
|
||
- **Network mounts:** NFS/SMB mounts are excluded from filesystem usage.
|
||
- **Databases:** Filesystem usage can differ from database-internal metrics.
|
||
- **Containers:** LXC collection does not use the VM's QEMU Guest Agent.
|