Richard W.M. Jones
2008-Apr-17 14:11 UTC
[Fedora-xen] ANNOUNCE: virt-df (''df'' for guests) now supports LVM
I''m happy to say that virt-df, the command-line ''df''-like tool for looking at disk usage of guests, now supports LVM, making it usable for the majority of situations where your guests are running Linux distributions. You can now run ''virt-df'' on the host and display the disk space used/available on all filesystems of all your guests. There is no need to run anything inside the guest. Here is an example with two running domains: # virt-df -c qemu:///system -h Filesystem Size Used Available Type rhel51x32kvm:hda1 96.8 MiB 14.6 MiB 82.2 MiB Linux ext2/3 rhel51x32kvm:VolGroup00/LogVol00 6.4 GiB 3.6 GiB 2.8 GiB Linux ext2/3 rhel51x32kvm:VolGroup00/LogVol01 992.0 MiB Linux swap rhel51x64kvm:hda1 96.8 MiB 22.1 MiB 74.7 MiB Linux ext2/3 rhel51x64kvm:VolGroup00/LogVol00 6.4 GiB 3.2 GiB 3.2 GiB Linux ext2/3 rhel51x64kvm:VolGroup00/LogVol01 992.0 MiB Linux swap Home page: http://et.redhat.com/~rjones/virt-df/ Source and binaries from: http://et.redhat.com/~rjones/virt-df/files/ Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v