Libguestfs-tools
Version vom 22. Juni 2021, 15:57 Uhr von Thomas.will (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „ ==Install== *apt-get install libguestfs-tools ==virt-df== *virt-df Filesystem 1K-blocks Used Available Use% orion:/dev/sd…“)
Install
- apt-get install libguestfs-tools
virt-df
- virt-df
Filesystem 1K-blocks Used Available Use% orion:/dev/sda1 8914984 1388808 7050272 16%
virt-filesystems
- virt-filesystems -a /mnt/local/kvm/orion.img --all --long --uuid
Name Type VFS Label MBR Size Parent UUID /dev/sda1 filesystem ext4 - - 9410969600 - 15fc6185-e3be-4c2b-96f3-19f8a6960827 /dev/sda2 filesystem unknown - - 1024 - - /dev/sda5 filesystem swap - - 1071644672 - 46867ea0-7d5c-43d4-8fda-2ae8cd5c6cc5 /dev/sda1 partition - - 83 9410969600 /dev/sda - /dev/sda2 partition - - 05 1024 /dev/sda - /dev/sda5 partition - - 82 1071644672 /dev/sda - /dev/sda device - - - 10485760000 -
virt-inspector
- virt-inspector /mnt/local/kvm/orion.img > orion-disk.xml
virt-cat
- virt-cat -d orion /etc/network/interfaces
# 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 # The primary network interface auto ens3 iface ens3 inet dhcp