KVM | moving machines and doing some maintenance
your commands:
your commands:
You did set up a kvm and have one physical interface with IP 192.168.100.121, i.e. eno1? To get a bridge tune your /etc/network/interfaces like this: That means: Yout establish a virtual bridge br0 with ip 192.168.100.121 and your physical interface eno1 is docked on the inner side of this bridge. YOURLAN << br0WITH192.168.100.121<<>>YOURPHYSICALeno1
Your Windows 10 guests use much more CPU percents than older Windows 7 guests – even when doing really nothing? (process is qemu-system-x86_64) Do virsh edit GUEST Change <clock offset=’localtime’> <timer name=’rtc’ tickpolicy=’catchup’/> <timer name=’pit’ tickpolicy=’delay’/> <timer name=’hpet’ present=’no’/> <timer name=’hypervclock’ present=’yes’/> </clock> To <clock offset=’localtime’> <timer name=’hpet’ present=’yes’/> <timer name=’hypervclock’ present=’yes’/> </clock> Kudos to […]
KVM # qemu-img convert my.qcow2 -O raw /path/disk.img VMware # qemu-img convert my.vmdk -O raw /path/disk.img # dd if=/path/disk.img of=/dev/sdX
QUiCKLY press the right shift.
Install zerofree edit your fstab, set your root drive to RO like /dev/vda1 / ext2 ro 0 1 Halt your system # halt -p Start your system into the grub menu, then select rescue mode, then drop to root shell Run zerofree like # zerofree /dev/vda1 Remount your root drive RW # mount -o remount,rw […]
In some recent qemu versions there is a problem while creating sparse disks using the virt-manager. Normally the qcow2 format always allocates space dynamically (sparse), but some qemu versions fail at this, they create disks with full expected size. Solution: The easy way: Backup your old qcow2 image. Then do apt-get install libguestfs-tools virt-sparsify kvm_backup/debian_mssql.qcow2 […]
# qemu-img convert -f vdi -O qcow2 mymachine.vdi mymachine.qcow2
First do: https://bytesandbones.wordpress.com/2018/02/22/debian-disabling-the-spooky-network-manager/ Then edit /etc/network/interfaces like: # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback iface enp1s0f0 inet manual auto br0 iface br0 inet static address […]
You must be logged in to post a comment.