You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(k8s): leave lost+found out of the volume move compare #7414
devops k8s volume move --storage-class longhorn (#7382) compares the two sides with CONST_K8S_VOLUME_MOVE_DIGEST_SCRIPT, which counts every entry. A new volume of a class with an ext4 filesystem, such as longhorn, has the directory ./lost+found that mkfs makes. A local-path volume is a directory on the node and has none. So the destination has one entry more, the metadata digests differ, and the move stops at the compare and undoes its steps.
Evidence of 2026-11-27 on the homelab: a copy of a test claim from local-path to a new longhorn volume gave entries 2004 on the source and entries 2005 on the destination, with equal files, bytes and content digests. A path diff showed only ./lost+found on the destination. The live check of #7382 passed only because its first copy failed, and the retry empties /dst with find -delete, which also removed lost+found.
Change
The digest script leaves out the top-level ./lost+found on each side (find . -path ./lost+found -prune -o ... in each find). tar still copies a lost+found of the source.
Acceptance criteria
A failing test first: each find of the digest script prunes ./lost+found.
A live move of a test claim from local-path to longhorn, whose first copy passes, ends with equal digests.
Activity
devops-cli-service commentedon Nov 27, 2026
Released in v0.225.1: https://github.com/dan-petty/devops-cli/releases/tag/v0.225.1
devops-cli-service commentedon Nov 27, 2026
Live since 2026-11-27 18:39 UTC