Operating System - HP-UX
1837079 Members
2338 Online
110112 Solutions
New Discussion

Re: Mounting Snapshot Disk on other HP-UX System

 
SOLVED
Go to solution
Muthyala
Frequent Advisor

Mounting Snapshot Disk on other HP-UX System

Hi
Currently were taking backup using Data Protector 5.5. It is doing the SnapShot of the HP-UX disk in the SAN storage (EVA5000).We are taking the> backup from this snapshot disk.

My question is can i mount this snapshot disk on another HP-UX server and access the data from this disk. since backup/restoration is taking long time. i thought i can mount this snapshot disk on another test HP-UX server in case of emergency to save time.
Can this be done?

Are is there anyother faster way of doing this.

Thanks
Srikanth
5 REPLIES 5
Ivan Ferreira
Honored Contributor
Solution

Re: Mounting Snapshot Disk on other HP-UX System

Yes it can be done, it should be the same procedure (except that vgchgid is not needed) and you need to present the vdisk to the other host, see this thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1000416
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Sheriff Andy
Trusted Contributor

Re: Mounting Snapshot Disk on other HP-UX System

Yes,

This is what we do in our production environment for our backups.

We bring down our production volumes, snapclone, bring up our production volumes, then mount the snapclones on our backup server, then perform backups on our snapclones.

This process works very well.

Muthyala
Frequent Advisor

Re: Mounting Snapshot Disk on other HP-UX System

Hi Sheriff

Thanks for your reply.Can you tell me detail how you do it on another HP-UX server.The steps involved in mounting the snapclone device.and also what precautions i need to take on this.Can you explain me in detial.

Thanks
srikanth
Sheriff Andy
Trusted Contributor

Re: Mounting Snapshot Disk on other HP-UX System

First off you need to make sure that the snapclones are presented to your alternative ux server.

If you will follow Ivans link, it will show how to mount the disks to the alternative server. As he said as well, you do not need to do the vgchid on the volume group.

Once you get the volume group snapclones mounted on the alternative server, you can run your backups against it.
David Bellamy
Respected Contributor

Re: Mounting Snapshot Disk on other HP-UX System

Try this:
on system where clone disk are first do:
vgexport -v -p -s -m /etc/lvmconf/vgoracle.smap vgoracle
vgexport -v -p -m /etc/lvmconf/vgoracle.map vgoracle

next copy map files to other system.
make sure other system can see clone disk.
then do following steps:

vgchange -a n vgoracleBC
vgexport -v -m /dev/null vgoracleBC
mkdir /dev/vgoracleBC
mknod /dev/vgoracleBC/group c 64 0x120000
vgimport -v -m /etc/lvmconf/vgoracleBC.map /dev/vgoracleBC /dev/dsk/c15t2d4 /dev
/dsk/c15t2d5 /dev/dsk/c15t2d6

vgchange -c n /dev/vgoracleBC
vgchange -a y /dev/vgoracleBC
fsck -F vxfs -y /dev/vgoracleBC/rlvol1

mount /dev/vgoracleBC/lvol1 /ora1db01BC