Displaying 3 results from an estimated 3 matches for "6ac1019".
2016 Feb 02
3
Question: resize: non-sparse copying of extended partition
Hello everyone!
I faced an issue using virt-resize. I have an image with
extended -> logical -> pv -> lv -> ext4
(although I think LVM does not matter).
And image is 65G virtual size and 1G actualSize.
When I call virt-resize to 60G, it blindly copies the extended partition
content,
but does it non-sparse (resize.ml:1231), irrespective to --no-sparse option.
So the destination image
2016 May 22
0
[PATCH 2/2] ocaml tools: Use a common debug function.
...fs debugging messages, it is
+ sent to [stderr]. *)
+
val open_guestfs : ?identifier:string -> unit -> Guestfs.guestfs
(** Common function to create a new Guestfs handle, with common options
(e.g. debug, tracing) already set. *)
diff --git a/resize/resize.ml b/resize/resize.ml
index 6ac1019..22386ce 100644
--- a/resize/resize.ml
+++ b/resize/resize.ml
@@ -368,10 +368,8 @@ read the man page virt-resize(1).
let sectsize = Int64.of_int (g#blockdev_getss "/dev/sdb") in
let insize = g#blockdev_getsize64 "/dev/sda" in
let outsize = g#blockdev_getsize64 &qu...
2016 May 22
4
ocaml tools: Use a common debug function.
Add a Common_utils.debug function for printing messages
only when in verbose mode.
Rich.