Bug 404581

Summary: lvresize --resizefs option, exists in help, not in man or program
Product: Red Hat Enterprise Linux 4 Reporter: Ugo Bellavance <ugob>
Component: lvm2Assignee: Zdenek Kabelac <zkabelac>
Status: CLOSED DEFERRED QA Contact: Corey Marthaler <cmarthal>
Severity: low Docs Contact:
Priority: low    
Version: 4.5CC: agk, dwysocha, heinzm, jbrassow, mbroz, prockai
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-29 15:37:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ugo Bellavance 2007-11-29 15:16:39 UTC
Description of problem:
    There is a difference between the help of lvresize and its man page. In the
manpage, there is nothing about the -r or --resizefs function. Centos4.

[root@serv01 ~]# lvresize
  Please specify either size or extents (not both)
  lvresize: Resize a logical volume

lvresize
        [-A|--autobackup y|n]
        [--alloc AllocationPolicy]
        [-d|--debug]
        [-h|--help]
        [-i|--stripes Stripes [-I|--stripesize StripeSize]]
        {-l|--extents [+|-]LogicalExtentsNumber[%{VG|LV|FREE}] |
         -L|--size [+|-]LogicalVolumeSize[kKmMgGtTpPeE]}
        [-n|--nofsck]
        [-r|--resizefs]
        [-t|--test]
        [--type VolumeType]
        [-v|--verbose]
        [--version]
        LogicalVolume[Path] [ PhysicalVolumePath... ] 

Version-Release number of selected component (if applicable):


How reproducible:Always


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Alasdair Kergon 2007-11-29 15:35:45 UTC
The option exists in the program, yes, but it does nothing useful yet.  Code is
now being written (bug 117316) and I think this is likely to be ready for the
next update at long last!

Meanwhile you can get this functionality with the system-config-lvm package.