Bug 202831 - pvmove needs a usage description if no args are given
Summary: pvmove needs a usage description if no args are given
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: lvm2   
(Show other bugs)
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Alasdair Kergon
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-08-16 17:03 UTC by Corey Marthaler
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-08-16 18:31:52 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Corey Marthaler 2006-08-16 17:03:27 UTC
Description of problem:
pvmove should behave like other lvm cmds:


[root@taft-04 ~]# pvremove
  Please enter a physical volume path
  pvremove: Remove LVM label(s) from physical volume(s)

pvremove
        [-d|--debug]
        [-f[f]|--force [--force]]
        [-h|-?|--help]
        [-t|--test]
        [-v|--verbose]
        [-y|--yes]
        [--version]
        PhysicalVolume [PhysicalVolume...]

[root@taft-04 ~]# pvresize
  Please supply physical volume(s)
  pvresize: Resize physical volume(s)

pvresize
        [-d|--debug]
        [-h|-?|--help]
        [--setphysicalvolumesize PhysicalVolumeSize[kKmMgGtT]
        [-t|--test]
        [-v|--verbose]
        [--version]
        PhysicalVolume [PhysicalVolume...]

[root@taft-04 ~]# pvchange
  Please give exactly one option of -x, -uuid, --addtag or --deltag
  pvchange: Change attributes of physical volume(s)

pvchange
        [-a|--all]
        [-A|--autobackup y|n]
        [-d|--debug]
        [-h|--help]
        [-t|--test]
        [-u|--uuid]
        [-x|--allocatable y|n]
        [-v|--verbose]
        [--addtag Tag]
        [--deltag Tag]
        [--version]
        [PhysicalVolumePath...]

[root@taft-04 ~]# pvmove
[root@taft-04 ~]#                                                              
                                      

Version-Release number of selected component (if applicable):
[root@taft-04 ~]# rpm -q lvm2
lvm2-2.02.06-6.0.RHEL4

Comment 1 Corey Marthaler 2006-08-16 18:31:52 UTC
Apparently, a pvmove without any args is supposed to pick up where an old pvmove
attempt may have left off. 


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