1833764 Members
2701 Online
110063 Solutions
New Discussion

MirrorDisk/UX and logs

 
Tomoaki SUZUKI
Advisor

MirrorDisk/UX and logs

Hi All,
I wanna know that HP-UX is monitoring
or not internal Disks which are mirror-broken.

syslog.log indicates the event?
then other logs?

Best Regards,
5 REPLIES 5
Nick Wickens
Respected Contributor

Re: MirrorDisk/UX and logs

If LVM volumes then vgdisplay -v vgnn where vgnn is the volume group name will show mirrors as "Stale" rather than syncd.
Hats ? We don't need no stinkin' hats !!
Bill Hassell
Honored Contributor

Re: MirrorDisk/UX and logs

There is no monitoring of mirrored drives at the LVM level. You must install and run the online diagnostics to have EMS notify you about disk errors in syslog. EMS does not monitor the mirror maps, only physical drives. So you must look for disk errors in syslog, then check vgdisplay for specifics.


Bill Hassell, sysadmin
Devender Khatana
Honored Contributor

Re: MirrorDisk/UX and logs

Hi,

You can check LVM level mirroring of all the lvols in the VG by

#lvdisplay -v /dev/vgname/lvol* |grep stale

The stale extents means they are on not upto date. Also if you have errors in syslog for a particular drive failure you should replace it.

Also note that PE's on a failed drive are not marked stale until kernel tries to write them.


HTH,
Devender
Impossible itself mentions "I m possible"
Naveej.K.A
Honored Contributor

Re: MirrorDisk/UX and logs

The EMS logs for each PVs will be logged in /var/opt/resmon/log/event.log

Regards,
--Naveej
practice makes a man perfect!!!
HGN
Honored Contributor

Re: MirrorDisk/UX and logs

Hi

To check if the mirror is syncd or broken you can do a

# vgdisplay -v /dev/vg00

LV Name /dev/vg00/lvol11
LV Status available/syncd
LV Size (Mbytes) xxxx
Current LE xx
Allocated PE xx
Used PV 1

This shows that the mirror is syncd.

Rgds

HGN