The UNIX and Linux Forums  

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


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
file system full melanie_pfefer SUN Solaris 6 05-26-2008 09:30 AM
file system full Asteroid SUN Solaris 8 01-24-2008 04:28 AM
What to Do When File System of HP-UX Box Is Full Awadhesh HP-UX 0 04-21-2006 10:25 PM
File system full? Bend SUN Solaris 8 01-08-2004 01:22 PM
Full File System Breen UNIX for Advanced & Expert Users 8 10-15-2002 11:12 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 09-04-2008
Registered User
 

Join Date: Sep 2008
Posts: 63
file system full in Sun Solaris 9 sparc

I am trying to install the JDK 1.6 on Solaris9 Sparc machine but after downloaded .tar file from Sun website and when I am trying to untar that, I an getting the following error—
zcat jdk-6u7-solaris-sparc.tar.Z | tar -xf -
Sep 2 18:42:36 mgsun ufs: NOTICE: alloc: /: file system full
tar: SUNWj6rt/reloc/jdk/instances/jdk1.6.0/jre/lib/sparc/libmlib_image_v.so: HELP - extract write error

After getting this error, I check out the free space using df –k.then I am getting the following info-
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 2148263 2143078 0 100% /
/proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
fd 0 0 0 0% /dev/fd
swap 651480 40 651440 1% /var/run
swap 651792 352 651440 1% /tmp
/export/home/emerson1
2148263 2143078 0 100% /home/emerson1




After that I restarted the machine and it is going in maintenance mode rather then the normal mode. It is showing the

WARNING: Unable to repair the / file system.
So please help me to solve this problem.
Reply With Quote
Forum Sponsor
  #2  
Old 09-04-2008
Registered User
 

Join Date: May 2008
Location: s'pore
Posts: 872
Pls boot the system using cdrom to single user.
check your dump device if there's any core files in it to remove them
/var/crash/`hostname`

Or perform du -sk * |sort -rn |head to check the top ten Large files/directories to housekeep.
Do fsck on ALL the slices and bring up the system
Reply With Quote
  #3  
Old 09-04-2008
Registered User
 

Join Date: May 2008
Location: s'pore
Posts: 872
Your root fs is full, and is definitely unhealthy for the system already, hope this is clear.
Reply With Quote
  #4  
Old 09-05-2008
Registered User
 

Join Date: Sep 2008
Posts: 63
i was searching the large files and I found 2 dir (dsk & rdsk) inside /dev.
I want to know these 2 dir r same or not? If not what is difference between these 2 dir?
I more thing both contains the almost same files.

# pwd
/dev/rdsk
# ls
c0t0d0s0 c0t0d0s2 c0t0d0s4 c0t0d0s6 c0t1d0s0 c0t1d0s2 c0t1d0s4 c0t1d0s6
c0t0d0s1 c0t0d0s3 c0t0d0s5 c0t0d0s7 c0t1d0s1 c0t1d0s3 c0t1d0s5 c0t1d0s7

# cd dsk
# ls
c0t0d0s0 c0t0d0s2 c0t0d0s4 c0t0d0s6 c0t1d0s0 c0t1d0s2 c0t1d0s4 c0t1d0s6
c0t0d0s1 c0t0d0s3 c0t0d0s5 c0t0d0s7 c0t1d0s1 c0t1d0s3 c0t1d0s5
# pwd
/dev/dsk
Reply With Quote
  #5  
Old 09-05-2008
Registered User
 

Join Date: Jan 2008
Posts: 51
Logical device:-->used by user. all logical device name are kept in /dev dir. logical name contain the controller number,target number,disk number and slice number.

For every disk device, there are usually two device files - the block device and the character ("raw") device.

In general:
block devices are generally stored under /dev/dsk and used for filesystem type access (e.g mount)
character devices are generally stored under /dev/rdsk used for everything else (e.g. fsck, newfs, etc..)
Reply With Quote
  #6  
Old 09-05-2008
Registered User
 

Join Date: May 2008
Location: s'pore
Posts: 872
These contains device path/links. you should not do any attempt to modify or remove them.. Check on application logs or other home dirs..
Reply With Quote
  #7  
Old 09-05-2008
Registered User
 

Join Date: Mar 2008
Posts: 8
Please paste the output of below commands.

df -k /usr
df -k /var
df -k /opt

If everything sits on /, then you need to find out which one is consuming most of the space. Try to find out files with .tar, .z, .gz and move to different location. You will be ending with getting some space.

Thanks..Manas
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:44 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