LVM and VxVM
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: how to remove alternate links for the disks

 
Advisor

how to remove alternate links for the disks

hi,
I have lost the /etc/lvmtab file. I thought by vgscan i can recover the same. After performed the vgscan, i checked the output of /etc/lvmtab.
It was displaying some more disks as well. why is this displaying all the other disks. but when i am doing vgdisplay -v (volumegroupname), it displaying the same physical volumes as alternate link to the PV. can you help me, how i can retrieve /etc/lvmtab to the normal ealier position?

Jmckathar
7 REPLIES 7
Honored Contributor

Re: how to remove alternate links for the disks

why u want to revert to old one, additional free things never harm.

do you have power path, or other multipath tool.

which HPUX version.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Advisor

Re: how to remove alternate links for the disks

Hi it is 11.31
Trusted Contributor

Re: how to remove alternate links for the disks

vgscan rescan and update lvmtab with all luns added to vg's available in your system. If there are additional PV's listed in your lvmtab means those luns are still part of VG's. You need to remove those luns by using vgreduce, if it is not needed.
Valued Contributor

Re: how to remove alternate links for the disks

Kathar,

From my understanding, vgscan gives you the lvm config of your present environment.
So. logically the "alternate links" - I guess what you mean by extra disks, is presently a part of your OS environment.
So why do your want to forcibly remove the redundancy?

Anyways, if you really want the old lvm configuration, I GUESS you should have a local backup copy or get it from the latest ignite backup you had made...I think so...
The expert here will give us better suggestions,possibly.

HTH
SNS
Points for all those who are helpful :-)!!




"Genius is 1% inspiration, 99% Perspiration" - Edison
Respected Contributor

Re: how to remove alternate links for the disks

do an ioscan -m dsf
it will show you the disks.
do a pvdisplay,vgdisplay of the disks,
accordingly you can vgreduce or vgextend the volume group

Re: how to remove alternate links for the disks

Hi there
Which options did you use with vgscan ?
Did you include -N option ?
Cheers
Trusted Contributor

Re: how to remove alternate links for the disks

Hi,

Please try vgscan in preview mode as

# vgscan -N -p

it will scan the VGs with their persitant Device file names. if the output satisfies you, then remove -p option and run vgscan as

# vgscan -N