qemu-nbd

2019-07-01 - qemu-nbd usage example
Tags: linux virtualization

Usage example

modprobe nbd max_part=8
qemu-nbd -c /dev/nbd0 image.img
mount /dev/nbd0p1 /mnt   # or vgscan && vgchange -ay
[...]
umount /mnt
qemu-nbd -d /dev/nbd0