Operating System - HP-UX
1844028 Members
2318 Online
110226 Solutions
New Discussion

lvsync is not a valid LVM command

 
SOLVED
Go to solution
Joe Kowalczyk_1
Occasional Contributor

lvsync is not a valid LVM command

I just inherited a hp-ux lli machine, I have mirrors established for all of vg00, and noticed I had a stale mirror on lvol3. When I try to lvsync it, I get ...

lvsync: Error, "lvsync" is not a valid LVM command.

The same response is given with vgsync.

I suspect mirroring is not patched onto my system, but the real question is... how is it that all the rest of vg00 is mirrored and current? Second question, is when swlist ing, what patch am I looking for?
4 REPLIES 4
Geoff Wild
Honored Contributor
Solution

Re: lvsync is not a valid LVM command

swlist |grep -i mirror

Should return:
B2491BA B.11.11 MirrorDisk/UX


If stale - you need to find out why...

You could try recreating the mirror:

lvreduce -m 0 /dev/vg00/lvol3
lvextend -m 1 /dev/vg00/lvol3

Rgds...Geoff


Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
RAC_1
Honored Contributor

Re: lvsync is not a valid LVM command

type vgsync
type lvsync

swverify -v "B2491BA"

Does it report any errors??
There is no substitute to HARDWORK
Joe Kowalczyk_1
Occasional Contributor

Re: lvsync is not a valid LVM command

Yes, Mirroring is not installed on my system, however, 7 other volumes on this same machine have mirroring, only one is stale. Is it possible someone upgraded the machine and forgot to install the patch for mirroring and that meanwhile, the mirrors established under the previous OS remained?

I would have expected that without the mirror patch, nothing would be mirrored and that mirrors established prior to the upgrade would have failed on the first boot.
Geoff Wild
Honored Contributor

Re: lvsync is not a valid LVM command

If you have a license for MirrorDisk U/X - then I would re-install it from your cd's.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.