Description of problem: Currently you can only expand a filesystem to match an expanded partition or LV. It should be possible also to shrink a filesystem, but you cannot do that with the current guestfs_resize2fs call because you need to specify the reduced size. Version-Release number of selected component (if applicable): libguestfs 1.3.6 Original report: http://rwmj.wordpress.com/2010/04/10/virt-resize-now-resizes-partition-content/#comment-1653
Patch posted upstream: https://www.redhat.com/archives/libguestfs/2010-May/msg00140.html