The RRD migration tool currently has the limitation of not migrating RRD files for storages with a '.old' suffix. Mention the list of such storages below the RRD file list and migration command so that users can adapt before executing the migration command.
Signed-off-by: Fiona Ebner <f.eb...@proxmox.com> --- New in v2. PVE/CLI/pve8to9.pm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/PVE/CLI/pve8to9.pm b/PVE/CLI/pve8to9.pm index 8c26ddbd..0109fade 100644 --- a/PVE/CLI/pve8to9.pm +++ b/PVE/CLI/pve8to9.pm @@ -1911,10 +1911,18 @@ sub check_rrd_migration { . join("\n\t ", $old_files->@*) . "\n\tPlease run the following command manually:\n" . "\t/usr/libexec/proxmox/proxmox-rrd-migration-tool --migrate\n"); + + my $cfg = PVE::Storage::config(); + my @unhandled_storages = grep { $_ =~ m|\.old$| } sort keys $cfg->{ids}->%*; + if (scalar(@unhandled_storages) > 0) { + my $storage_list_txt = join(", ", @unhandled_storages); + log_warn("RRD data for the following storages cannot be migrated" + . " automatically: $storage_list_txt\nRename the RRD files to a name without '.old'" + . " before migration and re-add that suffix after migration."); + } } else { log_pass("No old RRD metric files found, normally this means all have been migrated."); } - } else { log_info("Check space requirements for RRD migration..."); # multiplier values taken from KiB sizes of old and new RRD files -- 2.47.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel