fix console condition, restart now works
[sysadmin-cookbook] / recepies / kvm / 20.mount-image
1 root@klin:/btrfs# kvm-nbd --port 10000 212052.qcow2 &
2
3 root@klin:/btrfs# nbd-client localhost 10000 /dev/nbd0
4 Negotiation: ..size = 52428800KB
5 bs=1024, sz=52428800
6
7 root@klin:/btrfs# mount /dev/nbd0p1 /mnt/tmp
8 root@klin:/btrfs# df /mnt/tmp
9 Filesystem           1K-blocks      Used Available Use% Mounted on
10 /dev/nbd0p1           51605436     53064  48930968   1% /mnt/tmp
11