/var partition full need help


 
Thread Tools Search this Thread
Operating Systems HP-UX /var partition full need help
# 15  
Old 02-26-2012
Looks like so much services so little disk scenario Smilie

You should check if you can purge DP database (carefully and planed )
See if you need files like 'OldServerTrace.txt'.

I have similar situation on inherited DP cell manager, with grossly oversized DP database, and no window to do proper purge (constant backups, tape replications).

To properly fix this situation you need some downtime and a good plan.

I would present some disk space (if possible) and make a symlink on most used /var part as an emergency measure.
Also, implement some kind of log rotation ( logrotate is avalible on HPUX porting centre ).
Porting And Archive Centre For HP-UX
# 16  
Old 02-26-2012
@Peasant
As the O/P has not posed the backup strategy (and most importantly the number of files involved) you post is not valid. A properly set up Omniback will include a routine purge of records of expired backups.

Ps. I wouldn't use a symbolic link for /var/opt/omni. If you need to move it, it needs to be a mounted filesystem. This is due to errors in Omniback software.
# 17  
Old 02-27-2012
I wasn't thinking about omni filesystem (since it still has space).

Symlink is only a 'put out the fire' measure until proper planing has been done.
I wouldn't advise mixing SAN / local disk in rootvg, hence the symlink.

---------- Post updated at 02:00 AM ---------- Previous update was at 02:00 AM ----------

I wasn't thinking about omni filesystem (since it still has space).

Symlink is only a 'put out the fire' measure until proper planing has been done.
I wouldn't advise mixing SAN / local disk in rootvg, hence the symlink.
# 18  
Old 02-27-2012
Thanks Guys .. for all expertise valuable guidance ...

Have found the root cause of the size growth on /var that's .. of ignite dump of de-commisioned nodes ..


Thanks Methyl for useful tips ...and commands ..

Code:
find /var/ -xdev -type f -size +10000000c -exec ls -lad {} \;

--Shirish Shukla
# 19  
Old 02-27-2012
@Peasant
Quote:
I wasn't thinking about omni filesystem (since it still has space).
The directory /var/opt/omni is on a full /var partition.
# 20  
Old 02-28-2012
Unless I am missing something, it sounds like the first step to take would be to run the following:

cleanup -c 1

This will delete patches that have been superceded from /var/adm/sw/save/ and likely will free up substantial space.

Please ignore if I've missed something that was already posted here.
# 21  
Old 02-28-2012
Hinted in post #7 but avoided posting commands.
I know what you mean but there is no command called cleanup in HP-UX 11.11 (there was in HP-UX 11.00) .

Anybody know the correct command?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

/var/audit full

Hi, I have Solaris-10 (having multiple non global zones running on it). Its /var is getting full to 100% and I can see, there are files getting added to /var/audit. There are large in number, so even if I clearing them, it is filling /var. In past 24 hours, there are 53000 files are added. I am... (1 Reply)
Discussion started by: solaris_1977
1 Replies

2. UNIX for Dummies Questions & Answers

How can partition out /var with these two separate 10 gigabyte disks?

In my company ,there is a mail server that services approximately 3,000 users. 2,000 users access their email via a POP-3 service, while the remaining 1,000 users access their email via a Unix mail reader. Recently users have complained about speed of disk access, so a new 10 gigabyte disk has... (1 Reply)
Discussion started by: lemon_06
1 Replies

3. Solaris

Install with /var in separate partition - Zfs / 10

This is my first time working with ZFS on Solaris 10. I am trying to set up /var in a separate partition from /. During the installation, I came across the ZFS settings where I selected disks 0 and 1 to be mirrored with ZFS. Next was the option to have /var and / on separate datasets. Is... (3 Replies)
Discussion started by: 6L71
3 Replies

4. AIX

/var/spool/squeue gets full frequently

hi, im new in aix administration.. months ago, I received mails, everytime a cron was executed. but now, I don't receive these mails.. and the /var/spool/squeue, gets full frequently. i'd like to know more information about this, what can i do?? sendmail is up, because, I executed ps -ef |grep... (5 Replies)
Discussion started by: fdeivis
5 Replies

5. AIX

/var filesystem is full

Hi, Is there a way to clear the temp files from /var/tmp? Is root access required to delete the files? Thanks, Narayan (2 Replies)
Discussion started by: narayanv
2 Replies

6. BSD

Moving /var partition to USB stick

I am currently running DesktopBSD as a live-CD and need to have a large /var partition because it is currently too small. I have a USB stick which is BSD formatted, and would like to have the /var partition moved over to it. How can this be done? Could I for instance use a symlink? (1 Reply)
Discussion started by: figaro
1 Replies

7. Filesystems, Disks and Memory

partition out /var

Hi If You were the systems administrator of a mail server that services approximately 3,000 users. 2,000 users access their email via a POP-3 service, while the remaining 1,000 users access their email via a Unix mail reader. Recently users have complained about speed of disk access, so a new 10... (1 Reply)
Discussion started by: semaphore
1 Replies

8. AIX

/var 100% full

What to do if /var filesystem in Aix is completely full ? (2 Replies)
Discussion started by: kkhan
2 Replies

9. UNIX for Dummies Questions & Answers

Full Partition?

Hi Everyone, I think I've filled up one of the partitions on my drive. I suspect that one of the applications I've been running has been spitting out junk files to this partition - most of which can be deleted. The problem is that I have no idea how to go look at what's on that partition and... (2 Replies)
Discussion started by: Choppy
2 Replies

10. HP-UX

i-node full on /var

Can anyone tell me how would I troubleshoot when /var becomes full with inodes? This is on HP11.11 system. Where used is 92%, ifree is 1891 iuse is 88%. Thanks. (3 Replies)
Discussion started by: catwomen
3 Replies
Login or Register to Ask a Question