search for: mkfs_btrfs

Displaying 20 results from an estimated 101 matches for "mkfs_btrfs".

2015 May 19
2
libguestfs error: mkfs_btrfs
Hi all : there is a problem on libguestfs-1.29.40 after command :make check libguestfs: error: mkfs_btrfs: /dev/vda1: device /dev/vda1 is too small (must be at least 256 MB) FAIL: test_btrfs_image_0 3/515 test_btrfstune_enable_skinny_metadata_extent_refs_0 libguestfs: error: btrfstune_enable_skinny_metadata_extent_refs: /dev/vda1: btrfstune: invalid option -- 'x' usage: btrfstune [options] de...
2012 May 07
2
Compile Error
Hi Rich, A compiling error occurs here, File "../ocaml/guestfs.ml", line 1, characters 0-1: Error: The implementation ../ocaml/guestfs.ml does not match the interface ../ocaml/guestfs.cmi: Values do not match: external mkfs_btrfs : t -> ?allocstart:int64 -> ?bytecount:int64 -> ?datatype:string -> ?leafsize:int -> ?label:string -> ?metadata:string -> ?nodesize:int -> ?sectorsize:int -> string array -> unit...
2016 Jan 25
1
[PATCH] actions: expand partitions for btrfs_image test
...a"; "p"; "204800"; "409599"]; + ["part_add"; "/dev/sda"; "p"; "64"; "409599"]; + ["part_add"; "/dev/sda"; "p"; "409600"; "819199"]; ["mkfs_btrfs"; "/dev/sda1"; ""; ""; "NOARG"; ""; "NOARG"; "NOARG"; ""; ""]; ["mkfs_btrfs"; "/dev/sda2"; ""; ""; "NOARG"; ""; "NOARG"; &qu...
2016 Dec 14
1
[PATCH] tests: drop expected-failing btrfs_subvolume_show test
...12545,10 +12545,6 @@ Get the default subvolume or snapshot of a filesystem mounted at C<mountpoint>." proc_nr = Some 426; optional = Some "btrfs"; camel_name = "BTRFSSubvolumeShow"; tests = [ - InitPartition, Always, TestLastFail ( - [["mkfs_btrfs"; "/dev/sda1"; ""; ""; "NOARG"; ""; "NOARG"; "NOARG"; ""; ""]; - ["mount"; "/dev/sda1"; "/"]; - ["btrfs_subvolume_show"; "/"]]), [];...
2014 Dec 11
14
[PATCH v2 00/11] btrfs support part2: qgroup/quota commands
Hi, This is v2 series to add support to btrfs qgroup related commands, inclduing quota commands, and two leftover of subvolume commands. Regards, Hu changes: v2: - add tests for new APIs - combine btrfs_quota_enable and btrfs_quota_disable - following APIs changed to operate on Mountable_or_Path: btrfs_subvolume_get_default, btrfs_quota_enable, btrfs_quota_rescan. Hu Tao (11):
2014 Dec 26
10
[PATCH 0/5] btrfs: add API for btrfs filesystem, check and scrub
Hi, There is one problem: btrfs_filesystem_set_label just doesnt work, giving error message: libguestfs: error: btrfs_filesystem_set_label: /: ERROR: unable to set label Bad address I'm almost sure the patch has no problem, but can't figure out what's the cause. So patch 5 is only for review. Other APIs have no problem. Regards, Hu Hu Tao (5): New API: btrfs_scrub New API:
2014 Dec 12
15
[PATCH v3 00/11] btrfs support part2: qgroup/quota commands
Hi, This is v3 series to add support to btrfs qgroup related commands, inclduing quota commands, and two leftover of subvolume commands. Regards, Hu changes: v3: - don't intialize fs_buf (patch 1) - check the return value of sysroot_path (patch 1) - check fs_buf rather than fs (patch 1) - fprintf (stderr,...) -> reply_with_error() v2: - add tests for new APIs - combine
2014 Nov 21
2
Re: [PATCH 4/6] btrfs: add optional parameter `qgroupid' to btrfs_subvolume_create
...> ADD_ARG (argv, i, NULL); > > diff --git a/generator/actions.ml b/generator/actions.ml > index 30b839c..1c1fcff 100644 > --- a/generator/actions.ml > +++ b/generator/actions.ml > @@ -10225,9 +10225,9 @@ See C<guestfs_get_e2generation>." }; > [["mkfs_btrfs"; "/dev/sda1"; ""; ""; "NOARG"; ""; "NOARG"; "NOARG"; ""; ""]; > ["mount"; "/dev/sda1"; "/"]; > ["mkdir"; "/dir"]; > -...
2012 Apr 02
2
[PATCH 0/2] Fix btrfs blocksize and bind mkfs.btrfs (RHBZ#807905).
https://bugzilla.redhat.com/show_bug.cgi?id=807905 Currently if you specify the blocksize parameter to mkfs-opts with a btrfs filesystem, then it fails, because mkfs.btrfs interprets the -b option as meaning filesystem size. The first patch fixes this by disallowing blocksize (it cannot be mapped meaningfully into btrfs parameters). The second patch adds the full /sbin/mkfs.btrfs utility to the
2015 Jan 13
1
Re: [PATCH 4/5] New API: add btrfs_filesystem_defragment
...filesystem_defragment"; > + style = RErr, [Pathname "path"], []; > + proc_nr = Some 438; > + optional = Some "btrfs"; camel_name = "BTRFSFilesystemDefragment"; > + tests = [ > + InitPartition, Always, TestRun ( > + [["mkfs_btrfs"; "/dev/sda1"; ""; ""; "NOARG"; ""; "NOARG"; "NOARG"; ""; ""]; > + ["mount"; "/dev/sda1"; "/"]; > + ["btrfs_filesystem_defragment"; "/&qu...
2015 Feb 21
7
[PATCH 0/4] btrfs: add support to btrfstune
This series adds new APIs to support btrfstune. Chen Hanxiao (4): New API: btrfstune_S_enable New API: btrfstune_S_disable New API: btrfstune_r New API: btrfstune_x daemon/btrfs.c | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++++ generator/actions.ml | 64 +++++++++++++++++++++++++++++++++ src/MAX_PROC_NR | 2 +- 3 files changed, 164 insertions(+), 1 deletion(-) --
2014 Nov 21
0
[PATCH 4/6] btrfs: add optional parameter `qgroupid' to btrfs_subvolume_create
...} + + ADD_ARG (argv, i, dest_buf); ADD_ARG (argv, i, NULL); diff --git a/generator/actions.ml b/generator/actions.ml index 30b839c..1c1fcff 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -10225,9 +10225,9 @@ See C<guestfs_get_e2generation>." }; [["mkfs_btrfs"; "/dev/sda1"; ""; ""; "NOARG"; ""; "NOARG"; "NOARG"; ""; ""]; ["mount"; "/dev/sda1"; "/"]; ["mkdir"; "/dir"]; - ["btrfs_...
2014 Nov 24
1
Re: [PATCH 4/6] btrfs: add optional parameter `qgroupid' to btrfs_subvolume_create
...--git a/generator/actions.ml b/generator/actions.ml > > > index 30b839c..1c1fcff 100644 > > > --- a/generator/actions.ml > > > +++ b/generator/actions.ml > > > @@ -10225,9 +10225,9 @@ See C<guestfs_get_e2generation>." }; > > > [["mkfs_btrfs"; "/dev/sda1"; ""; ""; "NOARG"; ""; "NOARG"; "NOARG"; ""; ""]; > > > ["mount"; "/dev/sda1"; "/"]; > > > ["mkdir"; "/dir&q...
2015 Mar 03
4
[PATCH 0/2] btrfs: add support to btrfs-image
This series adds new APIs to support btrfstune. Chen Hanxiao (2): New API: btrfs-image New API: btrfs_image_restore daemon/btrfs.c | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++ generator/actions.ml | 45 +++++++++++++++++++++++++++ src/MAX_PROC_NR | 2 +- 3 files changed, 133 insertions(+), 1 deletion(-) -- 2.1.0
2013 Apr 29
3
[PATCH] Fix make-fedora-img for btrfs minimum size
This first factors out all the partition sizing, and then resizes the images created to be 1GB instead of 512MB, to work around a size limitation with btrfs: mkfs_btrfs: /dev/vda2: device /dev/vda2 is too small (must be at least 256 MB)
2015 Jan 05
3
Re: [PATCH 5/5] New API: btrfs_filesystem_set_label
...+ style = RErr, [Pathname "path"; String "label"], []; > + proc_nr = Some 439; > + optional = Some "btrfs"; camel_name = "BTRFSFilesystemSetLabel"; > + tests = [ > + InitPartition, Always, TestResultString ( > + [["mkfs_btrfs"; "/dev/sda1"; ""; ""; "NOARG"; ""; "NOARG"; "NOARG"; ""; ""]; > + ["mount"; "/dev/sda1"; "/"]; > + ["btrfs_filesystem_set_label"; "/&quo...
2015 Jan 05
2
Re: [PATCH 3/5] New API: btrfs_filesystem_get_label
...> + style = RString "label", [Pathname "path"], []; > + proc_nr = Some 437; > + optional = Some "btrfs"; camel_name = "BTRFSFilesystemGetLabel"; > + tests = [ > + InitPartition, Always, TestResultString ( > + [["mkfs_btrfs"; "/dev/sda1"; ""; ""; "NOARG"; ""; "label"; "NOARG"; ""; ""]; > + ["mount"; "/dev/sda1"; "/"]; > + ["btrfs_filesystem_get_label"; "/&quo...
2016 Feb 03
5
[PATCH 0/3] tests: Various fixes for btrfs and aarch64.
These patches fix btrfs on aarch64. You still need btrfs-progs 4.4 which was only released a few days ago. Rich.
2012 Apr 26
1
[PATCH] gobject: Move headers into a subdirectory
...py_file_to_device.h \ - guestfs-gobject-optargs-copy_file_to_file.h \ - guestfs-gobject-optargs-tune2fs.h \ - guestfs-gobject-optargs-md_create.h \ - guestfs-gobject-optargs-e2fsck.h \ - guestfs-gobject-optargs-ntfsfix.h \ - guestfs-gobject-optargs-ntfsclone_out.h \ - guestfs-gobject-optargs-mkfs_btrfs.h \ - guestfs-gobject-optargs-set_e2attrs.h + include/guestfs-gobject.h \ + include/guestfs-gobject/session.h \ + include/guestfs-gobject/tristate.h \ + include/guestfs-gobject/struct-int_bool.h \ + include/guestfs-gobject/struct-lvm_pv.h \ + include/guestfs-gobject/struct-lvm_vg.h \ + incl...
2014 Dec 11
0
[PATCH v2 02/11] New API: btrfs_subvolume_get_default
...rfs_subvolume_get_default"; + style = RInt64 "id", [Mountable_or_Path "fs"], []; + proc_nr = Some 425; + optional = Some "btrfs"; camel_name = "BTRFSSubvolumeGetDefault"; + tests = [ + InitPartition, Always, TestResult ( + [["mkfs_btrfs"; "/dev/sda1"; ""; ""; "NOARG"; ""; "NOARG"; "NOARG"; ""; ""]; + ["btrfs_subvolume_get_default"; "/dev/sda1"]], "ret > 0"), []; + InitPartition, Always, TestR...