This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours
Bug 165765 - lvchange -j is presented to user but not doc'ed
lvchange -j is presented to user but not doc'ed
Status: CLOSED DUPLICATE of bug 204997
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: lvm2 (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Alasdair Kergon
Depends On:
  Show dependency treegraph
Reported: 2005-08-11 17:27 EDT by Corey Marthaler
Modified: 2007-11-30 17:07 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-09-04 11:19:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:

Attachments (Terms of Use)

  None (edit)
Description Corey Marthaler 2005-08-11 17:27:06 EDT
Description of problem:
I'm not sure what "-j" does, but it says I can use it:

lvm> lvchange
  One or more of -a, -C, -j, -m, -M, -p, -r, --refresh, --alloc, --addtag or
--deltag required

lvm> lvchange -h
  lvchange: Change the attributes of logical volume(s)

        [-A|--autobackup y|n]
        [-a|--available [e|l]y|n]
        [--addtag Tag]
        [--alloc AllocationPolicy]
        [-C|--contiguous y|n]
        [--deltag Tag]
        [-M|--persistent y|n] [--major major] [--minor minor]
        [-p|--permission r|rw]
        [-r|--readahead ReadAheadSectors]
        LogicalVolume[Path] [LogicalVolume[Path]...]

lvm> lvchange -j /dev/gfs/testvol
  Invalid argument /dev/gfs/testvol
  Error during parsing of command line.
lvm> lvchange -jy /dev/gfs/testvol
  Invalid argument y
  Error during parsing of command line.
lvm> lvchange -j 1 /dev/gfs/testvol
  --major and --minor require -My
Comment 1 Milan Broz 2006-09-04 11:19:14 EDT
Option -j is shortcut for --major. 
Not implemented in lvm2 yet.
Closing this as duplicate of feature request for implementing LVM2 major number

*** This bug has been marked as a duplicate of 204997 ***

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