file system full in Sun Solaris 9 sparc


 
Thread Tools Search this Thread
Operating Systems Solaris file system full in Sun Solaris 9 sparc
# 1  
Old 09-04-2008
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.
# 2  
Old 09-04-2008
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
# 3  
Old 09-04-2008
Your root fs is full, and is definitely unhealthy for the system already, hope this is clear.
# 4  
Old 09-05-2008
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.

# pwdSmilie
/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
# 5  
Old 09-05-2008
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..)
# 6  
Old 09-05-2008
These contains device path/links. you should not do any attempt to modify or remove them.. Check on application logs or other home dirs..
# 7  
Old 09-06-2008
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
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Start /SYS on SUN SPARC does not start machine [SUN SPARC ENTERPRISE T-5240]

-> start /SYS Are you sure you want to start /SYS (y/n)? y Starting /SYS ]-> show HOST /HOST Targets: bootmode diag domain Properties: autorestart = reset autorunonerror = false bootfailrecovery = poweroff ... (29 Replies)
Discussion started by: z_haseeb
29 Replies

2. Solaris

Sun Solaris SPARC Installation Suggetion plaese

Hello Team, I am new to Sun Solaris. I badly need some help, how to install solaris sparc 8 on simics 3.0.31. I am using my Acer laptop with 320 GB HD, 8 GB of RAM, Intel Core i5 processor 430M. Windows 7 already installed on it. 1.Can i make Dual partions on this laptop with Win7 and... (7 Replies)
Discussion started by: faseeh
7 Replies

3. Solaris

Adding new hard drives on Sun SPARC T5440 server with Solaris 10

I need to add two new hard drives of 300 GB capacity to a SunSPARC T5440 server. The server currently has two hard drives of 146 GB each. How do I add the new drives to the existing UFS? What are the procedures involved in setting this server with the new hard drives? I am very new to Solaris... (6 Replies)
Discussion started by: ramatnmcc
6 Replies

4. Hardware

Works sun solaris sparc with hp storageworks p2000 fc?

I need to know if is possible connect by hba a sun 5120 solaris 10 sparc with hp Storageworks p2000 and works with luns. (3 Replies)
Discussion started by: bombe
3 Replies

5. Solaris

SUN SPARC rebooting problem, after Solaris 10 installation

Hi All, I had install the solaris 10 into the SUNFIRE V890 server, after installed, it keep rebooting. I wish to enter the OK mode again, and install back the Solaris 10. i had try the "break" button and "stop+A" button, but all fail. kindly advice... (4 Replies)
Discussion started by: SmartAntz
4 Replies

6. UNIX for Dummies Questions & Answers

Info Needed in Seting up An apache Web Server on A Sun Sparc with Solaris 8

I need help in the form of the complete procedures necessary in setting up an Apache web server on a Sun Sparc running Solaris 8 David Johnston P.S New to the Unix arena (1 Reply)
Discussion started by: David Johnston
1 Replies
Login or Register to Ask a Question