Bug 585221 - resize2fs should support shrinking filesystems
resize2fs should support shrinking filesystems
Status: CLOSED UPSTREAM
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Richard W.M. Jones
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-23 09:23 EDT by Richard W.M. Jones
Modified: 2011-07-14 15:07 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-07-14 15:07:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Richard W.M. Jones 2010-04-23 09:23:43 EDT
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 09:58:13 EDT
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.