- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /var/statmon/sm.bak
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2001 05:27 AM
10-26-2001 05:27 AM
Please help me to understand why i should delete the sm.bak directory. We are having rpc timeouts and the reason may be that there are lot of hosts which are removed in the network and not updated by the dns (probably flowing out of the DHCL pool. HP wants us to remove the sm.bak directories. Can someone please explain in detail why the sm.bak directories should be removed? Or are there any scripts to do it.
Thanks
Brian
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2001 06:14 AM
10-26-2001 06:14 AM
SolutionThe recovery process will do this :-
a) Server statd moves all files in /var/statmon/sm into /var/statmon/sm.bak
b) One at a time server statd will attempt to contact client statd whose hostname matches the name of the file in /var/statmon/sm.bak
c) If successful, the file is removed from /var/statmon/sm.bak
d) Statd on client will contact its local lockd and explain that the server crashes and the client must reclaim any locks it had with that server prior to the crash.
In a NFS locking issue/problem usually /var/statmon/sm and sm.bak have to be cleanup.
hope this helps ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2001 06:23 AM
10-26-2001 06:23 AM
Re: /var/statmon/sm.bak
I usually do it manually (but you can put this i s script) ..
a)# kill -9 `ps -ef|grep rpc.lockd|grep -v grep|awk '{print $2}'`
b)==> do a) again for rpc.statd
c)# rm -R /var/statmon/sm.bak
# rm -R /var/statmon/state.bak
# mv /var/statmon/sm /var/statmon/sm.bak
# mv /var/statmon/state /var/statmon/state.bak
d)==> Restart rpc.statd and rpc.lockd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2001 09:59 AM
10-26-2001 09:59 AM
Re: /var/statmon/sm.bak
Thanks much for your suggestions. But i am running production servers here. If i blow up sm, sm.bak and state then should i reboot to build it again or just stop and start the statd and lockd services. Again should i do it on the client or the server?
Thanks
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2001 10:15 AM
10-26-2001 10:15 AM
Re: /var/statmon/sm.bak
Do it on the server side and there's no need to reboot.
rgds