1827286 Members
3283 Online
109717 Solutions
New Discussion

Re: Why vgchgid?

 
SOLVED
Go to solution
SAM_24
Frequent Advisor

Why vgchgid?

Hi,

I didn't get why vgchgid is required if I mount the file systems from BCV disks on BCV host?

I have system A & B , both are connected to EMC box. On A production FS are mounted. I do establish and split. Can I mount the bcv disks on system B without changing disk group id?

Thanks.
Never quit
5 REPLIES 5
Stefan Farrelly
Honored Contributor
Solution

Re: Why vgchgid?


If you mount the BCV disks on the SAME HP server they were split off from (ie. are a copy of disks on that server) then you must run vgchgid first or else you will be trying to import a volume group which has exactly identical VG/LVM header info as a VG already in use on your server. As you can see this would undoubtedly confuse your HP server.

If you mount the BCV's on a different HP server to where they were copied from then you dont need to run it.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Animesh Chakraborty
Honored Contributor

Re: Why vgchgid?

hi,
If your bcv devices are attached to a different server then no need to change the vgid.
I do bcv sync and split on regular basis without changing any vgid.
Did you take a backup?
Ashwani Kashyap
Honored Contributor

Re: Why vgchgid?

Only if you mount it on the same server do you need to do vgchgid to change the VG headers . It you ,ount it on another server you don't need to do it . you can directly import the VG's .
John Poff
Honored Contributor

Re: Why vgchgid?

Hi,

One other consideration is if system A and system B are nodes in ServiceGuard. If the production file systems on system A could failover and be mounted on system B, then you would want the BCV volumes on system B to have the vgchgid run on them before importing and mounting them, so that there would be no complaint during a failover.

JP
MANOJ SRIVASTAVA
Honored Contributor

Re: Why vgchgid?

You ahve to do a vgchgid if you are chaning the servers appratnly there is a server id writern in VG information and if u trty to do a vgimport on the server B it will ask you tod o a vgchid or it way complaing like the this vg belongs to another machine


Do a vgchgid and then doa vgimport .


Manoj Srivastava