1832487 Members
4296 Online
110043 Solutions
New Discussion

Disk mirroring

 
Andy Elston
Advisor

Disk mirroring

How can I find out if our HP9000 K class server is using hardware or software disk mirroring?
7 REPLIES 7
Andreas Voss
Honored Contributor

Re: Disk mirroring

Hi,

at HP-UX mirroring is done by LVM (Logical Volume Manager).
To check if you have installed the mirroring software check this:

swlist | grep -i mirror

If you get something like:

B2491A_APZ B.10.20 MirrorDisk/UX

the mirror software is installed on your system.

Check each logical volume with:

lvdisplay /dev/vgXX/lvolY

and look for the line

Mirror Copies

If you see a '1' then this lvol is mirrored.

Regards
A. Clay Stephenson
Acclaimed Contributor

Re: Disk mirroring

Hi:
1) Do swlist - if MirrorDisk/UX is not installed then you are definitely not mirroring in software
2) lvdisplay /dev/vgnn/lvolxx
This should show the number of mirror copies; if greater than 0 then you are software mirrored.

Unfortunately, there is no way (without running hardware/vendor specific routines) to know if you are hardware mirrored. If your pvdisplay indicates alternate paths that is a hint but not an absolute indication that mirroring is going on.
If it ain't broke, I can fix that.
eran maor
Honored Contributor

Re: Disk mirroring

Hi

if you are using raid 1 to do the mirror you are working with hardware mirror .

i know from fact that every body is using software mirror that you can see if you do lvdisplay to a logical volume.

if it hardare so you are using auto-raid or you need to check the scsi card that you are working with .

but the easy way is to work with software mirror .
love computers
Bill McNAMARA_1
Honored Contributor

Re: Disk mirroring

ioscan -fnkCdisk
and look at the disk description if it says anything other than seagate it is more than likely a hardware mirroring disk array.

To verify if lvm is configured to do software mirroring.

lvcreate -?

if you see a -m option you can do software mirroring.
man lvsplit, man lvmerge
if there is no man, mirrordisk is not installed.

Later,
Bill

It works for me (tm)
Victor_5
Trusted Contributor

Re: Disk mirroring

Method1:
# swlist -l fileset -a state | grep -i mir
You will see mirror information if you installed mirror on your system

Method2:
mstm(stm) -->select scsi controller
tools-->information-->run
You will see mirror information
Vincenzo Restuccia
Honored Contributor

Re: Disk mirroring

If you have a disk array (Nike,FC60) with external disks the mirror is firmware otherwise it is software (MIRROR-UX) and you can see it:
#lvdisplay -v /dev/vgxx/lvolx|grep -i "mirror copies"
Andy Elston
Advisor

Re: Disk mirroring

What a response!
I have now confirmed that we are using software mirroring as I thought.

Thanks to you all for such a quick response, your points will be awarded soon!

L8R