Bug#433476: lvm2: Missing Documentation: lvresize [-r|--resizefs]

mds reportbug at helices.org
Tue Jul 17 13:04:23 UTC 2007


Package: lvm2
Version: 2.02.06-4
Severity: normal



What is this option to lvresize?

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


I do NOT find all of the options in the man pages; nor via googling.


I just resized 2 volumes like this:

    lvresize --size 4G VG1-usr
    resize2fs /dev/VG1/usr

Will this [-r|--resizefs] option do same in one CLI?




-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages lvm2 depends on:
ii  debconf [debconf-2.0]       1.5.11       Debian configuration management sy
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libdevmapper1.02            2:1.02.08-1  The Linux Kernel Device Mapper use
ii  libncurses5                 5.5-5        Shared libraries for terminal hand
ii  libreadline5                5.2-2        GNU readline and history libraries
ii  libselinux1                 1.32-3       SELinux shared libraries
ii  libsepol1                   1.14-2       Security Enhanced Linux policy lib
ii  lvm-common                  1.5.20       The Logical Volume Manager for Lin

lvm2 recommends no packages.

-- debconf information excluded




More information about the pkg-lvm-maintainers mailing list