- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /var/opt/hparray/log files -- deleteable?
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
05-28-2003 10:14 AM
05-28-2003 10:14 AM
Can I delete the old files from /var/opt/hparray/log? How old can they be before they can be safely deleted? Anything before the last reboot, perhaps?
The directory looks rather like this:
-r--r--r-- 1 root sys 4096 Jul 6 1998 L0000001
-r--r--r-- 1 root root 40960 Jul 7 1998 L0000003
-r--r--r-- 1 root root 40960 Jul 7 1998 L0000004
-r--r--r-- 1 root root 12288 Jul 7 1998 L0000005
-r--r--r-- 1 root root 40960 Jul 8 1998 L0000006
-r--r--r-- 1 root root 40960 Jul 8 1998 L0000007
# ll | tail
-r--r--r-- 1 root root 40960 May 25 18:03 L0003975
-r--r--r-- 1 root root 40960 May 26 04:04 L0003976
-r--r--r-- 1 root root 40960 May 26 14:06 L0003977
-r--r--r-- 1 root root 40960 May 27 00:07 L0003978
-r--r--r-- 1 root root 40960 May 27 10:09 L0003979
-r--r--r-- 1 root root 40960 May 27 20:10 L0003980
-r--r--r-- 1 root root 40960 May 28 06:12 L0003981
-r--r--r-- 1 root root 24576 May 28 12:13 L0003982
-rw-r--r-- 1 root sys 174336 May 28 07:12 LOGCATLG
Thanks,
Rob Pierce
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 10:19 AM
05-28-2003 10:19 AM
Re: /var/opt/hparray/log files -- deleteable?
cp /var/adm/btmp /backups
> btmp
For a multi file issue like this, you can run a find command
find /var/opt/hparry/log +mtime 10 -exec rm \;
That will nail anything over 10 days old.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 10:22 AM
05-28-2003 10:22 AM
Re: /var/opt/hparray/log files -- deleteable?
Thank you, Steven!
Rob Pierce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 10:24 AM
05-28-2003 10:24 AM
SolutionI was given the following procedure by HP Support:
1. /sbin/init.d/hparray stop
2. Wait for ARMServer to stop, checking with ps -ef |grep ARMS
3. Blow away the logfiles and the 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 10:26 AM
05-28-2003 10:26 AM
Re: /var/opt/hparray/log files -- deleteable?
Now another question -- why don't your points show up when I reload the page?
Rob Pierce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 10:32 AM
05-28-2003 10:32 AM
Re: /var/opt/hparray/log files -- deleteable?
Unfortunately, it's a known problem that HP is working on. In the meantime, it occasionally requires several repeated attempts to get the points to stick. Thanks for checking!
Pete
Pete