First steps to building ownership tables.
[virt-df.git] / lib / diskimage_lvm2.ml
index 4432e90..143f32b 100644 (file)
@@ -107,7 +107,7 @@ let rec probe lvm_plugin_id dev =
     let uuid, _ = read_pv_label dev in
     if !debug then
       eprintf "LVM2 detected PV UUID %s\n%!" uuid;
-    { lvm_plugin_id = lvm_plugin_id; pv_uuid = uuid }
+    { lvm_plugin_id = lvm_plugin_id; pv_uuid = uuid; pv_dev = dev }
   with exn ->
     if !debug then prerr_endline (Printexc.to_string exn);
     raise Not_found