search for: blockdev_getss

Displaying 20 results from an estimated 66 matches for "blockdev_getss".

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%
2012 Dec 15
1
virt-resize Fatal error: exception Guestfs.Error("e2fsck_f
...aunch = 0 libguestfs: trace: lvm_set_filter "/dev/sda" libguestfs: trace: lvm_set_filter = 0 libguestfs: trace: available "ntfsprogs ntfs3g" libguestfs: trace: available = 0 libguestfs: trace: available "btrfs" libguestfs: trace: available = 0 libguestfs: trace: blockdev_getss "/dev/sdb" libguestfs: trace: blockdev_getss = 512 libguestfs: trace: blockdev_getsize64 "/dev/sda" libguestfs: trace: blockdev_getsize64 = 1073741824 libguestfs: trace: blockdev_getsize64 "/dev/sdb" libguestfs: trace: blockdev_getsize64 = 42949672960 libguestfs:...
2014 Sep 09
2
Re: CoreOS support
...nch = 0 libguestfs: trace: lvm_set_filter "/dev/sda" libguestfs: trace: lvm_set_filter = 0 libguestfs: trace: available "ntfsprogs ntfs3g" libguestfs: trace: available = 0 libguestfs: trace: available "btrfs" libguestfs: trace: available = -1 (error) libguestfs: trace: blockdev_getss "/dev/sdb" libguestfs: trace: blockdev_getss = 512 libguestfs: trace: blockdev_getsize64 "/dev/sda" libguestfs: trace: blockdev_getsize64 = 10737418240 libguestfs: trace: blockdev_getsize64 "/dev/sdb" libguestfs: trace: blockdev_getsize64 = 10737418240 libguestfs: trac...
2014 Sep 19
22
[PATCH v2 00/13] virt-resize: add support for resizing MBR logical partitions
Hi Rich, This is v2 series to add support for resizing MBR logical partitions. I found the reason of problem in v1 that parted reports error when adding logical partitions, is that logical partitions are not aligned to 2 sectors. This problem doesn't appear in v2. This is for early review, because of: 1. I'm not sure the splitting of patches is appropriate or not, but it's much
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
...c 216 (available) took 0.00 seconds guestfsd: main_loop: new request, len 0x38 guestfsd: error: btrfs: group not available gulibguestfs: recv_from_daemon: 76 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 d8 | 00 00 00 01 | 00 12 34 02 | ... libguestfs: trace: available = -1 (error) libguestfs: trace: blockdev_getss "/dev/sdb" libguestfs: send_to_daemon: 56 bytes: 00 00 00 34 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 3b | 00 00 00 00 | ... estfsd: main_loop: proc 216 (available) took 0.00 seconds guestfsd: main_loop: new request, len 0x34 udevadm settle blockdev --getss /dev/sdb libguestfs: recv_from_da...
2016 May 22
0
[PATCH 2/2] ocaml tools: Use a common debug function.
...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 "/dev/sdb" in - if verbose () then ( - printf "%s size %Ld bytes\n" (fst infile) insize; - printf "%s size %Ld bytes\n" outfile...
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
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.
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.
2009 Aug 12
23
[PATCH 0/23] factor and const-correctness
This started as a simple warning-elimination change. I'll get back to that series shortly ;-) It turned into a factorization and constification exercise during which I got a taste of ocaml. Thanks to Rich Jones for help with a few snippets in generator.ml. The overall result is that many previously-manually-maintained bits from daemon/*.c functions are now hoisted into the automatically-
2011 Jan 29
0
builder-debian libguestfs success 6975e87153f593fddd5c27435c2e6347825daca9
...ksum_5 204/321 test_checksum_6 205/321 test_checksum_7 206/321 test_checksum_8 207/321 test_download_0 208/321 test_upload_0 209/321 test_blockdev_rereadpt_0 210/321 test_blockdev_flushbufs_0 211/321 test_blockdev_getsize64_0 212/321 test_blockdev_getsz_0 213/321 test_blockdev_getbsz_0 214/321 test_blockdev_getss_0 215/321 test_blockdev_getro_0 216/321 test_blockdev_setrw_0 217/321 test_blockdev_setro_0 218/321 test_statvfs_0 219/321 test_lstat_0 220/321 test_stat_0 221/321 test_command_lines_0 222/321 test_command_lines_1 223/321 test_command_lines_2 224/321 test_command_lines_3 225/321 test_command_lines_...
2011 Feb 03
1
builder-debian libguestfs success 8d7d7c4ecfd202e04d18736718e9c5bb125ce4f0
...ksum_5 204/322 test_checksum_6 205/322 test_checksum_7 206/322 test_checksum_8 207/322 test_download_0 208/322 test_upload_0 209/322 test_blockdev_rereadpt_0 210/322 test_blockdev_flushbufs_0 211/322 test_blockdev_getsize64_0 212/322 test_blockdev_getsz_0 213/322 test_blockdev_getbsz_0 214/322 test_blockdev_getss_0 215/322 test_blockdev_getro_0 216/322 test_blockdev_setrw_0 217/322 test_blockdev_setro_0 218/322 test_statvfs_0 219/322 test_lstat_0 220/322 test_stat_0 221/322 test_command_lines_0 222/322 test_command_lines_1 223/322 test_command_lines_2 224/322 test_command_lines_3 225/322 test_command_lines_...
2011 Feb 01
0
builder-debian libguestfs success 5079e0fff3f3c150818adb6febad6393b674f126
...ksum_5 204/321 test_checksum_6 205/321 test_checksum_7 206/321 test_checksum_8 207/321 test_download_0 208/321 test_upload_0 209/321 test_blockdev_rereadpt_0 210/321 test_blockdev_flushbufs_0 211/321 test_blockdev_getsize64_0 212/321 test_blockdev_getsz_0 213/321 test_blockdev_getbsz_0 214/321 test_blockdev_getss_0 215/321 test_blockdev_getro_0 216/321 test_blockdev_setrw_0 217/321 test_blockdev_setro_0 218/321 test_statvfs_0 219/321 test_lstat_0 220/321 test_stat_0 221/321 test_command_lines_0 222/321 test_command_lines_1 223/321 test_command_lines_2 224/321 test_command_lines_3 225/321 test_command_lines_...
2011 Feb 08
0
builder-debian libguestfs success f455dc3814bf9f7e7e894ba81360acb0edd92464
...ksum_5 204/322 test_checksum_6 205/322 test_checksum_7 206/322 test_checksum_8 207/322 test_download_0 208/322 test_upload_0 209/322 test_blockdev_rereadpt_0 210/322 test_blockdev_flushbufs_0 211/322 test_blockdev_getsize64_0 212/322 test_blockdev_getsz_0 213/322 test_blockdev_getbsz_0 214/322 test_blockdev_getss_0 215/322 test_blockdev_getro_0 216/322 test_blockdev_setrw_0 217/322 test_blockdev_setro_0 218/322 test_statvfs_0 219/322 test_lstat_0 220/322 test_stat_0 221/322 test_command_lines_0 222/322 test_command_lines_1 223/322 test_command_lines_2 224/322 test_command_lines_3 225/322 test_command_lines_...
2017 Apr 21
0
[PATCH 1/2] generator: Simplify the handling of string parameters.
...RBool "ro", [String (Device, "device")], []; tests = [ InitEmpty, Always, TestResultTrue ( [["blockdev_setro"; "/dev/sda"]; @@ -2613,7 +2613,7 @@ This uses the L<blockdev(8)> command." }; { defaults with name = "blockdev_getss"; added = (1, 9, 3); - style = RInt "sectorsize", [Device "device"], []; + style = RInt "sectorsize", [String (Device, "device")], []; tests = [ InitEmpty, Always, TestResult ( [["blockdev_getss"; "/dev/sda"...
2011 Feb 08
5
builder-ubuntu libguestfs success f455dc3814bf9f7e7e894ba81360acb0edd92464
...ksum_5 204/322 test_checksum_6 205/322 test_checksum_7 206/322 test_checksum_8 207/322 test_download_0 208/322 test_upload_0 209/322 test_blockdev_rereadpt_0 210/322 test_blockdev_flushbufs_0 211/322 test_blockdev_getsize64_0 212/322 test_blockdev_getsz_0 213/322 test_blockdev_getbsz_0 214/322 test_blockdev_getss_0 215/322 test_blockdev_getro_0 216/322 test_blockdev_setrw_0 217/322 test_blockdev_setro_0 218/322 test_statvfs_0 219/322 test_lstat_0 220/322 test_stat_0 221/322 test_command_lines_0 222/322 test_command_lines_1 223/322 test_command_lines_2 224/322 test_command_lines_3 225/322 test_command_lines_...
2011 Jan 29
0
builder-ubuntu libguestfs success 6975e87153f593fddd5c27435c2e6347825daca9
...ksum_5 204/321 test_checksum_6 205/321 test_checksum_7 206/321 test_checksum_8 207/321 test_download_0 208/321 test_upload_0 209/321 test_blockdev_rereadpt_0 210/321 test_blockdev_flushbufs_0 211/321 test_blockdev_getsize64_0 212/321 test_blockdev_getsz_0 213/321 test_blockdev_getbsz_0 214/321 test_blockdev_getss_0 215/321 test_blockdev_getro_0 216/321 test_blockdev_setrw_0 217/321 test_blockdev_setro_0 218/321 test_statvfs_0 219/321 test_lstat_0 220/321 test_stat_0 221/321 test_command_lines_0 222/321 test_command_lines_1 223/321 test_command_lines_2 224/321 test_command_lines_3 225/321 test_command_lines_...
2017 Apr 21
4
[PATCH 0/2] generator: Simplify the handling of string parameters.
Very large but mechanical change to the generator. Rich.
2011 Feb 03
1
builder-ubuntu libguestfs success 8d7d7c4ecfd202e04d18736718e9c5bb125ce4f0
...ksum_5 204/322 test_checksum_6 205/322 test_checksum_7 206/322 test_checksum_8 207/322 test_download_0 208/322 test_upload_0 209/322 test_blockdev_rereadpt_0 210/322 test_blockdev_flushbufs_0 211/322 test_blockdev_getsize64_0 212/322 test_blockdev_getsz_0 213/322 test_blockdev_getbsz_0 214/322 test_blockdev_getss_0 215/322 test_blockdev_getro_0 216/322 test_blockdev_setrw_0 217/322 test_blockdev_setro_0 218/322 test_statvfs_0 219/322 test_lstat_0 220/322 test_stat_0 221/322 test_command_lines_0 222/322 test_command_lines_1 223/322 test_command_lines_2 224/322 test_command_lines_3 225/322 test_command_lines_...