The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-13-2007
Registered User
 

Join Date: Feb 2007
Posts: 13
/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% 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 /var
76721 /var

Any help is really appreaciated. Thank you
Cheers.
Reply With Quote
Forum Sponsor
  #2  
Old 09-14-2007
Moderator
 

Join Date: Sep 2007
Location: Germany
Posts: 1,031
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
Reply With Quote
  #3  
Old 09-14-2007
Registered User
 

Join Date: Feb 2007
Posts: 13
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.?
Reply With Quote
  #4  
Old 09-15-2007
Registered User
 

Join Date: Feb 2007
Posts: 13
Please help :Confused.

hi guys,

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

# smit jfs2 or smit chfs

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..
Reply With Quote
  #5  
Old 09-20-2007
Moderator
 

Join Date: Sep 2007
Location: Germany
Posts: 1,031
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?
Reply With Quote
  #6  
Old 09-20-2007
Registered User
 

Join Date: May 2006
Location: England
Posts: 265
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.
Reply With Quote
  #7  
Old 09-21-2007
Moderator
 

Join Date: Sep 2007
Location: Germany
Posts: 1,031
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.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:12 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0