No description
Find a file
Thomas Lamprecht d666ebd61a plugins: volume export: capture dd progress output line by line
The status=progress output of dd drives a terminal cursor, writing a
carriage return followed by an updated status line every second.
Without an errfunc, run_command passes stderr through unprocessed,
and inside a worker stderr is the task log file, so the progress
history of a whole transfer ends up embedded in a single log line.
Task log viewers then render that as one extremely long line that
needs excessive horizontal scrolling; reported with the task viewer
of the Proxmox Datacenter Manager for a cross-remote disk move.

Capture stderr with an errfunc to let run_command split the progress
output at carriage returns, logging each update as its own line.
This matches how command output is handled in other transfer paths
already, for example SSH-based storage migration, where the logfunc
of the receiving run_command does this splitting.

Reported-by: Arthur Bied-Charreton <a.bied-charreton@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2026-06-03 02:09:25 +02:00
debian bump version to 9.1.6 2026-05-29 21:46:06 +02:00
src plugins: volume export: capture dd progress output line by line 2026-06-03 02:09:25 +02:00
.gitignore gitignore: add build artifacts to .gitignore 2026-04-19 23:47:15 +02:00
ApiChangeLog bump API age and version 2026-05-29 12:23:25 +02:00
Makefile buildsys: add top-level make tidy target 2025-06-10 10:31:13 +02:00