LVM and VxVM

vgcreate does not make alternate link.

 
SOLVED
Go to solution
VERN HARRISON
Occasional Advisor

vgcreate does not make alternate link.

I have a VA7110. I created a volume group:
vgreate /dev/vgutlva1 /dev/dsk/c7t7d5
and tried to extend it:
vgextend /dev/vgutlva1 /dev/dsk/c6t7d5
and the vgdisplay -v /dev/vgutlva1 does not show either pv acting as an alternate.
I know they point to the same LUN on my VA7110. Why would I not get an alternate?
4 REPLIES 4
Patrick Wallek
Honored Contributor

Re: vgcreate does not make alternate link.

What you did should work. Can you please post your 'vgdisplay -v /dev/vgutlva1' output so we can take a look at it?
Sridhar Bhaskarla
Honored Contributor

Re: vgcreate does not make alternate link.

Hi,

Did you do a pvcreate on /dev/rdsk/c6t7d5 before vgextending it?.

One common mistake people do is to wipe out the previous LVM structure on the alternate path by doing a pvcreate on it before extending it.

If so, then it is better if you recreate the volume group.

If not, then check your VA7110 configuration and make sure it is the same LUN in fact.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
VERN HARRISON
Occasional Advisor

Re: vgcreate does not make alternate link.

Nevermind guys. I fixed it. But I appreciate your efforts. I had some kind of corruption going on. I did a vgreduce, vgremove, and pvremove and started from scratch and it all worked the first time. Thanks, Vern.
Steven E. Protter
Exalted Contributor
Solution

Re: vgcreate does not make alternate link.

Vernon,

Since the other two guys made and effort, please award them points. Nothing for this reminder please.

Just chiming in because it took me a month after my first post to figure out about point award.

Welcome to ITRC.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com