search for: part_get_boot

Displaying 20 results from an estimated 59 matches for "part_get_boot".

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%
2014 Sep 09
2
Re: CoreOS support
...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: trace: part_get_mbr_id "/dev/sda" 1 libguestfs: trace: part_get_mbr_id = -1 (error) libguestfs: trace: vfs_type "/dev/sda1" libguestfs: trace: vfs_type = "vfat" libguestfs: trace: mount_ro...
2012 Dec 15
1
virt-resize Fatal error: exception Guestfs.Error("e2fsck_f
...105_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 libguestfs: trace: part_get_mbr_id "/dev/sda" 1 libguestfs: trace: part_get_mbr_id = 131 libguestfs: trace: vfs_type "/dev/sda1" libguestfs: trace: vfs_type = "ext4" libguestfs: trace: mount_ro &...
2014 Sep 09
2
Re: CoreOS support
...ook 0.06 seconds guestfsd: main_loop: new request, len 0x34 parted -m -- /dev/sda unit b print libguestfs: recv_from_daemon: 240 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 d5 | 00 00 00 01 | 00 12 34 08 | ... libguestfs: trace: part_list = <struct guestfs_partition_list *> libguestfs: trace: part_get_bootable "/dev/sda" 1 libguestfs: send_to_daemon: 60 bytes: 00 00 00 38 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 ea | 00 00 00 00 | ... guestfsd: main_loop: proc 213 (part_list) took 0.03 seconds guestfsd: main_loop: new request, len 0x38 parted -m -- /dev/sda unit b print libguestfs: recv_from_...
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 Feb 03
2
[PATCH] resize: properly restore GPT partition types
...ype) and string_of_partition_content = function | ContentUnknown -> "unknown data" @@ -440,15 +448,21 @@ read the man page virt-resize(1). let part_num = Int32.to_int part_num in let name = sprintf "/dev/sda%d" part_num in let bootable = g#part_get_bootable "/dev/sda" part_num in - let mbr_id = - try Some (g#part_get_mbr_id "/dev/sda" part_num) - with G.Error _ -> None in + let mbr_id, gpt_type = + match parttype with + | GPT -> + None, (try Some (...
2014 Jul 16
2
Re: virt-resize: support to MBR logical partitions and some question
On Tue, Jul 15, 2014 at 09:01:47AM +0100, Richard W.M. Jones wrote: > The answer is I don't know. But there are a few things you can try: > > (1) Most importantly, enable tracing (export LIBGUESTFS_TRACE=1) and > get a list of operations that are performed in the order they are > performed. This is vital for debugging this. > > (2) When the error happens, run
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
2011 Jan 29
0
builder-debian libguestfs success 6975e87153f593fddd5c27435c2e6347825daca9
...test_write_0 29/321 test_write_1 30/321 test_write_2 31/321 test_write_3 32/321 test_write_4 33/321 test_write_5 34/321 test_fill_pattern_0 35/321 test_base64_in_0 36/321 test_get_umask_0 37/321 test_lvresize_free_0 38/321 test_checksum_device_0 39/321 test_part_get_mbr_id_0 40/321 test_part_get_bootable_0 41/321 test_part_del_0 42/321 test_vgscan_0 43/321 test_txz_in_0 44/321 test_zero_device_0 45/321 test_copy_size_0 46/321 test_initrd_cat_0 47/321 test_vgrename_0 48/321 test_lvrename_0 49/321 test_filesize_0 50/321 test_dd_0 51/321 test_available_0 52/321 test_fill_0 53/321 test...
2011 Feb 03
1
builder-debian libguestfs success 8d7d7c4ecfd202e04d18736718e9c5bb125ce4f0
...test_write_0 29/322 test_write_1 30/322 test_write_2 31/322 test_write_3 32/322 test_write_4 33/322 test_write_5 34/322 test_fill_pattern_0 35/322 test_base64_in_0 36/322 test_get_umask_0 37/322 test_lvresize_free_0 38/322 test_checksum_device_0 39/322 test_part_get_mbr_id_0 40/322 test_part_get_bootable_0 41/322 test_part_del_0 42/322 test_vgscan_0 43/322 test_txz_in_0 44/322 test_zero_device_0 45/322 test_copy_size_0 46/322 test_initrd_cat_0 47/322 test_vgrename_0 48/322 test_lvrename_0 49/322 test_filesize_0 50/322 test_dd_0 51/322 test_available_0 52/322 test_fill_0 53/322 test...
2011 Feb 01
0
builder-debian libguestfs success 5079e0fff3f3c150818adb6febad6393b674f126
...test_write_0 29/321 test_write_1 30/321 test_write_2 31/321 test_write_3 32/321 test_write_4 33/321 test_write_5 34/321 test_fill_pattern_0 35/321 test_base64_in_0 36/321 test_get_umask_0 37/321 test_lvresize_free_0 38/321 test_checksum_device_0 39/321 test_part_get_mbr_id_0 40/321 test_part_get_bootable_0 41/321 test_part_del_0 42/321 test_vgscan_0 43/321 test_txz_in_0 44/321 test_zero_device_0 45/321 test_copy_size_0 46/321 test_initrd_cat_0 47/321 test_vgrename_0 48/321 test_lvrename_0 49/321 test_filesize_0 50/321 test_dd_0 51/321 test_available_0 52/321 test_fill_0 53/321 test...
2011 Feb 08
0
builder-debian libguestfs success f455dc3814bf9f7e7e894ba81360acb0edd92464
...test_write_0 29/322 test_write_1 30/322 test_write_2 31/322 test_write_3 32/322 test_write_4 33/322 test_write_5 34/322 test_fill_pattern_0 35/322 test_base64_in_0 36/322 test_get_umask_0 37/322 test_lvresize_free_0 38/322 test_checksum_device_0 39/322 test_part_get_mbr_id_0 40/322 test_part_get_bootable_0 41/322 test_part_del_0 42/322 test_vgscan_0 43/322 test_txz_in_0 44/322 test_zero_device_0 45/322 test_copy_size_0 46/322 test_initrd_cat_0 47/322 test_vgrename_0 48/322 test_lvrename_0 49/322 test_filesize_0 50/322 test_dd_0 51/322 test_available_0 52/322 test_fill_0 53/322 test...
2011 Feb 08
5
builder-ubuntu libguestfs success f455dc3814bf9f7e7e894ba81360acb0edd92464
...test_write_0 29/322 test_write_1 30/322 test_write_2 31/322 test_write_3 32/322 test_write_4 33/322 test_write_5 34/322 test_fill_pattern_0 35/322 test_base64_in_0 36/322 test_get_umask_0 37/322 test_lvresize_free_0 38/322 test_checksum_device_0 39/322 test_part_get_mbr_id_0 40/322 test_part_get_bootable_0 41/322 test_part_del_0 42/322 test_vgscan_0 43/322 test_txz_in_0 44/322 test_zero_device_0 45/322 test_copy_size_0 46/322 test_initrd_cat_0 47/322 test_vgrename_0 48/322 test_lvrename_0 49/322 test_filesize_0 50/322 test_dd_0 51/322 test_available_0 52/322 test_fill_0 53/322 test...
2011 Jan 29
0
builder-ubuntu libguestfs success 6975e87153f593fddd5c27435c2e6347825daca9
...test_write_0 29/321 test_write_1 30/321 test_write_2 31/321 test_write_3 32/321 test_write_4 33/321 test_write_5 34/321 test_fill_pattern_0 35/321 test_base64_in_0 36/321 test_get_umask_0 37/321 test_lvresize_free_0 38/321 test_checksum_device_0 39/321 test_part_get_mbr_id_0 40/321 test_part_get_bootable_0 41/321 test_part_del_0 42/321 test_vgscan_0 43/321 test_txz_in_0 44/321 test_zero_device_0 45/321 test_copy_size_0 46/321 test_initrd_cat_0 47/321 test_vgrename_0 48/321 test_lvrename_0 49/321 test_filesize_0 50/321 test_dd_0 51/321 test_available_0 52/321 test_fill_0 53/321 test...
2011 Feb 03
1
builder-ubuntu libguestfs success 8d7d7c4ecfd202e04d18736718e9c5bb125ce4f0
...test_write_0 29/322 test_write_1 30/322 test_write_2 31/322 test_write_3 32/322 test_write_4 33/322 test_write_5 34/322 test_fill_pattern_0 35/322 test_base64_in_0 36/322 test_get_umask_0 37/322 test_lvresize_free_0 38/322 test_checksum_device_0 39/322 test_part_get_mbr_id_0 40/322 test_part_get_bootable_0 41/322 test_part_del_0 42/322 test_vgscan_0 43/322 test_txz_in_0 44/322 test_zero_device_0 45/322 test_copy_size_0 46/322 test_initrd_cat_0 47/322 test_vgrename_0 48/322 test_lvrename_0 49/322 test_filesize_0 50/322 test_dd_0 51/322 test_available_0 52/322 test_fill_0 53/322 test...
2011 Mar 11
0
builder-debian libguestfs success eb304e9689ca474834207605ed52c369bcdec6ea
...test_write_0 29/322 test_write_1 30/322 test_write_2 31/322 test_write_3 32/322 test_write_4 33/322 test_write_5 34/322 test_fill_pattern_0 35/322 test_base64_in_0 36/322 test_get_umask_0 37/322 test_lvresize_free_0 38/322 test_checksum_device_0 39/322 test_part_get_mbr_id_0 40/322 test_part_get_bootable_0 41/322 test_part_del_0 42/322 test_vgscan_0 43/322 test_txz_in_0 44/322 test_zero_device_0 45/322 test_copy_size_0 46/322 test_initrd_cat_0 47/322 test_vgrename_0 48/322 test_lvrename_0 49/322 test_filesize_0 50/322 test_dd_0 51/322 test_available_0 52/322 test_fill_0 53/322 test...
2011 Feb 01
0
builder-ubuntu libguestfs success 5079e0fff3f3c150818adb6febad6393b674f126
...test_write_0 29/321 test_write_1 30/321 test_write_2 31/321 test_write_3 32/321 test_write_4 33/321 test_write_5 34/321 test_fill_pattern_0 35/321 test_base64_in_0 36/321 test_get_umask_0 37/321 test_lvresize_free_0 38/321 test_checksum_device_0 39/321 test_part_get_mbr_id_0 40/321 test_part_get_bootable_0 41/321 test_part_del_0 42/321 test_vgscan_0 43/321 test_txz_in_0 44/321 test_zero_device_0 45/321 test_copy_size_0 46/321 test_initrd_cat_0 47/321 test_vgrename_0 48/321 test_lvrename_0 49/321 test_filesize_0 50/321 test_dd_0 51/321 test_available_0 52/321 test_fill_0 53/321 test...
2011 Mar 04
0
builder-ubuntu libguestfs success eda9826d25336bcf661700270c580d4d62128750
...test_write_0 29/322 test_write_1 30/322 test_write_2 31/322 test_write_3 32/322 test_write_4 33/322 test_write_5 34/322 test_fill_pattern_0 35/322 test_base64_in_0 36/322 test_get_umask_0 37/322 test_lvresize_free_0 38/322 test_checksum_device_0 39/322 test_part_get_mbr_id_0 40/322 test_part_get_bootable_0 41/322 test_part_del_0 42/322 test_vgscan_0 43/322 test_txz_in_0 44/322 test_zero_device_0 45/322 test_copy_size_0 46/322 test_initrd_cat_0 47/322 test_vgrename_0 48/322 test_lvrename_0 49/322 test_filesize_0 50/322 test_dd_0 51/322 test_available_0 52/322 test_fill_0 53/322 test...
2011 Mar 08
0
builder-debian libguestfs success 15ba6ae17d5272d3d906f4053ed424447dc910bd
...test_write_0 29/322 test_write_1 30/322 test_write_2 31/322 test_write_3 32/322 test_write_4 33/322 test_write_5 34/322 test_fill_pattern_0 35/322 test_base64_in_0 36/322 test_get_umask_0 37/322 test_lvresize_free_0 38/322 test_checksum_device_0 39/322 test_part_get_mbr_id_0 40/322 test_part_get_bootable_0 41/322 test_part_del_0 42/322 test_vgscan_0 43/322 test_txz_in_0 44/322 test_zero_device_0 45/322 test_copy_size_0 46/322 test_initrd_cat_0 47/322 test_vgrename_0 48/322 test_lvrename_0 49/322 test_filesize_0 50/322 test_dd_0 51/322 test_available_0 52/322 test_fill_0 53/322 test...
2011 Mar 25
0
builder-debian libguestfs success a0e3b2183733c7440ad017c4ffe361935672339b
...test_write_0 29/322 test_write_1 30/322 test_write_2 31/322 test_write_3 32/322 test_write_4 33/322 test_write_5 34/322 test_fill_pattern_0 35/322 test_base64_in_0 36/322 test_get_umask_0 37/322 test_lvresize_free_0 38/322 test_checksum_device_0 39/322 test_part_get_mbr_id_0 40/322 test_part_get_bootable_0 41/322 test_part_del_0 42/322 test_vgscan_0 43/322 test_txz_in_0 44/322 test_zero_device_0 45/322 test_copy_size_0 46/322 test_initrd_cat_0 47/322 test_vgrename_0 48/322 test_lvrename_0 49/322 test_filesize_0 50/322 test_dd_0 51/322 test_available_0 52/322 test_fill_0 53/322 test...