1 root@r1u32:/srv/gnt-info# lvs -o vg_name,name,tags | grep mudrac
2 oscarvg 01ee542b-cc5e-4eb7-9ce6-1903630c7d11.disk0_data originstname+mudrac
3 oscarvg 01ee542b-cc5e-4eb7-9ce6-1903630c7d11.disk0_meta originstname+mudrac
4 oscarvg 44d1701a-128f-4a97-a0df-a4e1126db8c5.disk1_data originstname+mudrac
5 oscarvg 44d1701a-128f-4a97-a0df-a4e1126db8c5.disk1_meta originstname+mudrac
6 root@r1u32:/srv/gnt-info# lvcreate -L 2G -s -nm2.snap /dev/oscarvg/01ee542b-cc5e-4eb7-9ce6-1903630c7d11.disk0_data
7 Using default stripesize 64.00 KiB.
8 Logical volume "m2.snap" created.
9 root@r1u32:/srv/gnt-info# lvcreate -L20G -n m2 oscarvg
10 Logical volume "m2" created.
12 root@r1u32:/srv/gnt-info# time ionice dd if=/dev/oscarvg/m2.snap of=/dev/oscarvg/m2 bs=1M status=progress
14 22548578304 bytes (23 GB, 21 GiB) copied, 156.957 s, 144 MB/s
20 root@r1u32:/srv/gnt-info# lvremove /dev/oscarvg/m2.snap
21 Do you really want to remove active logical volume oscarvg/m2.snap? [y/n]: y
22 Logical volume "m2.snap" successfully removed
24 root@r1u32:/srv/gnt-info# lvcreate -L 4G -n m2-home oscarvg
26 kvm -m 1024 -drive file=/dev/oscarvg/m2,format=raw,if=virtio -drive file=/dev/oscarvg/m2-home,format=raw,if=virtio -nographic -kernel /boot/vmlinuz-3.16.0-5-amd64 -initrd /boot/initrd.img-3.16.0-5-amd64 -append 'root=/dev/vda1 ro console=ttyS0,38400' -net nic -net user
28 This required me to install pump inside virtual machine to acquire IP address via dhcp from -net user
30 Next step was to configure unique hostname (so I don't get confused on command prompt) and dummy instance on which local
34 diff --git a/hostname b/hostname
35 index 1df9930..08bb233 100644
41 diff --git a/network/interfaces b/network/interfaces
42 index 16dfb1c..8fb5c12 100644
43 --- a/network/interfaces
44 +++ b/network/interfaces
45 @@ -17,3 +17,11 @@ iface eth1 inet static
47 # netmask 255.255.255.0
48 # up /sbin/ip link set dev $IFACE mtu 9000
54 +iface dummy0 inet static
56 + netmask 255.255.255.0