1832984 Members
2734 Online
110048 Solutions
New Discussion

striping or mirror?

 
SOLVED
Go to solution
mw_4
Frequent Advisor

striping or mirror?

I'm happy to post my question.
usually I'm getting the many use skills.
Can I get the advice of someting..?
How can I make sure disk composion ,striping or mirror.
Notify me please
Step by step
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor
Solution

Re: striping or mirror?

Hi:

The output of 'lvdisplay' offers the key. If you have truly striped, then the number of 'stripes' will be > 0. If you have mirrored, then 'Mirror copies' > 0.

Regards!

...JRF...
Michael Tully
Honored Contributor

Re: striping or mirror?

Hi,

If your using HP-UX you can see if there is
disk mirroring by utilising the lvdisplay command.
You can also use this to see if there is any
striping. The output for mirroring will be
similar to this. Note the field where it
states mirrored copies. For striping have a look in the 'stripes' field.

HTH
-Michael

# lvdisplay -v /dev/vg00/lvol1 |more
--- 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) 84
Current LE 21
Allocated PE 42
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/c1t6d0 21 21
/dev/dsk/c2t6d0 21 21
Anyone for a Mutiny ?
harry d brown jr
Honored Contributor

Re: striping or mirror?

use the commands

vgdisplay -v vg##

lvdisplay -v /dev/vg##/lvol##


Mirroring and striping is done at the "lvol" (Logical volume) level.

live free or die
harry
Live Free or Die