Operating System - HP-UX
1819803 Members
2987 Online
109607 Solutions
New Discussion юеВ

EMS keeps notifying about removed disks.

 
SOLVED
Go to solution
Dave Chamberlin
Trusted Contributor

EMS keeps notifying about removed disks.

I removed several disks from my system using vgreduce etc. and I now get messages daily that those disks are not available. How do I tell EMS that they are gone?
9 REPLIES 9
Christopher McCray_1
Honored Contributor

Re: EMS keeps notifying about removed disks.

Is this 11.00? If so, read the attached document. It isn't the same problem, but the steps to remove a monitor applies.

BTW - have you stopped/started ems first?

# /sbin/init.d/ems stop
# /sbin/init.d/ems start

Hope this helps

Chris
It wasn't me!!!!
Helen French
Honored Contributor

Re: EMS keeps notifying about removed disks.

George A Bodnar
Trusted Contributor

Re: EMS keeps notifying about removed disks.


#/etc/opt/resmon/lbin/monconfig

* Select (K)ill (disable) Monitoring
* Select (Q)uit

# rm /var/stm/data/psm_data

#/etc/opt/resmon/lbin/monconfig

* Select (E)nable Monitoring

Might be a more graceful way to do this, but this basically forces the software to rebuild its device list. I had opened a call a while back and was told there was no way to force it to prune devices, this may have changed but I know the above procedure works.

You can verify the difference by doing the following before and after:

/opt/resmon/lbin/set_fixed -l
Clemens van Everdingen
Honored Contributor

Re: EMS keeps notifying about removed disks.

Hi,

Might be that the device files of the disks are still in /dev.

Use rmsf to remove the unused device files.

See man rmsf for the options.

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Dave Chamberlin
Trusted Contributor

Re: EMS keeps notifying about removed disks.

Stopping and restarting EMS had no effect. After further investigation, I noticed that an ioscan is still showing the disks, though with the NO_HW tag. From other posts about ioscan I think the problem will go away after a reboot, which I will not be doing for some time. Thanks
Michael Tully
Honored Contributor

Re: EMS keeps notifying about removed disks.

Hi,

You could try and remove the hardware path using the 'rmsf' command instead of just the device files. Say you had a controller with four disks attached, you could remove the whole path from the controller down. If this doesn't work, only a reboot will.

# rmsf -H 0/4/0/0

HTH
~Michael~
Anyone for a Mutiny ?
Clemens van Everdingen
Honored Contributor

Re: EMS keeps notifying about removed disks.

Hi,

You could solve this problem as I already suggested before and Michael also mentioned !

Use the rmsf command to remove the left over device files !!

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Tim Nelson
Honored Contributor
Solution

Re: EMS keeps notifying about removed disks.

Although this is an old post I figured a would respond as I have been researching this most of today and all responses in all threads have not solved the issue.
The resolution that worked for me was.......

Execute stm then remap the system. This will remove all disks that no longer exist on the system. It updates the /var/stm/data/psm_data file and you no longer will receive the bogus EMS messages for removed disks. This also beats entering the hw addresses in the exclude file as you will have to remember to edit the file again if the disks are ever re-added..

EMS still has alot of bugs, alot, alot, alot, but it has been usefull in notifying us for real errors as well. Especially beings predictive is being tossed to the wolves as well.
Dave Chamberlin
Trusted Contributor

Re: EMS keeps notifying about removed disks.

Thanks Tim that seems to have done the trick.


Dave