Operating System - HP-UX
1751936 Members
4646 Online
108783 Solutions
New Discussion

Re: need help to migrate info

 
loy4lplay
Occasional Advisor

Re: need help to migrate info

--- Physical volumes ---
PV Name /dev/dsk/c5t0d0
PV Name /dev/dsk/c4t0d1 Alternate Link
PV Status available
Total PE 34998
Free PE 12086
Autoswitch On
Proactive Polling On


# vgextend vg01 /dev/dsk/c10t0d1
vgextend: Warning: Max_PE_per_PV for the volume group (35002) too small for this PV (37119).
Using only 35002 PEs from this physical volume.
Couldn't open physical volume "/dev/rdsk/c4t0d1":
Verification of unique LVM disk id on each disk in the volume group
vg01 failed.

Patrick Wallek
Honored Contributor

Re: need help to migrate info

It's apparently not liking your alternate paths.  Those were probably going over the fibre that you are now using with your new disk array.  Go ahead and use vgreduce to remove the c4t0d1 disk from VG01.  Once you have done that, try using vgextend again to add your new disk to the VG.

Bill Hassell
Honored Contributor

Re: need help to migrate info

--- Physical volumes ---
PV Name /dev/dsk/c5t0d0
PV Name /dev/dsk/c4t0d1 Alternate Link

 As Patrick mentions, c4t0d0 is still part of vg01. That Alternate link must be removed BEFORE you switch the fibre cable to a different array.

Use:

# vgreduce vg01 /dev/dsk/c4t0d1

But the fibre must still be connected to the old MSA in order to remove it from vg01.

 

Once there is just a single path in vg01  connected to the VNX array, then you can extend vg01.

 

# vgextend vg01 /dev/dsk/c10t0d1
vgextend: Warning: Max_PE_per_PV for the volume group (35002) too small for this PV (37119).
Using only 35002 PEs from this physical volume.

This is confusing. What has been done prior to this step?

Does vg01 still have the Alternate path?

 

Also, the Max_PE_per_PV warning is a problem. The LUN you are trying to add is too large. The maximum size for another LUN to be added is: 35002 * 8 = 280016 MB.  Run diskinfo on both the old LUN and the new LUN and compare.

 

If you need more space in vg01, the easiest way is to add another LUN. Changing the size of an existing LUN can be quite complex to succeed.

 

 



Bill Hassell, sysadmin
Ruel Alojado
Advisor

Re: need help to migrate info

Hi,

 

I agree with Bill.

 

You presented a bigger LUN than the existing.

 

You can reduce the size to 250GB LUN as if I compute, you only utilized 200GB in VG01.  You have 80GB still unallocated.

 

Also, the Max size per LUN you can presented for your VG01 is only  35002X8Mb because of the Physical Extent to define during the VG Creation.  Beyond that size is unsuable.

 

Once you finished your installation, better to install EMC Powerpath if VNX comes with the license.  This will require immediate reboot after the installation.