Operating System - HP-UX
1833644 Members
4991 Online
110062 Solutions
New Discussion

Re: vgextend -z gives 'operation not supported'

 
SOLVED
Go to solution
Jaris Detroye
Frequent Advisor

vgextend -z gives 'operation not supported'

I have MirrorDisk/UX installed, my entire vg00 is mirrored. I would like to provide a hot spare as well. But, the
'vgextend -z /dev/vg00 /dev/dsk/c0t5d0'
command fails with "operation not supported".
All my vg00 lvol's are 'strict' allocation and the target disk is the same size as my boot disks.

Any ideas?
7 REPLIES 7
Hai Nguyen_1
Honored Contributor

Re: vgextend -z gives 'operation not supported'

Your syntax is not right. It should have read:

# vgextend -z y /dev/vg00 /dev/dsk/c0t5d0

Hai
Ken Hubnik_2
Honored Contributor

Re: vgextend -z gives 'operation not supported'

You forgot the y in the command
Jaris Detroye
Frequent Advisor

Re: vgextend -z gives 'operation not supported'

No i forgot the 'y' in the message, I am using it in the command and it is not working.
Ken Hubnik_2
Honored Contributor

Re: vgextend -z gives 'operation not supported'

Other than insuring that you are a single-node cluster and strict using MirrorUX. I have found the following note.

Note that starting at HP-UX 10.30, any volume group activated in shared mode
(vgchange -a s) will not succeed if logical volumes with mirroring is
present. In this case, LVM hot sparing is not supported.
Jaris Detroye
Frequent Advisor

Re: vgextend -z gives 'operation not supported'

Not using ServiceGuard, and volume group vg00 is not shared.
Darrell Allen
Honored Contributor
Solution

Re: vgextend -z gives 'operation not supported'

2 guesses...

Did you pvcreate /dev/dsk/c0t5d0?

Are you mixing disks on an HP-IB interface with any on another type of interfaces?

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Jaris Detroye
Frequent Advisor

Re: vgextend -z gives 'operation not supported'

Cudos for pointing at the right area.

I used 'pvcreate -B' and this was the problem, if I remove the '-B' all is well.

I assume this means that while it is a hot spare for the root vg it can not be used as a boot device even if LVM mirrors over to it due to a primary drive failure.