Operating System - HP-UX
1832489 Members
4496 Online
110043 Solutions
New Discussion

Resynch primary and mirror disks.

 
SOLVED
Go to solution
Annelise Wilken
Regular Advisor

Resynch primary and mirror disks.

I have an rx4640 Integrity server with 2 external disks as follows:

c4t0d0 - primary root disk
c4t1d0 - root mirror copy

To test that I could boot from the mirror disk I did the following:
1. shutdown server.
2. pulled out primary disk
3. Started server up and chose the ALT disk from EFI boot menu.
4. Server booted correctly.
5. Shut server down - inserted primary disk
6. Booted server from primary disk
7. server booted correctly - BUT when I do vgdisplay -v vg00

my logical volumes are not sync and looking at the logical volumes (lvdisplay -v /dev/vg00/lvol9 etc....) they are stale - how do I resynch my primary (c4t0d0) with the mirror (c4t1d0)copy?

Thanks
4 REPLIES 4
Pete Randall
Outstanding Contributor
Solution

Re: Resynch primary and mirror disks.

vgsync


Pete

Pete
Marco Santerre
Honored Contributor

Re: Resynch primary and mirror disks.

vgsync vg00 should do the trick..
Cooperation is doing with a smile what you have to do anyhow.
Borislav Perkov
Respected Contributor

Re: Resynch primary and mirror disks.

Hi Annelise,

You can use:

vgsync /dev/vg00

for whole volume group synchronisation or

lvsync /dev/vg00/lvol9

for particular logical volume.

Regards,
Borislav
Annelise Wilken
Regular Advisor

Re: Resynch primary and mirror disks.

Many thanks all - did the trick .... phew!

Big Thanks!