Operating System - HP-UX
1834261 Members
64598 Online
110066 Solutions
New Discussion

Files on /var/opt/hparray/log

 
SOLVED
Go to solution
Edwin Ruiz_2
Super Advisor

Files on /var/opt/hparray/log

can i erase all files on /var/opt/hparray/log?
my /var is full.

I have one FC-60 Disk Array..
3 REPLIES 3
Helen French
Honored Contributor
Solution

Re: Files on /var/opt/hparray/log

Before removing the log files, I would defenitely check what's getting filled in those log files. Check and make sure that it's not reporting any hardware error. The log files under that directory is getting created by ARMserver process. This normally reports array status, performance and troubleshooting tips, errors etc.

Once you find out what's inside, copy these log files to a tape (if needed) and then remove it. You may need to stop the daemon before you delete the files (/sbin/init.d/hparray stop). Once deleted, you manually need to create the LOGCATLG file (touch LOGCATLG) and then restart the hparray daemon.

Also, /var can get full with lot of other reasons. Remove unnecessary core files from /var/adm/crash directory, trim all other log files (/var/spool, /var/adm), trim wtmp and btmp OR increase the LV size. Check system log file (/var/adm/syslog/syslog.log) for more information about processes that fill up file system space.
Life is a promise, fulfill it!
Pete Randall
Outstanding Contributor

Re: Files on /var/opt/hparray/log

Here's the process I was given by HP to clean out the hparraylog files:

1. /sbin/init.d/hparray stop

2. Double check that it's stopped with "ps -ef |grep ARMS" - it takes 10 seconds or so to shutdown

3. Remove the files and catalog entry with "rm /var/opt/hparray/log/L*"

4. re-create the catalog with "touch /var/opt/hparray/log/LOGCATLG"

5. /sbin/init.d/hparray start



Pete

Pete
Edwin Ruiz_2
Super Advisor

Re: Files on /var/opt/hparray/log

ok! thanks