Start a Conversation

Unsolved

This post is more than 5 years old

1157

September 28th, 2011 07:00

Mount BCV on same host - Veritas Volume Manager.

Hi Experts,

  I have a request to mount STD and BCV volumes (DMX) on same host with veritas volume manager, Solaris.

  If anyone has done this can share your experience or any advice is highly appreciated.

  Thank you

Tham

9 Legend

 • 

20.4K Posts

September 28th, 2011 07:00

62 Posts

September 28th, 2011 16:00

Hi TWK,

I am giving you some scripts.Hope it would help you....This is in Solaris 9 with Veritas 5.X

Mount Scripts:

#!/usr/bin/sh

#Scripts Written By Arif(5454)

/usr/symcli/bin/symmir -g medlivedg split -instant -noprompt

vxdctl enable

vxdg  -fC import  dcs_dg

vxdg  -fC import  appl_dg

vxdg  -fC import  data01_dg

vxdg  -fC import  data02_dg

vxdg  -fC import  data03_dg

vxdg  -fC import  data04_dg

vxdg  -fC import  data05_dg

vxdg  -fC import  data06_dg

vxdg  -fC import  data07_dg

vxdg  -fC import  data08_dg

vxdg  -fC import  data09_dg

vxvol -g dcs_dg startall

vxvol -g appl_dg startall

vxvol -g data01_dg startall

vxvol -g data02_dg startall

vxvol -g data03_dg startall

vxvol -g data04_dg startall

vxvol -g data05_dg startall

vxvol -g data06_dg startall

vxvol -g data07_dg startall

vxvol -g data08_dg startall

vxvol -g data09_dg startall

fsck -F vxfs /dev/vx/rdsk/dcs_dg/dcs_vol03

fsck -F vxfs /dev/vx/rdsk/dcs_dg/dcs_vol01

fsck -F vxfs /dev/vx/rdsk/dcs_dg/dcs_vol02

fsck -F vxfs /dev/vx/rdsk/appl_dg/appvol

fsck -F vxfs /dev/vx/rdsk/data01_dg/data01_vol

fsck -F vxfs /dev/vx/rdsk/data02_dg/data02_vol

fsck -F vxfs /dev/vx/rdsk/data03_dg/data03_vol

fsck -F vxfs /dev/vx/rdsk/data04_dg/data04_vol

fsck -F vxfs /dev/vx/rdsk/data05_dg/data05_vol

fsck -F vxfs /dev/vx/rdsk/data06_dg/data06_vol

fsck -F vxfs /dev/vx/rdsk/data07_dg/data07_vol

fsck -F vxfs /dev/vx/rdsk/data08_dg/data08_vol

fsck -F vxfs /dev/vx/rdsk/data09_dg/data09_vol

mount -F vxfs  /dev/vx/dsk/dcs_dg/dcs_vol03 /var/dcs_5.1

mount -F vxfs  /dev/vx/dsk/dcs_dg/dcs_vol01 /opt/dcs_5.1

mount -F vxfs  /dev/vx/dsk/dcs_dg/dcs_vol02 /opt/dcs

mount -F vxfs  /dev/vx/dsk/appl_dg/appvol /dcs/appl01

mount -F vxfs  /dev/vx/dsk/data01_dg/data01_vol /dcs/data01

mount -F vxfs  /dev/vx/dsk/data02_dg/data02_vol /dcs/data02

mount -F vxfs  /dev/vx/dsk/data03_dg/data03_vol /dcs/data03

mount -F vxfs  /dev/vx/dsk/data04_dg/data04_vol /dcs/data04

mount -F vxfs  /dev/vx/dsk/data05_dg/data05_vol /dcs/data05

mount -F vxfs  /dev/vx/dsk/data06_dg/data06_vol /dcs/data06

mount -F vxfs  /dev/vx/dsk/data07_dg/data07_vol /dcs/data07

mount -F vxfs  /dev/vx/dsk/data08_dg/data08_vol /dcs/data08

mount -F vxfs  /dev/vx/dsk/data09_dg/data09_vol /dcs/data09

Unmount Scripts:-

#!/usr/bin/sh

#Scripts Written By Arif(5454)

umount -f /var/dcs_5.1

umount -f /opt/dcs_5.1

umount -f /opt/dcs

umount -f /dcs/appl01

umount -f /dcs/data01

umount -f /dcs/data02

umount -f /dcs/data03

umount -f /dcs/data04

umount -f /dcs/data05

umount -f /dcs/data06

umount -f /dcs/data07

umount -f /dcs/data08

umount -f /dcs/data09

vxvol -g dcs_dg stopall

vxvol -g appl_dg stopall

vxvol -g data01_dg stopall

vxvol -g data02_dg stopall

vxvol -g data03_dg stopall

vxvol -g data04_dg stopall

vxvol -g data05_dg stopall

vxvol -g data06_dg stopall

vxvol -g data07_dg stopall

vxvol -g data08_dg stopall

vxvol -g data09_dg stopall

vxdg deport dcs_dg

vxdg deport appl_dg

vxdg deport data01_dg

vxdg deport data02_dg

vxdg deport data03_dg

vxdg deport data04_dg

vxdg deport data05_dg

vxdg deport data06_dg

vxdg deport data07_dg

vxdg deport data08_dg

vxdg deport data09_dg

/usr/symcli/bin/symmir -g medlivedg est -noprompt

Thanks

Arif

9 Legend

 • 

20.4K Posts

September 28th, 2011 16:00

you mounting BCVs on the same host where you have your STD devices ?

62 Posts

September 29th, 2011 20:00

Hi Dynamox,

My Scripts are for the different hosts.I mean BCV is mounted in Backup servers.

TWK,

If u wish to mount the BCV Volumes  in the same server u need to do the below for importing the VG's which will show uuid mismatch in normal import scenario---

vxdg -n clone_dg01 -o useclonedev=on -o updateid import data01_dg

vxdg -n clone_dg02 -o useclonedev=on -o updateid import data02_dg

......

........

.......

5 Posts

September 29th, 2011 20:00

Hi Arif,

   Thanks for the info, appreciate it.

Hi Dynamox,

  Yes, I going to mount STD and BCV on the same host. Will there be any additional commands required on top of what have been given by Arif?

  Any ideas or suggestions are highly appreaciated.

Tham

5 Posts

October 3rd, 2011 02:00

Hi Arif,

  Do you mind to share the script or the full procedure?

  Thank you.

Tham

No Events found!

Top