1832878 Members
2515 Online
110048 Solutions
New Discussion

Re: MirrorDisk

 
SOLVED
Go to solution
f. halili
Trusted Contributor

MirrorDisk

I have a system right now & via SAM I could see that vg00 is mirrored. How can I check that via command line?

Is MirrorDisk separate product?
I did a swlist -l fileseet | grep MirrorDisk and got nothing.

thanks,
f. halili

derekh
8 REPLIES 8
Stuart Abramson
Trusted Contributor
Solution

Re: MirrorDisk

Here is the product installed on hpux 11.11:

$ swlist | grep -i mirror
B2491BA B.11.11 MirrorDisk/UX

Here is how you tell what's mirrored:

$ bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 524288 97944 423048 19% /
/dev/vg00/lvol1 295024 58560 206960 22% /stand
/dev/vg00/lvol9 4096000 1153448 2920056 28% /var
/dev/vg00/lvol8 3072000 1284856 1773264 42% /usr
.../dev/emc01/lvol2 671744 581414 84702 87% /bmc
...
$ lvdisplay /dev/vg00/lvol9
--- Logical volumes ---
LV Name /dev/vg00/lvol9
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1 <== This indicates mirror copies
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 4000
Current LE 1000
Allocated PE 2000
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
Rajeev Tyagi
Valued Contributor

Re: MirrorDisk

Halili,

You can check with

#swlist | grep MirrorDisk/UX Or
#swlist | grep B2491BA


Pete Randall
Outstanding Contributor

Re: MirrorDisk

If you look at a vgdisplay -v, you'll notice that Current LE is only half of Allocated PE - that's one way. Looking at lvdisplay, you'll see Mirror copies 1.


Pete

Pete
Rita C Workman
Honored Contributor

Re: MirrorDisk

Quick and easy way:

lvdisplay -v /dev/vg00/lvolxx | more

It shows how mirror copies there are in the display.

Try running:
swlist | grep -i mirr

Rgrds,
Rita

f. halili
Trusted Contributor

Re: MirrorDisk

Hello,

I checked one volume group below. So this is mirrored. Please see below.

But I still don't get anything with
#swlist | grep -i MirrorDisk
#swlist| grep -i mirror

The only "mirror" that I get in swlist -l is.
LVM.LVM-MIRROR-RUN B.11.11 LVM-MIRROR-RUN
LVM.LVM-RUN PHCO_29379.LVM-MIRROR-RUN 1.0 LVM.LVM-MIRROR-RUN

This is not MirrorDisk right ???

THANKS,
derek h.
==========

# lvdisplay -v /dev/vg00/lvol1
--- Logical volumes ---
LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 304
Current LE 38
Allocated PE 76
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default

--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c1t0d0 38 38
/dev/dsk/c1t2d0 38 38

derekh
Rajeev Tyagi
Valued Contributor

Re: MirrorDisk

Halili,

You have MirrorUX installed. It is probably installed from HPUX11i Enterprise OE or Mission Critical OE. And your logical volume is also mirrored.
f. halili
Trusted Contributor

Re: MirrorDisk

yes we have on one machine

HPUX11i-OE-MC B.11.11.0203

and on another

HPUX11i-OE-Ent B.11.11.0203

THANKS!
derekh
f. halili
Trusted Contributor

Re: MirrorDisk

thanks.
derekh