Sponsored Content
Operating Systems HP-UX /var partition full need help Post 302601287 by Shirishlnx on Thursday 23rd of February 2012 09:53:51 AM
Old 02-23-2012
/var partition full need help

My /var partition is almost utilized ... Here am not sure where to release space now

OS/model : HP-UX B.11.11 U 9000/800

Code:
# bdf /var
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol9    6144000 6142176    1824  100% /var

<root@pb>/var # du -sk * | sort -n | egrep -v ^0
8       ovsuf
8       ovsuf.orig
16      statmon
24      run
32      config.txt
192     dt
392     preserve
408     asx
416     yp
472     spool
648     sam
760     tombstones
2440    tmp
10528   ios
24368   stm
74776   vx
1890784 adm

Code:
<root@pb>/var/adm # du -sk * | sort -n | egrep -v "^0|^8"
16      ptydaemonlog
16      snmpd.log
16      vtdaemonlog
24      ps_data
40      nettl.LOG000
40      syslog
272     cron
272     wtmp
1889936 sw

Any suggestion are welcome ...

--Shirish Shukla

---------- Post updated at 09:53 AM ---------- Previous update was at 09:44 AM ----------

Have already deleted as much log file can like syslog.log and mail.log from /var/adm/syslog
Am wondering if can do any thing for this dir
Code:
/var/ios
/var/stm
/var/vx
Anything can do with /var/adm/wtmp (As I know can do this with single user mode only am not sure )
/var/adm/sw 
/var/opt/sanmgr
/var/opt/perf

/var/opt/gcc
/var/opt/wbem

Excuse if am asking silly Que ... as am new on hp-ux and not aware of use of these dir/files

--Shirish
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. AIX

/var 100% full

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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
ADDPART(8)                                                     System Administration                                                    ADDPART(8)

NAME
addpart - tell the kernel about the existence of a partition SYNOPSIS
addpart device partition start length DESCRIPTION
addpart tells the Linux kernel about the existence of the specified partition. The command is a simple wrapper around the "add partition" ioctl. This command doesn't manipulate partitions on a block device. PARAMETERS
device The disk device. partition The partition number. start The beginning of the partition (in 512-byte sectors). length The length of the partition (in 512-byte sectors). SEE ALSO
delpart(8), fdisk(8), parted(8), partprobe(8), partx(8) AVAILABILITY
The addpart command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/. util-linux January 2015 ADDPART(8)
All times are GMT -4. The time now is 10:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy