1832986 Members
2514 Online
110048 Solutions
New Discussion

extenvg with Symetrics

 
Abel Berger
Regular Advisor

extenvg with Symetrics

Hello Specialists in the world !!!

there are a some syntaxe for extenvg command to add a Symetrix phisical disk in vgxx using command line ?
PS: model K580 / HP-UX 10.20.

Could anybody help me ?

Regards

Abel Berger

4 REPLIES 4
Carlos Fernandez Riera
Honored Contributor

Re: extenvg with Symetrics


I guess you refer to vgextend command.

No, a disk in Symmetrix is as anyother disk for LVM.

Use vgextend /dev/vgxx /dev/rdsk/cxtxdx.
unsupported
Pedro Sousa
Honored Contributor

Re: extenvg with Symetrics

Oi Abel!
Do you have PowerPath installed? And SysConsole?

First thing, you should check which disks are being used by the VGs (strings /etc/lvmtab). Then you should use "inq" or "ioscan -fnkC disk" to see every disk in the system.
After this, and as Symmetrix already does mirror himself, you can extend your vg to as many free disks you want (vgextend vg /dev/dsk/cxtxdx)

boa sorte.
MANOJ SRIVASTAVA
Honored Contributor

Re: extenvg with Symetrics

Hi Abel

Do this

1. Identify the disk to be added ioscan -fnC Disk .

2. Incase it is 2 Paths then identify both the paths .

3. Do a pvcreate for those two devices ( in case ther are two paths). Sometimes in EMC -f option can only create since it senses that there is some data on the disk.In any case it is better to do a pvdisplay before the pv create command.

4. vgextend /dev/vgXX /dev/dsk/cxtydz < primary path. /dev/dsk/c1t2d3 < secondary path >

also do vgdisplay -v /dev/vgXX before and after you add the disk so that the changes are shown.


Manoj Srivastava
Rita C Workman
Honored Contributor

Re: extenvg with Symetrics

Hi Abel,

The others have given you commands to pvcreate and extend...so I'm going to touch on just one aspect.
If you have a EMC Symmetrix, than I might ask if it is connected to more than one server. If it is....than look for the EMC program that uses the 'inq' utility and run this for utility naming all the servers connected to your EMC Symmetrix disk array. You want to pipe this to a file. It will create a report with all the servers and the device addresses as they are seen by each server for the same disk. Remember when you have multiple servers connected to the same disk array...the same disk may be called different things by different servers...and you could accidently pvcreate the wrong one !!!!!
If you can't find this little utility, than call your EMC rep OR Here's a thread to a post I did awhile back....it has that program attachment....look for my response it's there..

http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x54ad14a24fd1d4118fef0090279cd0f9!0,00.html

Just a thought,
/rcw