search for: inspect_get_roots

Displaying 20 results from an estimated 38 matches for "inspect_get_roots".

2014 Sep 27
2
Re: Virt-v2v conversion issue
...: trace: internal_parse_mountable = <struct guestfs_internal_mountable *> libguestfs: trace: is_whole_device "/dev/sda5" libguestfs: trace: is_whole_device = 0 libguestfs: trace: mount_ro "/dev/sda5" "/" libguestfs: trace: mount_ro = -1 (error) libguestfs: trace: inspect_get_roots libguestfs: trace: inspect_get_roots = [] libguestfs: trace: inspect_os = [] virt-v2v: error: no root device found in this operating system image. If reporting bugs, run virt-v2v with debugging enabled and include the complete output: virt-v2v -v -x [...] libguestfs: trace: close libguestfs: tr...
2017 Oct 08
3
Re: Virtualbox vdi Input Format and man pages
08.10.2017, 08:09, "Richard W.M. Jones" <rjones@redhat.com>: > However virt-v2v has its own parser for libvirt XML and only parses a > (very) small subset of these fields. Generally you only need to take > that template and change a few fields, name, memory size, number of > vCPUs, and make sure there is one <disk> section per disk and one > <interface>
2017 Oct 08
0
Re: Virtualbox vdi Input Format and man pages
...bad superblock on /dev/sda, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so. guestfsd: main_loop: proc 73 (mount_ro) took 0.08 seconds libguestfs: trace: v2v: mount_ro = -1 (error) libguestfs: trace: v2v: inspect_get_roots libguestfs: trace: v2v: inspect_get_roots = [] libguestfs: trace: v2v: inspect_os = [] 08.10.2017, 10:13, "stef204" <stef204@yandex.com>: > 08.10.2017, 08:09, "Richard W.M. Jones" <rjones@redhat.com>: > >>  However virt-v2v has its own parser for libvi...
2014 Sep 27
0
Re: Virt-v2v conversion issue
...ountable = <struct guestfs_internal_mountable *> > libguestfs: trace: is_whole_device "/dev/sda5" > libguestfs: trace: is_whole_device = 0 > libguestfs: trace: mount_ro "/dev/sda5" "/" > libguestfs: trace: mount_ro = -1 (error) > libguestfs: trace: inspect_get_roots > libguestfs: trace: inspect_get_roots = [] > libguestfs: trace: inspect_os = [] > virt-v2v: error: no root device found in this operating system image. > > If reporting bugs, run virt-v2v with debugging enabled and include the > complete output: Please don't edit/cut the de...
2014 Sep 28
2
Re: Virt-v2v conversion issue
...ble = <struct > guestfs_internal_mountable *> > libguestfs: trace: is_whole_device "/dev/sda5" > libguestfs: trace: is_whole_device = 0 > libguestfs: trace: mount_ro "/dev/sda5" "/" > libguestfs: trace: mount_ro = -1 (error) > libguestfs: trace: inspect_get_roots > libguestfs: trace: inspect_get_roots = [] > libguestfs: trace: inspect_os = [] > virt-v2v: error: no root device found in this operating system image. > > If reporting bugs, run virt-v2v with debugging enabled and include the > complete output: Please don't edit/cut the deb...
2014 Sep 24
4
Re: Virt-v2v conversion issue
Hi, Thank you Richard for your work, but I have also like Jeff Forbes a new issue : libguestfs: trace: hivex_node_set_value = 0 libguestfs: trace: upload "/usr/share/virtio-win/drivers/amd64/Win2008/viostor.sys" "/Windows/Drivers/VirtIO" libguestfs: trace: upload = -1 (error) libguestfs: trace: hivex_close libguestfs: trace: hivex_close = 0 virt-v2v: error: libguestfs error:
2013 Jan 22
1
APIs affected by btrfs subvolumes
...ame inspect_get_product_variant inspect_get_type inspect_get_windows_current_control_set inspect_get_windows_systemroot inspect_is_live inspect_is_multipart inspect_is_netinst inspect_list_applications inspect_list_applications2 The following return filesystem descriptors. inspect_get_filesystems inspect_get_roots inspect_os Mount APIS: All currently take a block device, but need to accept any filesystem descriptor. mount mount_options mount_ro mount_vfs Label APIs: All these currently take a block device, but are arguably applicable to btrfs subvolumes. A subvolume doesn't have a label itself, but...
2017 Jun 12
1
[PATCH] UNFINISHED daemon: Reimplement most inspection APIs in the daemon.
This is the (incomplete) patch which reimplements inspection APIs in the daemon. All ‘XXX’s in this patch indicate areas which are not yet implemented or need further work. Rich.
2017 Mar 13
2
virt-customize fail to inject firstboot script when running it from script.
...: trace: is_file = 1 libguestfs: trace: filesize "/etc/hostname" libguestfs: trace: filesize = 6 libguestfs: trace: head_n 1 "/etc/hostname" libguestfs: trace: head_n = ["multi6"] libguestfs: trace: umount_all libguestfs: trace: umount_all = 0 libguestfs: trace: inspect_get_roots libguestfs: trace: inspect_get_roots = ["/dev/sda2"] libguestfs: trace: inspect_os = ["/dev/sda2"] libguestfs: trace: inspect_get_mountpoints "/dev/sda2" libguestfs: trace: inspect_get_mountpoints = ["/", "/dev/sda2", "/boot", "/d...
2017 Aug 09
0
[PATCH v12 09/11] daemon: Implement inspection of Linux and other Unix-like operating systems.
...+ + (* Save what we found in a global variable. *) + Inspect_types.inspect_fses := fses; + + (* At this point we have, in the handle, a list of all filesystems + * found and data about each one. Now we assemble the list of + * filesystems which are root devices. + * + * Fall through to inspect_get_roots to do that. + *) + inspect_get_roots () + +(* Traverse through the filesystem list and find out if it contains + * the [/] and [/usr] filesystems of a CoreOS image. If this is the + * case, sum up all the collected information on the root fs. + *) +and collect_coreos_inspection_info fses = + (*...
2017 Jul 31
0
[PATCH v11 08/10] daemon: Implement inspection of Linux and other Unix-like operating systems.
...+ + (* Save what we found in a global variable. *) + Inspect_types.inspect_fses := fses; + + (* At this point we have, in the handle, a list of all filesystems + * found and data about each one. Now we assemble the list of + * filesystems which are root devices. + * + * Fall through to inspect_get_roots to do that. + *) + inspect_get_roots () + +(* Traverse through the filesystem list and find out if it contains + * the [/] and [/usr] filesystems of a CoreOS image. If this is the + * case, sum up all the collected information on the root fs. + *) +and collect_coreos_inspection_info fses = + (*...
2016 Dec 02
1
[PATCH NOT TO BE APPLIED] builder: make-template: Add --encrypted
I was attempting one way to solve: https://bugzilla.redhat.com/show_bug.cgi?id=1400332 "RFE: virt-builder should support templates with encrypted filesystems" However this approach doesn't really work because templates containing encrypted partitions cannot be compressed, and therefore the guest template would be a multi-gigabyte download. I better approach will likely be to use
2017 Mar 14
0
Re: virt-customize fail to inject firstboot script when running it from script.
...fs: trace: filesize "/etc/hostname" > libguestfs: trace: filesize = 6 > libguestfs: trace: head_n 1 "/etc/hostname" > libguestfs: trace: head_n = ["multi6"] > libguestfs: trace: umount_all > libguestfs: trace: umount_all = 0 > libguestfs: trace: inspect_get_roots > libguestfs: trace: inspect_get_roots = ["/dev/sda2"] > libguestfs: trace: inspect_os = ["/dev/sda2"] > libguestfs: trace: inspect_get_mountpoints "/dev/sda2" > libguestfs: trace: inspect_get_mountpoints = ["/", "/dev/sda2", "/...
2017 Mar 14
2
Re: virt-customize fail to inject firstboot script when running it from script.
...e "/etc/hostname" >> libguestfs: trace: filesize = 6 >> libguestfs: trace: head_n 1 "/etc/hostname" >> libguestfs: trace: head_n = ["multi6"] >> libguestfs: trace: umount_all >> libguestfs: trace: umount_all = 0 >> libguestfs: trace: inspect_get_roots >> libguestfs: trace: inspect_get_roots = ["/dev/sda2"] >> libguestfs: trace: inspect_os = ["/dev/sda2"] >> libguestfs: trace: inspect_get_mountpoints "/dev/sda2" >> libguestfs: trace: inspect_get_mountpoints = ["/", "/dev/sda2&qu...
2017 Aug 09
0
[PATCH v12 08/11] daemon: Implement inspection types and utility functions.
...h Floor, Boston, MA 02110-1301 USA. + *) + +type fs = { + fs_location : location; + role : role; (** Special cases: root filesystem or /usr *) +} +(** A single filesystem. *) + +and root = { + root_location : location; + inspection_data : inspection_data; +} +(** A root (as in "inspect_get_roots"). *) + +and location = { + mountable : Mountable.t; (** The device name or other mountable object.*) + vfs_type : string; (** Returned from [vfs_type] API. *) +} + +and role = + | RoleRoot of inspection_data + | RoleUsr of inspection_data + | RoleSwap + | RoleOther +(** During ins...
2018 Apr 09
0
[PATCH 3/3] daemon: autogenerate most of OCaml interfaces
...nse for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - *) - -val inspect_os : unit -> Mountable.t list -val inspect_get_roots : unit -> Mountable.t list -val inspect_get_mountpoints : Mountable.t -> (string * Mountable.t) list -val inspect_get_filesystems : Mountable.t -> Mountable.t list -val inspect_get_format : Mountable.t -> string -val inspect_get_type : Mountable.t -> string -val inspect_get_distro :...
2018 Apr 10
0
[PATCH v2 5/5] daemon: autogenerate OCaml interfaces
...nse for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - *) - -val inspect_os : unit -> Mountable.t list -val inspect_get_roots : unit -> Mountable.t list -val inspect_get_mountpoints : Mountable.t -> (string * Mountable.t) list -val inspect_get_filesystems : Mountable.t -> Mountable.t list -val inspect_get_format : Mountable.t -> string -val inspect_get_type : Mountable.t -> string -val inspect_get_distro :...
2017 Jul 21
10
[PATCH v10 00/10] Reimplement inspection in the daemon.
v9 was here: https://www.redhat.com/archives/libguestfs/2017-July/msg00139.html This depends on these three series (the first two being single minor patches): https://www.redhat.com/archives/libguestfs/2017-July/msg00207.html https://www.redhat.com/archives/libguestfs/2017-July/msg00209.html https://www.redhat.com/archives/libguestfs/2017-July/msg00215.html There is no substantive change. I
2017 Jul 17
12
[PATCH v9 00/11] Reimplement inspection in the daemon.
This depends on the patch series "[PATCH 00/27] Reimplement many daemon APIs in OCaml." (https://www.redhat.com/archives/libguestfs/2017-July/msg00098.html) v8 was posted here: https://www.redhat.com/archives/libguestfs/2017-June/msg00274.html v9: - I split up the mega-patch into a more reviewable series of smaller, incremental patches. There are some other changes vs v8, but
2017 Aug 23
2
virt-sysprep: error: no operating systems were found in the guest image on libguestfs-1.36.5
...option, bad superblock on /dev/sda1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so. guestfsd: main_loop: proc 73 (mount_ro) took 0.36 seconds libguestfs: trace: mount_ro = -1 (error) libguestfs: trace: inspect_get_roots libguestfs: trace: inspect_get_roots = [] libguestfs: trace: inspect_os = [] virt-sysprep: error: no operating systems were found in the guest image libguestfs: trace: close libguestfs: closing guestfs handle 0x1dfdb30 (state 2) libguestfs: trace: internal_autosync guestfsd: main_loop: new request,...