Operating System - HP-UX
1820880 Members
3571 Online
109628 Solutions
New Discussion юеВ

lvcreate -D gripes '"D": illegal option'

 
SOLVED
Go to solution
Jordan Bean
Honored Contributor

lvcreate -D gripes '"D": illegal option'

What must be done to enable the -D option in both /sbin/lvcreate and /usr/sbin/lvcreate. I have MirrorDisk/UX installed and the Dec 2000 XSWGR1100 and XSWHRCR1100. The man pages talk about the distributed allocation policy and the -D option, but the commands gripe and provide a list of valid options in which -D is not shown.

# /usr/sbin/lvcreate -n usr -D y -s g -r n -C n -l 1024 -m 1 /dev/vg01
Usage: lvcreate
[-A Autobackup]
[-d Schedule]
[-i Stripes -I StripeSize]
{-l LogicalExtentsNumber |
-L LogicalVolumeSize}
[-m MirrorCopies]
[-n LogicalVolumeName]
[-p Permission]
[-r Relocate]
[-s Strict]
[-C Contiguous]
[-M MirrorWriteCache]
[-c MirrorConsistency]
VolumeGroupName
"D": Illegal option.
#
6 REPLIES 6
Jeff Gunnink
Advisor

Re: lvcreate -D gripes '"D": illegal option'

I believe you need:
HP OnLineJFS (Advanced VxFS)
It must be a feature of advanced JFS not accessable without.
Denver Osborn
Honored Contributor
Solution

Re: lvcreate -D gripes '"D": illegal option'

The -D option was introduced by a patch. Either you don't have the patch installed or something may have been reinstalled.

11.0 PHCO_16851 (latest is PHCO_23791)
10.20 PHCO_13840 (latest is PHCO_23437)

Installing the latest LVM Commands patch should resolve

hope this helps
-denver
Jordan Bean
Honored Contributor

Re: lvcreate -D gripes '"D": illegal option'

This is a HPUX 11.00 clean install... come to think of it, I think I installed the MirrorDisk/UX bundle after the Dec 2000 Support Plus bundles. I just finished downloading the March Support Plus bundle, so I'll see where this takes me.
melvyn burnard
Honored Contributor

Re: lvcreate -D gripes '"D": illegal option'

you do not need Online JFS for this.
The important thing here is that there is no -D option listed.
This was added by patches, but you say you have patched the system.
You need to check for the LVM Cumulative patch for your OS is loaded and in configured state.

do swlist -l fileset -a state |grep -e install -e transient -e corrupt.
You should not get anything in this state.

The origional patch for 10.20 was PHCO_13480 and for 11.00 PHCO_16851
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Jordan Bean
Honored Contributor

Re: lvcreate -D gripes '"D": illegal option'

The best available replacement patch, PHCO_21630, is configured. The original isn't even listed. The latest, PHCO_23791, will most likely be acquired when the CPM is back online.
Jordan Bean
Honored Contributor

Re: lvcreate -D gripes '"D": illegal option'

Thanks. Installing the March 2001 Support Plus bundle restored whatever was missing.