Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
cancel
Showing results for 
Search instead for 
Did you mean: 

mirror disk fail

Hasell Blad
Advisor

mirror disk fail

Hi.

If disk mirroring fails,
can we receive messages?
Hudson
3 REPLIES
Michael Tully
Honored Contributor

Re: mirror disk fail

Hi,

I'm not 100% sure of your question, but
if your primary disk fails for any reason
and if disk mirroring is set up correctly
your system will continue to work. If
your disk does happen to fail there are
two areas where information is logged.
First there is /var/adm/syslog/syslog.log
dmesg and if you have it configured, the
EMS system will report errors into it's
own log file /var/opt/resmon/log/event.log

-Michael
Anyone for a Mutiny ?
Andreas Voss
Honored Contributor

Re: mirror disk fail

Hi,

you can setup a script that does periodically check the lvm for stale extents (cronjob) ie:

vgdisplay -v |grep -iq stale
if [ $? = 0 ]
then
vgdisplay -v |grep -i stale | mailx -s 'LVM stale event'
fi

Regards
Sanjay_6
Honored Contributor

Re: mirror disk fail

Hi,

If you have EMS installed and the disk that fails is being monitored, root or the configured user will be sent an email and an entry is made in the /var/adm/syslog/syslog.log file. If you don't have EMS installed on the system, you won't come to know of a disk failure until you go and check the same using some tool like STM or even try a vgsync.

You can download EMS using this link, Cut and paste the link in your browser,

https://software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/try.pl?productNumber=B7609BA&date=

Hope this helps.

Regds