diff options
Diffstat (limited to '')
-rw-r--r-- | content/blog/commands/qemu-nbd.md | 10 |
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 >}} - |