Storage Boards Cleanup
To make it easier to find information about HPE Storage products and solutions, we are doing spring cleaning. This includes consolidation of some older boards, and a simpler structure that more accurately reflects how people use HPE Storage.
Disk Arrays
cancel
Showing results for 
Search instead for 
Did you mean: 

Clearing ARMServer Log files

SOLVED
Go to solution
Daniel Spooner
Occasional Contributor

Clearing ARMServer Log files

Hi,

How can I clear the ARMServer log files in /var/opt/hparray/log? They are taking up a fair amount of disk space.

arraylog -C -c looks like it should do the job, but it doesn't.

Thanks
Dan
2 REPLIES
Eugeny Brychkov
Honored Contributor
Solution

Re: Clearing ARMServer Log files

Dan,
this command you wrote clears logs in controllers themselves, not really in directory on the connected host. To remove logs do the following:
- stop ARMServer;
- remove all log files (rm);
- create empty file 'touch LOGCATG' in logs directory;
- start ARMServer
Eugeny
Daniel Spooner
Occasional Contributor

Re: Clearing ARMServer Log files

Good Stuff Eugeny,

I had to touch LOGCATLG, but that's it all sorted.
Thanks
Dan