aboutsummaryrefslogtreecommitdiff
path: root/content/blog/commands/qemu-nbd.md
diff options
context:
space:
mode:
authorJulien Dessaux2021-03-11 19:47:26 +0100
committerJulien Dessaux2021-03-11 19:47:26 +0100
commit1a4981a826bb94c478c6f49721396ec03e02649c (patch)
treecbd779f6f8e36a28f4d6bd2788c21ce10d9ef122 /content/blog/commands/qemu-nbd.md
parentSeveral fixes (diff)
downloadwww-1a4981a826bb94c478c6f49721396ec03e02649c.tar.gz
www-1a4981a826bb94c478c6f49721396ec03e02649c.tar.bz2
www-1a4981a826bb94c478c6f49721396ec03e02649c.zip
First big articles reformatting now that I properly understand hugo
Diffstat (limited to '')
-rw-r--r--content/blog/commands/qemu-nbd.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/content/blog/commands/qemu-nbd.md b/content/blog/commands/qemu-nbd.md
index ea09658..0402876 100644
--- a/content/blog/commands/qemu-nbd.md
+++ b/content/blog/commands/qemu-nbd.md
@@ -1,11 +1,14 @@
---
title: "qemu-nbd"
-linkTitle: "qemu-nbd"
date: 2019-07-01
-description: >
- qemu-nbd
+description: qemu-nbd usage example
+tags:
+ - linux
+ - virtualization
---
+## Usage example
+
{{< highlight sh >}}
modprobe nbd max_part=8
qemu-nbd -c /dev/nbd0 image.img
@@ -14,4 +17,3 @@ mount /dev/nbd0p1 /mnt # or vgscan && vgchange -ay
umount /mnt
qemu-nbd -d /dev/nbd0
{{< /highlight >}}
-