Displaying 20 results from an estimated 56 matches for "pvs_full".
2016 Jan 19
0
[PATCHv2 3/3] resize: preserve GPT disk GUID.
...et disk_guid =
+ match parttype with
+ | MBR -> None
+ | GPT ->
+ try Some (g#part_get_disk_guid "/dev/sda")
+ with G.Error _ -> None in
+
(* Build a data structure describing the source disk's partition layout. *)
let get_partition_content =
let pvs_full = Array.to_list (g#pvs_full ()) in
@@ -977,7 +984,10 @@ read the man page virt-resize(1).
let last_error = ref "" in
let rec initialize_partition_table g attempts =
let ok =
- try g#part_init "/dev/sdb" parttype_string; true
+ try
+ g#part...
2014 Sep 09
2
CoreOS support
Hello,
is CoreOS supported by libguestfs?
I was trying to run several commands some were successful others ended up with an error:
for example virt-df was OK but when I tried to do virt-resize I got the following error message:
root@ny2proxd03:/var/lib/vz/images/100# virt-resize --expand /dev/sda3 vm-100-disk-1.qcow2 vm-100-disk-1.qcow2.resized
Examining vm-100-disk-1.qcow2 ...
100%
2016 Jan 19
4
[PATCHv2 0/3] Get/set disk GPT GUID API and support in virt-resize.
Some OSes (e.g. Windows Server 2012 R2) fail to boot after virt-resize
due to changed disk guid. To fix it, we add new APIs:
part_get_disk_guid
part_set_disk_guid
part_set_disk_guid_random
We also preserve disk GUID in virt-resize.
Maxim Perevedentsev (3):
New API: part_get_disk_guid and part_set_disk_guid.
New API: part_set_disk_guid_random.
resize: preserve GPT disk GUID.
2012 Dec 15
1
virt-resize Fatal error: exception Guestfs.Error("e2fsck_f
...tfs: trace: part_get_parttype "/dev/sda"
libguestfs: trace: part_get_parttype = "msdos"
/home/solusvm/kvm/template/linux-ubuntu-12.04-server-x86_64-min-gen2-v1.gz size 1073741824 bytes
/dev/vg0/kvm105_img size 42949672960 bytes
partition table type: msdos
libguestfs: trace: pvs_full
libguestfs: trace: pvs_full = <struct guestfs_lvm_pv_list *>
libguestfs: trace: part_list "/dev/sda"
libguestfs: trace: part_list = <struct guestfs_partition_list *>
libguestfs: trace: part_get_bootable "/dev/sda" 1
libguestfs: trace: part_get_bootable = 1
libg...
2014 Sep 09
2
Re: CoreOS support
...uestfs: trace: blockdev_getsize64 = 10737418240
libguestfs: trace: part_get_parttype "/dev/sda"
libguestfs: trace: part_get_parttype = "gpt"
vm-100-disk-1.qcow2 size 10737418240 bytes
vm-100-disk-1.qcow2.resized size 10737418240 bytes
partition table type: gpt
libguestfs: trace: pvs_full
libguestfs: trace: pvs_full = <struct guestfs_lvm_pv_list *>
libguestfs: trace: part_list "/dev/sda"
libguestfs: trace: part_list = <struct guestfs_partition_list *>
libguestfs: trace: part_get_bootable "/dev/sda" 1
libguestfs: trace: part_get_bootable = 1
libguestfs...
2014 Sep 26
9
[PATCH v4 0/7] virt-resize: add support for resizing logical partitions
Hi Rich,
This is v3 series to add support for resizing MBR logical partitions.
changes to v3:
1. merge patch 1 and patch 3 in v3
2. let mbr_part_type return 'primary' for GPT partitions
3. add test for resizing logical partitions
4. fix extending the extended partition (yet). see patch 7.
changes to v2:
1. remove p_part_num
2. remove filter_parts
3. name the function
2014 Sep 09
2
Re: CoreOS support
...00 seconds
guestfsd: main_loop: new request, len 0x34
parted -s -m /dev/null
parted -m -- /dev/sda unit b print
libguestfs: recv_from_daemon: 48 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 d6 | 00 00 00 01 | 00 12 34 06 | ...
libguestfs: trace: part_get_parttype = "gpt"
libguestfs: trace: pvs_full
libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 0c | 00 00 00 00 | ...
guestfsd: main_loop: proc 214 (part_get_parttype) took 0.04 seconds
guestfsd: main_loop: new request, len 0x28
lvm pvs -o pv_name,pv_uuid,pv_fmt,pv_size,dev_size,pv_free,pv_used,pv_attr,p...
2012 Jan 12
1
Libguestfs gobject bindings
I'm currently working on gobject bindings for libguestfs. I haven't got
as far as compiling anything yet, but I've attached the C header for
initial review.
Matt
--
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team
GPG ID: D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490
-------------- next part --------------
An embedded and
2017 Feb 21
1
[PATCH] generator: Put all the daemon procedure numbers (proc_nr)
This is a follow-up to the other generator changes in:
https://www.redhat.com/archives/libguestfs/2017-February/msg00217.html
Rich.
2012 Apr 30
5
[PATCH 0/4 v1] Remove gettextify, implement OCaml gettext.
Version 1 of the patch, for discussion, but not to be applied. It
does work, but needs a lot more testing.
This removes all the psychopathic gettextify cruft, and replaces it
with a 99 line Makefile.am. A large win, I think.
The third patch implements gettext support in the OCaml tools.
The fourth patch is just for illustration. It shows the consequent
changes to libguestfs.pot and the po
2011 Jan 29
0
builder-debian libguestfs success 6975e87153f593fddd5c27435c2e6347825daca9
...uot;guestfs_inspect_get_format" has no tests
warning: "guestfs_inspect_is_live" has no tests
warning: "guestfs_inspect_is_netinst" has no tests
warning: "guestfs_inspect_is_multipart" has no tests
warning: "guestfs_ll" has no tests
warning: "guestfs_pvs_full" has no tests
warning: "guestfs_vgs_full" has no tests
warning: "guestfs_lvs_full" has no tests
warning: "guestfs_aug_init" has no tests
warning: "guestfs_aug_close" has no tests
warning: "guestfs_aug_defvar" has no tests
warning: "guestfs...
2011 Feb 03
1
builder-debian libguestfs success 8d7d7c4ecfd202e04d18736718e9c5bb125ce4f0
...quot;guestfs_inspect_is_live" has no tests
warning: "guestfs_inspect_is_netinst" has no tests
warning: "guestfs_inspect_is_multipart" has no tests
warning: "guestfs_set_attach_method" has no tests
warning: "guestfs_ll" has no tests
warning: "guestfs_pvs_full" has no tests
warning: "guestfs_vgs_full" has no tests
warning: "guestfs_lvs_full" has no tests
warning: "guestfs_aug_init" has no tests
warning: "guestfs_aug_close" has no tests
warning: "guestfs_aug_defvar" has no tests
warning: "guestfs...
2011 Feb 01
0
builder-debian libguestfs success 5079e0fff3f3c150818adb6febad6393b674f126
...uot;guestfs_inspect_get_format" has no tests
warning: "guestfs_inspect_is_live" has no tests
warning: "guestfs_inspect_is_netinst" has no tests
warning: "guestfs_inspect_is_multipart" has no tests
warning: "guestfs_ll" has no tests
warning: "guestfs_pvs_full" has no tests
warning: "guestfs_vgs_full" has no tests
warning: "guestfs_lvs_full" has no tests
warning: "guestfs_aug_init" has no tests
warning: "guestfs_aug_close" has no tests
warning: "guestfs_aug_defvar" has no tests
warning: "guestfs...
2011 Feb 08
0
builder-debian libguestfs success f455dc3814bf9f7e7e894ba81360acb0edd92464
...quot;guestfs_inspect_is_live" has no tests
warning: "guestfs_inspect_is_netinst" has no tests
warning: "guestfs_inspect_is_multipart" has no tests
warning: "guestfs_set_attach_method" has no tests
warning: "guestfs_ll" has no tests
warning: "guestfs_pvs_full" has no tests
warning: "guestfs_vgs_full" has no tests
warning: "guestfs_lvs_full" has no tests
warning: "guestfs_aug_init" has no tests
warning: "guestfs_aug_close" has no tests
warning: "guestfs_aug_defvar" has no tests
warning: "guestfs...
2011 Feb 08
5
builder-ubuntu libguestfs success f455dc3814bf9f7e7e894ba81360acb0edd92464
...quot;guestfs_inspect_is_live" has no tests
warning: "guestfs_inspect_is_netinst" has no tests
warning: "guestfs_inspect_is_multipart" has no tests
warning: "guestfs_set_attach_method" has no tests
warning: "guestfs_ll" has no tests
warning: "guestfs_pvs_full" has no tests
warning: "guestfs_vgs_full" has no tests
warning: "guestfs_lvs_full" has no tests
warning: "guestfs_aug_init" has no tests
warning: "guestfs_aug_close" has no tests
warning: "guestfs_aug_defvar" has no tests
warning: "guestfs...
2011 Jan 29
0
builder-ubuntu libguestfs success 6975e87153f593fddd5c27435c2e6347825daca9
...uot;guestfs_inspect_get_format" has no tests
warning: "guestfs_inspect_is_live" has no tests
warning: "guestfs_inspect_is_netinst" has no tests
warning: "guestfs_inspect_is_multipart" has no tests
warning: "guestfs_ll" has no tests
warning: "guestfs_pvs_full" has no tests
warning: "guestfs_vgs_full" has no tests
warning: "guestfs_lvs_full" has no tests
warning: "guestfs_aug_init" has no tests
warning: "guestfs_aug_close" has no tests
warning: "guestfs_aug_defvar" has no tests
warning: "guestfs...
2011 Feb 03
1
builder-ubuntu libguestfs success 8d7d7c4ecfd202e04d18736718e9c5bb125ce4f0
...quot;guestfs_inspect_is_live" has no tests
warning: "guestfs_inspect_is_netinst" has no tests
warning: "guestfs_inspect_is_multipart" has no tests
warning: "guestfs_set_attach_method" has no tests
warning: "guestfs_ll" has no tests
warning: "guestfs_pvs_full" has no tests
warning: "guestfs_vgs_full" has no tests
warning: "guestfs_lvs_full" has no tests
warning: "guestfs_aug_init" has no tests
warning: "guestfs_aug_close" has no tests
warning: "guestfs_aug_defvar" has no tests
warning: "guestfs...
2011 Mar 11
0
builder-debian libguestfs success eb304e9689ca474834207605ed52c369bcdec6ea
...quot;guestfs_inspect_is_live" has no tests
warning: "guestfs_inspect_is_netinst" has no tests
warning: "guestfs_inspect_is_multipart" has no tests
warning: "guestfs_set_attach_method" has no tests
warning: "guestfs_ll" has no tests
warning: "guestfs_pvs_full" has no tests
warning: "guestfs_vgs_full" has no tests
warning: "guestfs_lvs_full" has no tests
warning: "guestfs_aug_init" has no tests
warning: "guestfs_aug_close" has no tests
warning: "guestfs_aug_defvar" has no tests
warning: "guestfs...
2011 Feb 01
0
builder-ubuntu libguestfs success 5079e0fff3f3c150818adb6febad6393b674f126
...uot;guestfs_inspect_get_format" has no tests
warning: "guestfs_inspect_is_live" has no tests
warning: "guestfs_inspect_is_netinst" has no tests
warning: "guestfs_inspect_is_multipart" has no tests
warning: "guestfs_ll" has no tests
warning: "guestfs_pvs_full" has no tests
warning: "guestfs_vgs_full" has no tests
warning: "guestfs_lvs_full" has no tests
warning: "guestfs_aug_init" has no tests
warning: "guestfs_aug_close" has no tests
warning: "guestfs_aug_defvar" has no tests
warning: "guestfs...
2011 Mar 04
0
builder-ubuntu libguestfs success eda9826d25336bcf661700270c580d4d62128750
...quot;guestfs_inspect_is_live" has no tests
warning: "guestfs_inspect_is_netinst" has no tests
warning: "guestfs_inspect_is_multipart" has no tests
warning: "guestfs_set_attach_method" has no tests
warning: "guestfs_ll" has no tests
warning: "guestfs_pvs_full" has no tests
warning: "guestfs_vgs_full" has no tests
warning: "guestfs_lvs_full" has no tests
warning: "guestfs_aug_init" has no tests
warning: "guestfs_aug_close" has no tests
warning: "guestfs_aug_defvar" has no tests
warning: "guestfs...