aboutsummaryrefslogtreecommitdiff
path: root/content/blog/commands/qemu-nbd.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/blog/commands/qemu-nbd.md')
-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 >}}
-