[pve-devel] [PATCH docs 2/2] Create a 10 gibibytes diskimage instead of 10 gigabytes

Emmanuel Kasper e.kasper at proxmox.com
Wed Nov 8 11:20:21 CET 2017


Otherwise the disk import may fail on block storages requiring
volumes size to be a multiple of the block size, like ZFS.

This fixes the error:
'volume size must be a multiple of volume block size'
when importing the generated disk image as a zvol.

Signed-off-by: Emmanuel Kasper <e.kasper at proxmox.com>
---
 qm.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qm.adoc b/qm.adoc
index 3982549..e0d789c 100644
--- a/qm.adoc
+++ b/qm.adoc
@@ -804,7 +804,7 @@ foreign hypervisor, or one that you created yourself.
 Suppose you created a Debian/Ubuntu disk image with the 'vmdebootstrap' tool:
 
  vmdebootstrap --verbose \
-  --size 10G --serial-console \
+  --size 10GiB --serial-console \
   --grub --no-extlinux \
   --package openssh-server \
   --package avahi-daemon \
-- 
2.11.0





More information about the pve-devel mailing list