Operating System - HP-UX
1752777 Members
6188 Online
108789 Solutions
New Discussion юеВ

Re: Business Copy and HP-UX mounting

 
Didier Honore
Frequent Advisor

Business Copy and HP-UX mounting

Hello,

what is the right method to mounted a Business Copy lun on HP-UX?

I have created the Business Copy lun.
Then I have copy the parent lun to the Business Copy lun.
I have defined the permission on the Business Copy lun.

Now how can I mount it?

Each time I try I get an error: file system corrupted. I must do a fsck before to mount it.

What is the right way?

thanks

Didier

7 REPLIES 7
Ian Dennison_1
Honored Contributor

Re: Business Copy and HP-UX mounting

Unless you unmount the source disks before doing the Business Copy split, you will need to perform an fsck on the disks. As long as the database on the disks is down, there should not be a problem.

BTW, are you using the same Volume Group ID on both systems?

Share and Enjoy! Ian
Building a dumber user
Ross Zubritski
Trusted Contributor

Re: Business Copy and HP-UX mounting

Are you able to mount after the fsck? I use BCV's here (EMC) and have built fsck login into my sync/split/mount scripts.

Regards,

RZ
Ross Zubritski
Trusted Contributor

Re: Business Copy and HP-UX mounting

"fsck login"=fsck logic

Fat fingers....
Bryan D. Quinn
Respected Contributor

Re: Business Copy and HP-UX mounting

Hey Didier,

Here is what we do to make a "snapshot" of our PRD server to mount on another server as TestPRD.

1. vgchgid pv's
2. mkdir
3. mknod
4. vgimport pv's
5. vgchange -c n vg
6. vgchange -a y -q n vg
7. mount lvols to corresponding mount points

Hope this helps!
-Bryan
Didier Honore
Frequent Advisor

Re: Business Copy and HP-UX mounting

Hi,


It works after the fsck.

If I have a correct understanding, if I don't umount the parent LUN, I must do a fsck on the BC LUN.

Is it right?

thanks

Didier
Ross Zubritski
Trusted Contributor

Re: Business Copy and HP-UX mounting

Correct
Stuart Abramson_2
Honored Contributor

Re: Business Copy and HP-UX mounting

1. You must quiesce the primary LUN before you split the disks. Otherwise the copy will be corrupt.

1'. you must ensure that the copy is fully synchronized with the primary before you split it. I forget how to do that with BC (pairdisplay -someoption)

2. You must vgchgid the copy before you mount it on the same host or on a host in a cluster with the primary PV. Otherwise you will hve two PVs with the same VGID.

3. You must fsck the copy before you mount it.