The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
file system full Asteroid SUN Solaris 8 01-24-2008 07:28 AM
Full file system? meyerder SUN Solaris 0 05-13-2006 12:44 PM
What to Do When File System of HP-UX Box Is Full Awadhesh HP-UX 0 04-22-2006 02:25 AM
File system full? Bend SUN Solaris 8 01-08-2004 04:22 PM
file system full hopeless UNIX Desktop for Dummies Questions & Answers 1 04-17-2002 08:10 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-15-2002
Breen Breen is offline
Registered User
  
 

Join Date: Dec 2001
Location: Dublin
Posts: 44
Full File System

Hi All,
There was a backround process running on a Solaris 2.8 machine, and appeared to have filled all available disk-space. I done a killall, and upon re-booting found that the filesystem had filled up, and will not boot as normal as a result. For example, I'm getting

/usr/adm/messages: No space left on device
ufs: NOTICE: alloc /: file system full

and so forth, and as a result, will not conduct the normal boot-up (a 'login incorrect:' dialog-box appears). As I can't reduce the space through a normal remote log-in, is there any other way of reaching the filesystem to delete some of the files or using an alternaive booting method?

Ta
  #2 (permalink)  
Old 10-15-2002
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,131
Try to boot to single user mode. From the ok prompt "boot -s" should do it.

Your disk configuration is asking for trouble like this. Almost always on a Sun, /usr/adm is a symlink to /var/adm and /var is a seperate filesystem. I really prefer for /usr to seperate too. Ordinary users can write to /tmp and to /usr/tmp...do you have these in / as well?
  #3 (permalink)  
Old 10-15-2002
Breen Breen is offline
Registered User
  
 

Join Date: Dec 2001
Location: Dublin
Posts: 44
I taught about going into single-user mode, but cannot seem to get into the Ok> prompt - after it checks and mounts filesystems, it seems to hang!!
  #4 (permalink)  
Old 10-15-2002
janr janr is offline
Registered User
  
 

Join Date: Jun 2002
Location: Amsterdam (Netherlands)
Posts: 142
A full / filesystem give always trouble.
I think the fact of a full root , is the reason you cannot boot single user

Iam afraid you need to boot from CD-rom.

be happy, up to now there is no reason for re-install your box, but its is the only way to get access to your disks.

Do you have a CD on your desk with the right OS level.
be carefull, boot from CD by typing `boot cdrom` on the OK prompt.

I never did this using Solaris 2.8, you had to stop the installation proces and you need a shell.

When you on the shell run fsck on all 'known' filesystems.
After you ran fsck you can mount your root filesystem and clean it.
check /tmp, /usr/tmp, /var/adm, /var/mail, etc

Good luck, post your progress maybe we can help in the meantime
  #5 (permalink)  
Old 10-15-2002
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,131
I believe that you can get to single user mode with a full root filesystem. If not, then yes, you will need to boot the cd.

But first you need an ok prompt. The procedure to get one varies according to your hardware. With a serial console it is just the break character. I have heard that Solaris 8 has changed this to:
C/R control-b ~
And you need .5 seconds between each char but not more than 5 seconds in total it says here. I'm not sure how much of this I believe...

With a graphic head the sequence is STOP-A.

There may be key which need to be in a certain position.

And it may be some other sequence for your setup. But these are the ones I know.
  #6 (permalink)  
Old 10-15-2002
Breen Breen is offline
Registered User
  
 

Join Date: Dec 2001
Location: Dublin
Posts: 44
Thanks fellas - I managed to get in on the boot -s ,
and cleaned out the /usr/tmp, etc, which reduced the capicity of the root, e,g
originally df -k
Capicaty Mounted On
/dev/dsk/c0t0d0s0 100% /

to
Capicaty Mounted On
/dev/dsk/c0t0d0s0 46% /

Following this, I ran fsck. However, the login Failure dialog/problem screen persists upon normal booting, so I think I may have to reinstall??
  #7 (permalink)  
Old 10-15-2002
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,131
Re-installation may be the wise move, but I would go back to single user mode and figure this out if I can. Can you login as root? Is your passwd and shadow file intact? Do you have a /etc/nologin file?
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:20 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0