Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File system error

Status
Not open for further replies.

MikeY2K

MIS
Apr 11, 2001
11
US
Solaris Newbie here. In a console window in Solaris 2.6, I keep getting the message:

NOTICE: alloc: /: file system full

or

NOTICE: realloccg: /: file system full

I know that it says its full, but I'm sure that with Solaris, it isn't as simple as deleting old files and de-fragging, so can anyone help me through this one? (i.e., where to go...what to do).

Many thanks!

 
Boot the system in Single user mode (boot -s). And remove unwanted files, remove old mail files , remove core files,remove /var/tmp files and . Run this command, df -k and see which file is full.

du -ad /var | sort -nr this command reports the file sizes in reverse order.


You almost certainly have a files which has been deleted while process still has it open. The file is not visible in the file system, but still using disk space, u can confirm this by running fsck -n /. The best solution is to reboot , to find out that if has the file open and kill it.

fuser -c will give you large list of process which could have this file is open.

I know if it is right, but som system admnistrators they don't remove big files they cat them.
e.g cat /dev/null > huge_file.


thanks

good luck

F.


regal
 
Thanks for the help! I'm still not sure of myself so before I go blowing stuff away, one more question: You said I should delete all files in the /var/tmp directory. Is this a general rule that all files appearing in this directory are of no use to the system and can be deleted as part of proper housekeeping? Along those lines, what other files can be considered "junk" files to be deleted?

Thanks again,
Mike
 
If /var is in the / partitian, check /var/adm directory.
There could be a lot of old messages or pacct files.
You can delete all but the most recent ones.
Also check /var/tmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top