/dev/hd9var/ /var what should i do.


 
Thread Tools Search this Thread
Operating Systems AIX /dev/hd9var/ /var what should i do.
# 1  
Old 09-14-2007
/dev/hd9var/ /var what should i do.

Hello

my df -k show me that the /var used 93%

Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 196608 33920 83% 2253 3% /
/dev/hd2 1310720 352732 74% 25266 8% /usr
/dev/hd9var 262144 18724 93%Smilie 781 2% /var
/dev/hd3 196608 88772 55% 383 1% /tmp
/dev/hd1 196608 95496 52% 727 2% /home
/proc - - - - - /proc
/dev/hd10opt 65536 54988 17% 389 3% /opt

How ever, of i check using du command. show that /var having only 76721Kbytes.

#du -sk /varSmilie
76721 /var

Any help is really appreaciated. Thank you
Cheers.
# 2  
Old 09-14-2007
Hi,

I would try following:
  • fuser -d /var, get a PID and check for the process. Kill or restart it maybe and check the FS again.
  • Try to umount it have a fsck running on it; might be difficult because of many processes have some file open in there. Maybe a reboot is easier if not already done.

GL!
Zaxxon
# 3  
Old 09-15-2007
Thank you

Thank you.

$ fuser -d /var
/var: 8000
$ ps -ef |grep 8000
root 8000 1 0 Jun 04 - 7:53 /usr/sbin/cron
xxxxka 23842 65348 0 12:17:27 pts/5 0:00 grep 8000
root 46994 8000 0 12:10:00 - 0:00 sh -c /zyq/sysinfo/vmstat.scr

$lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 16 32 2 open/syncd N/A
hd8 jfslog 1 2 2 open/syncd N/A
hd4 jfs 3 6 2 open/syncd /
hd2 jfs 20 40 2 open/syncd /usr
hd9var jfs 4 8 2 open/syncd /var
hd3 jfs 3 6 2 open/syncd /tmp
hd1 jfs 3 6 2 open/syncd /home
hd10opt jfs 1 2 2 open/syncd /opt
paging00 paging 32 64 2 open/syncd N/A
pridumpdev sysdump 16 16 1 open/syncd N/A
secdumpdev sysdump 16 16 1 open/syncd N/A
paging01 paging 32 64 2 open/syncd N/A


$ lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 005c8bec00004c000000010505b2fc29
VG STATE: active PP SIZE: 64 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1084 (69376 megabytes)
MAX LVs: 256 FREE PPs: 820 (52480 megabytes)
LVs: 13 USED PPs: 264 (16896 megabytes)
OPEN LVs: 12 QUORUM: 1
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per PV: 1016 MAX PVs: 32
LTG size: 128 kilobyte(s) AUTO SYNC: no
HOT SPARE: no

Can i increase the space since FREE PPs=820.? Smilie
# 4  
Old 09-15-2007
Please help :Confused.

hi guys,

I reading the old thread on how to extend or increase the fs.

# smit jfs2 or smit chfs Smilie

What is the different between them? Are they same. Which one is appropriate to use.

Please response. Thank you. Need help here.. fs is growing now..
# 5  
Old 09-21-2007
Just do a "smitty fs", change fs, "enhanced..." for jfs2 or "journaled..." for jfs1, select "change" again, pick it from the list and add some units and go.
Yes, lsvg shows you in the "FREE PPs", how much space is left for increase on existing or for creation of new LV/FSes.
"man lsvg" will tell you that too ^^

Did you try the fsck or reboot or something to get a correct status of /var?
# 6  
Old 09-21-2007
Have you checked the logs? Change directory to /var (cd /var) and run the command du . | more then check the listing of directories for excessive use. There should be no need to increase the size of /var. Also look in /var/adm and check the size of the wtmp file. If it is excessive you will find references on this forum to the method of clearing out the wtmp file.
# 7  
Old 09-21-2007
He ran "du" already and found the difference displayed by "df" - so, before anything stops working or gets errors, better grant some of the free space to /var until you get a chance to find out what's going wrong.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Dev/urandom and dev/random missing in HP-UX

Hi, In our HP-UX B.11.11. I could not find dev/urandom and dev/random Are all pseudo-devices implemented as device drivers, or in need to run /configure some package to install the package to have dev/urandom. Please help (4 Replies)
Discussion started by: rashi
4 Replies

2. Red Hat

Changing grub from /dev/sda to /dev/sdb

Hi, Please suggest steps to change grub from /dev/sda to /dev/sdb, (1 Reply)
Discussion started by: manoj.solaris
1 Replies

3. Shell Programming and Scripting

Automating partitioning setup of /dev/sda on /dev/sdc

Objective: To recreate the partitioning setup of /dev/sda on /dev/sdc How would I parse the below information and initialize variables (an array?) that can be used to build sgdisk commands in a script, regardless of the number of partitions? Something along the lines of: sgdisk -n... (12 Replies)
Discussion started by: RogerBaran
12 Replies

4. Shell Programming and Scripting

Csh , how to set var value into new var, in short string concatenation

i try to find way to make string concatenation in csh ( sorry this is what i have ) so i found out i can't do : set string_buff = "" foreach line("`cat $source_dir/$f`") $string_buff = string_buff $line end how can i do string concatenation? (1 Reply)
Discussion started by: umen
1 Replies

5. AIX

Problem in /dev/hd1 and /dev/hd9var

Hello AIXians, I can't boot my AIX, it hangs and stops at the code error: 0518 After searching google, I knew the problem is due to problems in File Systems. So the solution is booting from any bootable media, then run these commands in maintenance mode: #fsck -y /dev/hd4 #fsck -y... (3 Replies)
Discussion started by: Mohannad
3 Replies

6. AIX

Difference between /dev/hdisk and /dev/rhdisk

Hi, How can i check that i am using RAW devices for storage in my AIX machine... Also after adding a LUN from storage to a aix host, when i check /dev in the host, i can see both rhdisk and hdisk with same number eg: dcback1(root):/dev>ls -lrt | grep disk12 crw------- 1 root ... (4 Replies)
Discussion started by: jibujacob
4 Replies

7. Solaris

Lun remove, stuck in /dev/dsk and /dev/rdsk

So, we removed a LUN from the SAN and the system is refusing to remove the references to it in the /dev folder. I've done the following: devfsadm -Cv powermt -q luxadm -e offline <drive path> luxadm probe All those commands failed to remove the path. The drive stills shows up as <drive... (13 Replies)
Discussion started by: DustinT
13 Replies

8. AIX

hd9var full

i have deleted qf's and df's in my /var/spool/mqueue and my /var still remains at 99% full. when i check users i get this: # fuser -xuc /var /var: 8072c(root) 18404(root) 19420c(root) 23558c(root) 24276(root) 24770(root) 25284c(svcagent) 27102c(svcagent) 30242c(root) ... (3 Replies)
Discussion started by: freeman
3 Replies

9. AIX

/dev/hd9var full

/dev/hd9var 819200 1928 100% 12101 12% /var the filesystem is full my self being new to aix what do i do to create space (1 Reply)
Discussion started by: freeman
1 Replies

10. Solaris

What is /dev/tty /dev/null and /dev/console

Hi, Anyone can help My solaris 8 system has the following /dev/null , /dev/tty and /dev/console All permission are lrwxrwxrwx Can this be change to a non-world write ?? any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies
Login or Register to Ask a Question