1834236 Members
2318 Online
110066 Solutions
New Discussion

2 disk mirror test

 
SOLVED
Go to solution
KCS_1
Respected Contributor

2 disk mirror test

Hi everyone!!
I have two disk mirrored.
first time, I wanna mirror test on hpux11.0.
Do you know what is good method for test it?
Easy going at all.
4 REPLIES 4
RikTytgat
Honored Contributor

Re: 2 disk mirror test

Hi,

When I have to demo mirrored disk at a customers site, I usually remove 1 of the disks and show the effect by using the lv* commands. These show the stale physical extents and stuff.

Afterwards, you re-insert the mirror disk and sync it with the command vgsync.

Bye,
Rik
MANOJ SRIVASTAVA
Honored Contributor

Re: 2 disk mirror test

Hi Patrick

It depends on the disk types , if they are hot swappable then you can just remove one of them and check that the fielssytem is still fine , thought iot wills how the mirrored PV msiing and stale . In case they are not then you can shut down the system and remove the PV and check the same

Manoj Srivastava

Michael Tully
Honored Contributor

Re: 2 disk mirror test

Hi,

If the disks is mirrored to a non-boot volume unlike vg00, you could do an lvsplit and lvmerge, to make sure that one or both sets are working. If it is the 'vg00' group, you do a boot set off the secondary disk. Only other test could be actually removing the disk, but you may not be in a postion to perform this
type of test.

Michael
Anyone for a Mutiny ?
S.K. Chan
Honored Contributor
Solution

Re: 2 disk mirror test

If you have access to the disk, unplugging the mirrored disk is a good way to test. You would see at the end of a "vgdisplay -v vgXX" that the "PV Status" of the disk is unavailable. Of course after you've unplugged it you would want test all the mounted FS on this VG to make sure the data are still intact. If this is a boot disk you're testing, the best way is to change you bootpath to the mirrored disk using "setboot" command and reboot the system so that it boots up from the mirrored disk.