Unix Swap File in /var directory


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Unix Swap File in /var directory
# 1  
Thank you 98_1LE....
Please help required urgently...
We are getting error message in SUN... Please give solution

ERROR MESSAGE:
NOTICE: alloc: /var: file system full

Output of command "df -k" in our system is...

Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 57143 14357 37076 28% /
/dev/dsk/c0t0d0s6 288855 210436 49539 81% /usr
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
/dev/dsk/c0t0d0s7 785750 704690 2490 100% /var
/dev/dsk/c0t0d0s5 153951 96710 41851 70% /opt
/dev/dsk/c0t0d0s4 480919 293463 139366 68% /usr1
/dev/dsk/c0t1d0s0 2888885 2276451 323554 88% /usr2
/dev/dsk/c0t0d0s3 57143 30770 20663 60% /usr3
/dev/dsk/c0t1d0s1 1050702 979629 0 100% /usr4
swap 356392 3256 353136 1% /tmp


You may notice /var directory is 100% full. Inside /var directory...
-rw------T 1 root other 241172480 Apr 25 19:21 swapadd
above mentioned "swapadd" is the huge file occupying /var directory.. actually what is that... can we delete that file...


Please help....
Thank you...


[Edited by wipro fluid power on 04-28-2001 at 05:41 AM]
# 2  
Solaris does not swap in /var, unless someone has made a static swap file there and it will not grow in size. Please post the results of the command:
Code:
df -k

and:
Code:
file /var/your_file.T

replacing your_file with the name of the actual file in question.
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #845
Difficulty: Medium
Sideloading is a term used mostly on the Internet, similar to "upload" and "download", but in reference to the process of transferring files between two local devices, in particular between a computer and a mobile device such as a mobile phone,
True or False?

10 More Discussions You Might Find Interesting

1. HP-UX

Unidentified File on /var Directory

Hi All, I'm having problem with /var directory which is keep increasing. Here's the output of bdf and du command # uname -a HP-UX rppmis1 B.11.11 U 9000/800 1153414645 unlimited-user license # bdf /var Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol8 ... (8 Replies)
Discussion started by: stu33
8 Replies

2. SuSE

Suse 8 /var Directory

Hi there, I'm working on a Suse 8 based system and picked up that the crontab was missing. after some investigation i realized that the hole /var directory is missing. :mad: I would like to now if its common for this directory to go missing? Can I copy another Suse 8 /var directory to this... (10 Replies)
Discussion started by: malanve
10 Replies

3. Ubuntu

problem with /var/mail directory

Hi, There is no "administrator" file in "/var/mail" directory........ can any one tell me what could be the reason for that?...and also how to resolve that??? Thanks, ~Kavi (4 Replies)
Discussion started by: kavi.mogu
4 Replies

4. HP-UX

[Solved] /var directory in HP-UX is showing 95%?

Hi Everyone, My var directory is showing near to 100% ? What are the files should i delete to make it less?? Kindly suggest # bdf -i Filesystem kbytes used avail %used iused ifree %iuse Mounted on /dev/vg00/lvol3 1048576 107616 933616 10% 3342 29394 10% /... (10 Replies)
Discussion started by: yadvinder
10 Replies

5. Solaris

Changing of syslog file path instead of /var/log directory

Hi Please let me know how can we change the syslog file path from /var/log to /a directory in solaris Regards (4 Replies)
Discussion started by: amity
4 Replies

6. UNIX for Dummies Questions & Answers

not enough space /var and swap

current partition below /dev/md/dsk/d3 15G 14G 392M 98% /var swap 5.7M 40K 5.6M 1% /var/run swap 1.9G 1.9G 5.6M 100% /tmp /dev/md/dsk/d5 6.7G 6.3G 349M 95% /export im running this command... (4 Replies)
Discussion started by: lhareigh890
4 Replies

7. HP-UX

Swap device file and swap sapce

Hi I have an integrity machine rx7620 and rx8640 running hp-ux 11.31. I'm planning to fine tune the system: - I would like to know when does the memory swap space spill over to the device swap space? - And how much % of memory swap utilization should be specified (swap space device... (6 Replies)
Discussion started by: lamoul
6 Replies

8. Shell Programming and Scripting

File transfer from one directory to another directory in unix

Hi, I have to transfer five files from one directory to another directory in unix with the help of shell scripts. This shell script calling the param file as input parameter. Every day one file will come and fall on my source directory. Remaining files will fall on any one of the day of the... (5 Replies)
Discussion started by: easterraj
5 Replies

9. Shell Programming and Scripting

Move a file from windows directory to unix directory

Move a file from windows directory to unix directory, is this possible? if it is, can someone help me on this? Thanks! God bless! (1 Reply)
Discussion started by: kingpeejay
1 Replies

10. Shell Programming and Scripting

FTP script for sending a file from one unix directory to another unix server director

Hi, My local server is :/usr/abcd/ Remote server is :/Usr/host/test/ I want to send files from local unix directory(All files starting with O_999) to remote host unix directory. Can any body give me the Unix Shell script to do this. One more doubt: Shall we need to change the file... (1 Reply)
Discussion started by: raja_1234
1 Replies

Featured Tech Videos