From 3840500fcef75d64b1c23f5c56a340435ac79c59 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sat, 13 Feb 2021 13:55:24 +0000 Subject: [PATCH] Small fixes after run-through. --- 2021-pipelines/3400-sparsification.term | 2 ++ 2021-pipelines/5000-ova-files.html | 9 +++++---- 2021-pipelines/6100-simpler-modifications.html | 7 ++++--- 2021-pipelines/9100-future-work.html | 1 + 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/2021-pipelines/3400-sparsification.term b/2021-pipelines/3400-sparsification.term index 8d8a672..8b88de0 100755 --- a/2021-pipelines/3400-sparsification.term +++ b/2021-pipelines/3400-sparsification.term @@ -8,6 +8,8 @@ export title="Sparsification + copying" # History. remember 'qemu-img create -f qcow2 -F raw -b ssh://kool/mnt/scratch/pipes/fedora-33.img snapshot.qcow2' remember 'virt-sparsify --in-place snapshot.qcow2' +remember 'ls -lh snapshot.qcow2' +remember 'qemu-img map snapshot.qcow2' remember 'qemu-img convert -f qcow2 snapshot.qcow2 -O raw local.img -p' terminal diff --git a/2021-pipelines/5000-ova-files.html b/2021-pipelines/5000-ova-files.html index d89b936..b333f38 100644 --- a/2021-pipelines/5000-ova-files.html +++ b/2021-pipelines/5000-ova-files.html @@ -19,10 +19,11 @@ tar file = header - file - header - file ...
-          nbdkit tar
-┌──────────┐filter┌────────────┐
-│ test.ova │─────▶│ qcow2 file │◀─── virt-sparsify --in-place
-└──────────┘      └────────────┘                            ┌───────────┐
+┌──────────┐      ┌────────────┐      ┌────────────┐
+│ test.ova │─────▶│ tar filter │─────▶│ qcow2 file │
+└──────────┘      └────────────┘      └────────────┘
+                                 ◀─── virt-sparsify --in-place
+                                                            ┌───────────┐
                                  ───▶ qemu-img convert ────▶│ local.img │
                                                             └───────────┘
 
diff --git a/2021-pipelines/6100-simpler-modifications.html b/2021-pipelines/6100-simpler-modifications.html index 08e809e..8f54b20 100644 --- a/2021-pipelines/6100-simpler-modifications.html +++ b/2021-pipelines/6100-simpler-modifications.html @@ -5,9 +5,10 @@

Simpler example of modification

-┌─────────────┐http┌────────────┐    ┌────────────┐
-│ cloud image │───▶│ xz filter  │───▶│ nbdkit     │
-└─────────────┘    └────────────┘    └────────────┘
+                                nbdkit
+┌─────────────┐http┌─────────────┐    ┌────────────┐    ┌────────────┐
+│ cloud image │───▶│ curl plugin │───▶│ xz filter  │───▶│ qcow2 file │
+└─────────────┘    └─────────────┘    └────────────┘    └────────────┘
 
                                            ◀─── virt-sparsify --in-place
 
diff --git a/2021-pipelines/9100-future-work.html b/2021-pipelines/9100-future-work.html
index 2b11c16..4e6a227 100644
--- a/2021-pipelines/9100-future-work.html
+++ b/2021-pipelines/9100-future-work.html
@@ -8,6 +8,7 @@
 
  • nbdcopy vs qemu-img convert
  • copy-on-read, bounded caches
  • block size adjustment +
  • json: URIs
  • reading from containers & stop using gzip!
  • pay attention to benchmarking & use realistic images -- 1.8.3.1