Bug 585221 - resize2fs should support shrinking filesystems
Summary: resize2fs should support shrinking filesystems
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-23 13:23 UTC by Richard W.M. Jones
Modified: 2011-07-14 19:07 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-07-14 19:07:00 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2010-04-23 13:23:43 UTC
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

Comment 1 Richard W.M. Jones 2010-05-21 13:58:13 UTC
Patch posted upstream:
https://www.redhat.com/archives/libguestfs/2010-May/msg00140.html


Note You need to log in before you can comment on or make changes to this bug.