Operating System - HP-UX
1755723 Members
3182 Online
108837 Solutions
New Discussion юеВ

Mirror Disk Readiness Help

 
SOLVED
Go to solution
Steven Chen_1
Super Advisor

Mirror Disk Readiness Help

Hi,

Would someone comment how to tell the readiness of disk mirrored, hardware and software point of views?

From software to check:
swlist |grep -i mirror

From hardware??

Does the software need to buy first? Strangly the server is the new one, with no clue of whether the 2 internal drives are mirrored or not.

Appreciated.

Steven
Steve
3 REPLIES 3
Stefan Farrelly
Honored Contributor
Solution

Re: Mirror Disk Readiness Help

To see if your drives are mirrored;

lvlnboot -v

If it lists 2 boot drives and 2 drives for root, swap etc. then theyre mirrored.

To check each lvol do;

for i in 1 2 3 4 5 6 7 8
do
lvdisplay /dev/vg00/lvol${i} | grep -i mirror
done

If theyre mirrored then it will return mirror copies = 1
Im from Palmerston North, New Zealand, but somehow ended up in London...
Chris Wilshaw
Honored Contributor

Re: Mirror Disk Readiness Help

MirrorDisk is not installed by default unless you've paid for it. It is held on the application CD's, but it codeword protected to make sure that it's not used without authorisation.

swlist -l fileset | grep -i mirror would show

LVM.LVM-MIRROR-RUN B.11.00 LVM-MIRROR-RUN

If it was installed on an HP-UX 11 system.

To check if a volume is mirrored, use

lvdisplay -v /dev/vgXX/lvolYY | more

If it's mirrored, you will see

Mirror copies 1

and

--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 /dev/dsk/c6t0d0 00000 current /dev/dsk/c7t0d0 00000 current
00001 /dev/dsk/c6t0d0 00001 current /dev/dsk/c7t0d0 00001 current
00002 /dev/dsk/c6t0d0 00002 current /dev/dsk/c7t0d0 00002 current
00003 /dev/dsk/c6t0d0 00003 current /dev/dsk/c7t0d0 00003 current

Where PV1 and PV2 are the mirrored disks
James R. Ferguson
Acclaimed Contributor

Re: Mirror Disk Readiness Help

Hi Steven:

In addition to the information already provided, remember that LVM implements mirroring at the *software* level with the optional product 'MirrorDisk/UX'.

Remember, too, that LVM mirroring is done at the *logical volume* level, not the physical disk nor volume group level.

That said, VxVM also offers mirroring cabability as an optional product:

http://docs.hp.com/hpux/onlinedocs/B7961-90023/B7961-90023.html

Regards!

...JRF...