1753672 Members
5590 Online
108799 Solutions
New Discussion юеВ

Extending VxVM Layout 1.

 
Rajesh SB
Esteemed Contributor

Extending VxVM Layout 1.

Hi Experts,

I am new to VxVM.
I am looking for quick steps to extending Mirrored Volume by adding 2 additional disks.

As I need to complete task soon.

Thanks in advance.

Thanks & Regards,
Rajesh SB
3 REPLIES 3
Albert_31
Trusted Contributor

Re: Extending VxVM Layout 1.

Hello Rajesh,

The following would be the steps that you would need to follow for the activity

Step 1 :- Initialize the disks into vxvm and add them to the diskgroup
a) You should before this activity have a list of the disk..
#ioscan -fnC disk
#vxprint (for the diskgroup name and the dm names)
b) Add teh disks to vxvm..
# vxdiskadm

the below link should be able to help you..
http://docs.hp.com/en/5991-0603/ch02s06.html

b)Once the disks are added to the disk group, you can confirm with the following commands

# vxdisk list
Here the disks should be ONLINE and the disk media name and diskgroup should be populated.
# vxprint -g
In the DM part you should be able to view your disks here.

Step 2 :- Extending the volume.. you have to be a bit more clear on what exactly you want to achieve..
i) Extend the size of the existing volume
ii) Add two more mirror copies for the volume such that the new disks have the mirror copies.

For starters.. vxassist is teh command that will assist you here..

Mail me the information by replying to this thread and put in cc albert_pereira@yahoo.com and i will get back to you. it would be great if you can attach the following info as well

a) ioscan -fn
b) vxdisk list
c) vxprint

regards

Albert
Rajesh SB
Esteemed Contributor

Re: Extending VxVM Layout 1.

Thanks Albert for quick updates.

I have below Mirrored Volume reaching 97%. Now I have to extend this Volume by adding disk. I adding 2 disks here.

/dev/vx/dsk/newdg/newvol
44150784 42441772 1603319 97% /data/inmedstat

I am cleared with steps to configuring disks as VM disks. After that,
What parameter I have to use with
# vxresize or # vxextend commands.

Please give me the steps.

Thanks & Regards,
Rajesh
Srikanth Arunachalam
Trusted Contributor

Re: Extending VxVM Layout 1.

Hi Rajesh,

Just do the following.
/etc/vx/bin/vxresize -g omcdg srs_1_d_v +10g

there should not be space after "+" symbol.

Thanks,
Srikanth