Operating System - HP-UX
1832567 Members
5647 Online
110043 Solutions
New Discussion

Re: VxVM growto command on mirrored environment

 
SOLVED
Go to solution
Srikanth Arunachalam
Trusted Contributor

VxVM growto command on mirrored environment

Hi,

There was a requirement where I had to extend one of the filesystem volume space from 5GB to 15GB, the disk group is dsk_dbf and the mirror is dsk_dbf_m.

If I use vxresize using command
/etc/vx/bin/vxresize -g omcdg systab_v +10g

will it automatically replicate in the mirror disk group.

I know that vxassist -g omcdg growto 15g and
fsadm -F vxfs -b 15g /u01/oradata/omc/systab

will replicate in the mirror disk group.

unfortunately, I have already executed the vxresize command in the production system.

Can you please let me know how do I ensure if the mirror disk group has also extended.

Thanks,
Srikanth
6 REPLIES 6
AwadheshPandey
Honored Contributor

Re: VxVM growto command on mirrored environment

http://docs.hp.com/en/B9106-90008/vxassist.1M.html
It's kind of fun to do the impossible
Robert-Jan Goossens_1
Honored Contributor

Re: VxVM growto command on mirrored environment

Hi,

Could you post the output of the vxprint command?

Robert-Jan
Srikanth Arunachalam
Trusted Contributor

Re: VxVM growto command on mirrored environment

Heres is the output.
Robert-Jan Goossens_1
Honored Contributor
Solution

Re: VxVM growto command on mirrored environment

Srikanth,

from your vxlist output

v systab_v - ENABLED ACTIVE 15728640 SELECT - fsgen
pl systab_p0 systab_v ENABLED ACTIVE 15728640 CONCAT - RW
sd dsk_dbf-35 systab_p0 dsk_dbf 297800336 5242880 0 c9t0d2 ENA
sd dsk_dbf-115 systab_p0 dsk_dbf 494942920 10485760 5242880 c9t0d2 ENA
pl systab_v-02 systab_v ENABLED ACTIVE 15728640 CONCAT - RW
sd dsk_dbf_m-35 systab_v-02 dsk_dbf_m 297800336 5242880 0 c13t0d2 ENA
sd dsk_dbf_m-115 systab_v-02 dsk_dbf_m 494942920 10485760 5242880 c13t0d2 ENA
pl systab_v-03 systab_v ENABLED ACTIVE LOGONLY CONCAT - RW
sd dsk_dbf-36 systab_v-03 dsk_dbf 297800072 264 LOG c9t0d2 ENA
pl systab_v-04 systab_v ENABLED ACTIVE LOGONLY CONCAT - RW
sd dsk_dbf_m-36 systab_v-04 dsk_dbf_m 297800072 264 LOG c13t0d2 ENA

v - volume
pl - plex (mirror)
sd - subdisk

As you see both plexes are active and have the same size 15Gb (15728640), and both are equaly distributed on both disks (c9t0d2 and c13t0d2)

Regards,
Robert-Jan
Srikanth Arunachalam
Trusted Contributor

Re: VxVM growto command on mirrored environment

Thanks a lot robert.

I will close this thread.

Regards,
Srikanth
Srikanth Arunachalam
Trusted Contributor

Re: VxVM growto command on mirrored environment

It confirms that vxresize will still be able to extend on the mirrored disk as well.