/var: out of inodes

Thread Tools Search this Thread
Operating Systems Solaris /var: out of inodes
# 1  
Old 09-15-2011
/var: out of inodes

Dear Forum,

Please help me i have SUNW,Sun-Fire-V240 with sun solaris 8,if i check inode in /var like below:

# df -F ufs -o i
Filesystem             iused   ifree  %iused  Mounted on
/dev/md/dsk/d0         62354  310638    17%   /
/dev/md/dsk/d3        372992       0   100%   /var
/dev/md/dsk/d6             4   57020     0%   /globaldevices
/dev/md/dsk/d5          6151  619513     1%   /FERMAtmp
/dev/md/dsk/d4         46838 6799370     1%   /export/home

Please help me to solve my case.....

Moderator's Comments:
Mod Comment Please use [CODE] tags when posting command lines, etc.

Last edited by pludi; 09-15-2011 at 11:20 AM..
# 2  
Old 09-15-2011
Go into var/tmp and start getting rid of temp files. See what is going on in /var/log.
You have to manage some of the directories in /var the same way you do with user directories, by rolling off old files.

inodes are created when you format the disk/partition. So, for example, if /var/tmp is loaded with temp files, consider adding a new disk with lots of free files (inodes), then mount it on /var/tmp.

You can also try growfs to increase the size of the current mounted filesystem. See growfs, and the -i option of newfs.
This User Gave Thanks to jim mcnamara For This Post:
# 3  
Old 09-19-2011
thx,if I check /var/tmp and /var/log

[319] $ cd /var/tmp
[320] $ ls -ltr
total 0
$ cd ../log
[322] $ ls -ltr
total 50036
-rw-r--r--   1 root     other        264 Jun 25  2004 sysidconfig.log
-rw-r--r--   1 root     other    4071993 Mar  1  2009 syslog.5
-rw-r--r--   1 root     other    4071884 Mar  8  2009 syslog.4
-rw-r--r--   1 root     other    2902452 Mar 15  2009 syslog.3
-rw-r--r--   1 root     other    14508483 Oct  4  2009 syslog.0
-rw-r--r--   1 root     other        116 Aug 20 20:22 snmpd.log

Must I add new disk and mount it to /var?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

2. UNIX for Advanced & Expert Users

Help with Inodes please

How can i trace Inode structure and modify it in UNIX kernel? We want to change the inode structure in the sense that we want to add a new field to the inode data structure. So we want to know how and where to trace inode (7 Replies)
Discussion started by: Group_Inode
7 Replies

3. Solaris

Difference between /var/log/syslog and /var/adm/messages

Hi, Is the contents in /var/log/syslog and /var/adm/messages are same?? Regards (3 Replies)
Discussion started by: vks47
3 Replies

4. Filesystems, Disks and Memory


Hi, sorry to have written in other language i think i could do that. I would to know A file system use inodes indexed allocation as a method of allocating space. In the inode blocks are 10 references to direct, 1 indirect reference to a single block, 1 block indirect reference to a reference to... (1 Reply)
Discussion started by: maryprin
1 Replies

5. Solaris

diff b/w /var/log/syslog and /var/adm/messages

hi sirs can u tell the difference between /var/log/syslogs and /var/adm/messages in my working place i am having two servers. in one servers messages file is empty and syslog file is going on increasing.. and in another servers message file is going on increasing but syslog file is... (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies

6. Linux


Any good sites, tutorials that explain Inodes clearly and completely ? (3 Replies)
Discussion started by: nitin09
3 Replies

7. UNIX for Dummies Questions & Answers


how is the location of inodes in the physical disk. are they sequential like: bootblock|superblock|inode1|inode2| ....| datablock1|datablock2|datablock3 or are they distributed among data blocks like: bootblock|superblock|inode1|datablock1|inode2|datablock2|datablock3|inode3 |datablock4 (3 Replies)
Discussion started by: gfhgfnhhn
3 Replies

8. Solaris


hi i need to find all the files that r linked to the current file as i need to delete the file as well as few of its links :confused: thnx in advance (1 Reply)
Discussion started by: livemyway
1 Replies

9. Solaris


Does anyone know what command I can run to check how many inodes are in use on a specific filesystem. On Data General servers I used to run the df -k command to check the status of the inodes for all file system.s (1 Reply)
Discussion started by: soliberus
1 Replies

10. Filesystems, Disks and Memory


Could someone please explain to me the concept of INodes? Colour me a DOS/MacOS junkie, but I don't quite understand. Is there any relation to clusters, or physical distro.? ty. (3 Replies)
Discussion started by: boris888
3 Replies
Login or Register to Ask a Question