Displaying 15 results from an estimated 15 matches for "base_imag".
Did you mean:
base_image
2015 Mar 23
2
Re: Inspection of disk snapshots
...I'm doing (I might do it
> > wrong of course):
> >
> > virsh -c "qemu:///system" snapshot-create --disk-only <domain-ID>
> >
> > I get the snapshot location from its XML description and then:
> >
> > qemu-img convert -f qcow2 -O qcow2 base_image.qcow2 snapshot.qcow2
>
> This makes a copy of the whole disk image. It's also not a consistent
> (point in time) copy.
Oh I see that you're copying the _snapshot_ that you created with
libvirt; it's not a whole disk copy. There's still not any point in
doing this, and...
2018 Dec 03
3
[supermin PATCH] build: ignore empty files
...|Excludefiles) as t) ->
let chan = open_in file in
let lines = input_all_lines chan in
@@ -294,7 +298,7 @@ and update_appliance appliance lines = function
String.sub path 1 (n-1)
) lines in
{ appliance with excludefiles = appliance.excludefiles @ lines }
- | Base_image -> assert false
+ | Base_image | Empty -> assert false
(* Determine the [file_type] of [file], or exit with an error. *)
and get_file_type file =
@@ -331,6 +335,7 @@ and get_file_content file buf len =
else if len >= 2 && buf.[0] = '/' then Hostfiles
else if len...
2015 Mar 23
4
Inspection of disk snapshots
...es for
example)?
For better comprehension I'll show the sequence I'm doing (I might do it
wrong of course):
virsh -c "qemu:///system" snapshot-create --disk-only <domain-ID>
I get the snapshot location from its XML description and then:
qemu-img convert -f qcow2 -O qcow2 base_image.qcow2 snapshot.qcow2
At that point I mount it through libguestfs and inspect its content.
Thank you.
2015 Mar 23
0
Re: Inspection of disk snapshots
...hension I'll show the sequence I'm doing (I might do it
> wrong of course):
>
> virsh -c "qemu:///system" snapshot-create --disk-only <domain-ID>
>
> I get the snapshot location from its XML description and then:
>
> qemu-img convert -f qcow2 -O qcow2 base_image.qcow2 snapshot.qcow2
This makes a copy of the whole disk image. It's also not a consistent
(point in time) copy.
> At that point I mount it through libguestfs and inspect its content.
As long as you use the 'readonly=1' flag (which is really *essential*,
else you'll get disk...
2018 Dec 03
0
Re: [supermin PATCH] build: ignore empty files
...let chan = open_in file in
> let lines = input_all_lines chan in
> @@ -294,7 +298,7 @@ and update_appliance appliance lines = function
> String.sub path 1 (n-1)
> ) lines in
> { appliance with excludefiles = appliance.excludefiles @ lines }
> - | Base_image -> assert false
> + | Base_image | Empty -> assert false
>
> (* Determine the [file_type] of [file], or exit with an error. *)
> and get_file_type file =
> @@ -331,6 +335,7 @@ and get_file_content file buf len =
> else if len >= 2 && buf.[0] = '/'...
2015 Mar 25
0
Re: Inspection of disk snapshots
...gt; > As long as you use the 'readonly=1' flag (which is really *essential*,
> > else you'll get disk corruption), you can just point libguestfs at the
> > base image:
> >
> > g = guestfs.GuestFS (python_return_dict=True)
> > g.add_drive_opts ("base_image.qcow2", format="qcow2", readonly=1)
> >
> > That also doesn't get you a consistent snapshot, but it'll work most
> > of the time, and give you a clear error in libguestfs when it doesn't
> > (and won't corrupt your base disk or anything like...
2007 Mar 27
4
Gruff with PDF::Writer
Hello all
Has anyone managed to embed gruff graphs into a PDF document using
pdf::writer?
The easy way (as far as I can see) would be to just save the gruff graph
as a temporary file then read that file in pdf::writer. I was wondering
if anyone had managed to get them working together directly?
RJ
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
2006 Jan 24
3
problem starting domains
...created and started successfully.
However, quite a few of my domUs don''t start properly. I get the
correct Started Domain messages... but then the domain doesn''t "go
anywhere", meaning it uses .3 cpu time, then never any more.
I create the domUs by dd if=/dev/xen/base_image of=/dev/xen/
new_image, after creating a new_image using lvcreate of the same size
as the base image. I''ve verified that these images actually exist.
Looking through the log from xend.log below, i see an error about /
dev/hda1 (the root device given to the domU on the command line,...
2015 Mar 24
1
Fwd: Inspection of disk snapshots
...; > > wrong of course):
> > >
> > > virsh -c "qemu:///system" snapshot-create --disk-only <domain-ID>
> > >
> > > I get the snapshot location from its XML description and then:
> > >
> > > qemu-img convert -f qcow2 -O qcow2 base_image.qcow2 snapshot.qcow2
> >
> > This makes a copy of the whole disk image. It's also not a consistent
> > (point in time) copy.
>
> Oh I see that you're copying the _snapshot_ that you created with
> libvirt; it's not a whole disk copy. There's still not a...
2006 Jul 10
6
Gruff: Display label vertical
Hi,
I have stacked Bar graph which has about 20-30 items. I have to name
each of these items. But there names/labels are overlapping. Is there
any option to make the labels display vertical instead of horizontal?
Any other ideas how can I aviod this overlapping?
Please suggest.
Thanks
--
Posted via http://www.ruby-forum.com/.
2018 Dec 03
4
[supermin PATCH v2 0/3] Better handle no config files
This is a "merge" of two previous series:
https://www.redhat.com/archives/libguestfs/2018-December/msg00015.html
https://www.redhat.com/archives/libguestfs/2018-December/msg00020.html
The goal is to handle better situations like:
- empty file in the appliance directory
- no config files available in the packages to include in an appliance
Compared to the two series, the changes are:
-
2015 Mar 25
2
Point-in-time snapshots (was: Re: Inspection of disk snapshots)
...se the 'readonly=1' flag (which is really *essential*,
> > > else you'll get disk corruption), you can just point libguestfs at the
> > > base image:
> > >
> > > g = guestfs.GuestFS (python_return_dict=True)
> > > g.add_drive_opts ("base_image.qcow2", format="qcow2", readonly=1)
> > >
> > > That also doesn't get you a consistent snapshot, but it'll work most
> > > of the time, and give you a clear error in libguestfs when it doesn't
> > > (and won't corrupt your base di...
2007 Apr 05
1
Preventing non-root users from transferring root owned files
Hello,
It seems that a non-root user is able to copy root owned files. By that I
mean a file that has "400" permission, for example.
rsync <server_host_name>::base_image/etc/<root_owned_file> .
The "rsyncd.conf" file has "uid=root" and "gid=root".
What options do I need to use so that root can copy root owned files, but
non-root users cannot copy root owned files? That is, how do I get rsync to
honor file permissions the same...
2015 Mar 04
3
supermin on arm
...in will work with the lpae
kernel.
https://github.com/libguestfs/supermin/blob/master/src/kernel.ml#L112
explictly removes it.
the result is that if you have a system setup to run kvm ou get the
following.
Dennis
[root@cubietruck01 ~]# LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1
imagefactory --debug base_image tdl-armv7hl.xml --file-parameter
install_script fedora-docker-base-66b3b50.ks 2015-03-03 17:02:51,968
DEBUG root thread(MainThread) Message: Unable to find python module,
faulthandler... multi-thread tracebacks will not be available. See
http://pypi.python.org/pypi/faulthandler/ for more informati...
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...;t appear here because they are unpacked
+ * into a build directory as we discover them.
+ *)
+}
+
+let empty_appliance = { excludefiles = []; hostfiles = []; packages = [] }
+
+type file_type =
+| GZip of file_content
+| XZ of file_content
+| Uncompressed of file_content
+and file_content =
+| Base_image (* a tarball *)
+| Packages
+| Hostfiles
+| Excludefiles
+
+let rec string_of_file_type = function
+ | GZip c -> sprintf "gzip %s" (string_of_file_content c)
+ | XZ c -> sprintf "xz %s" (string_of_file_content c)
+ | Uncompressed c -> spri...