diff --git a/internal/localapi/disks.go b/internal/localapi/disks.go index 9c2c0aa..6caee5e 100644 --- a/internal/localapi/disks.go +++ b/internal/localapi/disks.go @@ -239,7 +239,9 @@ func (s *Server) handleDisks(w http.ResponseWriter, r *http.Request, vmid int) { // from the host directly: resolve the device by fs-UUID, and statfs the mount for size — // else the agent-view shows "—" for the device and no size bar. if d.UUID != "" { - if dev, err := storage.ByUUIDDevicePath(d.UUID); err == nil { + // Resolve to the real /dev node (e.g. /dev/sdd), not the by-uuid symlink path, to match + // how Observe-sourced rows display the backing device. + if dev, err := storage.ResolveStorageDevice("uuid:" + d.UUID); err == nil { di.BackingDevice = dev } }