[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [ANNOUNCE] virt-df 2.1.0 - a 'df' tool for virtual guests



I'm pleased to announce the most recent release of virt-df (2.1.0).

Virt-df is 'df' for virtual guests. Run the program on the host / dom0
to display disk space used and available on all partitions on all
guests.  You don't need to run any sort of program/agent within the
guest.

  Home page:       http://et.redhat.com/~rjones/virt-df/
  Source/binaries: http://et.redhat.com/~rjones/virt-df/files/
  Developer repository:
      http://hg.et.redhat.com/virt/applications/virt-df--devel

This version supports most common filesystems and partitioning
schemes, including:
 - Linux ext2/3
 - DOS FAT32
 - Windows NTFS
 - Linux LVM2 (volume groups and logical volumes)
 - Primary and extended disk partitions
 - Linux swap
 - Linux suspend partition

You can run it in your host / dom0 to display guest filesystems:

# 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

You can also run it on general disk images, or disk devices:

# virt-df -t /dev/sda
Filesystem                        1K-blocks       Used  Available Type
/dev/sda:hda1                      25599996   11309448   14290552 Windows NTFS
/dev/sda:hda2                        992016      93772     898244 Linux ext2/3
/dev/sda:F9VG/F9Root               23316072    7818164   15497908 Linux ext2/3
/dev/sda:F9VG/F9Swap                1015808                       Linux swap
/dev/sda:RHEL51VG/RHEL51Root       22382184    7796640   14585544 Linux ext2/3
/dev/sda:RHEL51VG/RHEL51Swap        2031616                       Linux swap
/dev/sda:VolGroup/FAT32Test          916736          4     914676 DOS/Windows

You can write the output to a CSV file (use --csv option) in order to
import the data easily into spreadsheets and databases.

Included also is an experimental command line tool called 'diskzip'
which intelligently compresses disk images by leaving out the bits
which aren't actually used in the filesystems / partitions / volume
groups contained within.

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]