Full File System


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Full File System
# 1  
Old 10-15-2002
Full File System

Hi All,
There was a background 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 file system had filled up, and will not boot as normal as a result. For example, I'm getting
Code:
/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 file system to delete some of the files or using an alternative booting method?

Ta

Last edited by Yogesh Sawant; 04-10-2011 at 11:27 AM.. Reason: added code tags
# 2  
Old 10-15-2002
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  
Old 10-15-2002
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  
Old 10-15-2002
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  
Old 10-15-2002
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  
Old 10-15-2002
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  
Old 10-15-2002
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?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

File system full, but not really.

Hey all, What do you think mostly happened in the following situation? I have a Red Hat 5.5 server. Someone, somehow, managed to get two .nfs000.... type files that totaled over a terabyte in size. I removed them and thought things were back to normal. Then I started getting complains from... (2 Replies)
Discussion started by: geelsu
2 Replies

2. UNIX for Advanced & Expert Users

/opt file system full !!!

Can anyone help me in cleaning /opt filesystem.. i have checked all the options and i have cleared all the logs and the total size of the files in /opt is shown as 1.8GB were as the size of /opt is 4.8GB but wen i run the command # df -h /opt it gives capacity 99% Please help... (17 Replies)
Discussion started by: kjamsheed
17 Replies

3. Solaris

/ file system full issue

Hi All, This is Babu working as a system administrator. Here I am getting one problem with one of my Sun server's root (/) file system. In df -h command / file system showing 7.8 GB used space.But in du -hd command it showing 5.2 gb only. Please can any one help me resolve this issue... (2 Replies)
Discussion started by: lbreddy
2 Replies

4. Solaris

file system full

hello Even though I am not out of inodes or of space, the /var/adm/messages shows messages: file system full I am doing now fcsk -m (400G) and I am still waiting to see the fragmentation results (should I add another option to df to have a faster output?) Do you have any other hints... (6 Replies)
Discussion started by: melanie_pfefer
6 Replies

5. Solaris

file system full

I am receving following Error message in /var/adm/messages "NOTICE: alloc: /: file system full" Disk space usage is as beklow: df -k $ Filesystem kbytes used avail capacity Mounted on /dev/md/dsk/d10 76678257 56962561 18948914 76% / /proc ... (8 Replies)
Discussion started by: Asteroid
8 Replies

6. Solaris

Full file system?

I read the sticky and thought of a script I use on a regular basis. Since unless you patch/upgrade the df command on solaris you have a very tought time teling how full the system truly is. Output looks like $ biggest.sh /tmp Filesystem kbytes used avail capacity Mounted... (0 Replies)
Discussion started by: meyerder
0 Replies

7. Solaris

File system full?

Hi, I just started working with UNIX on an old semi-fossilized Sun workstation which I use to process LOTS of images,however, I just started to get an error message that the file system is full and then my shell tool or/and text editor freeze up. Help? (8 Replies)
Discussion started by: Bend
8 Replies

8. Filesystems, Disks and Memory

root file system full

Hi I have a Solaris 2.5.1 system. Recently my file system is full and i couldn't find what flood my root file system. Anyone can suggext any directories i should look out for. I am using Samba and Patrol agent. I am just usng this server as a file server, users cannot login into the system,... (1 Reply)
Discussion started by: owls
1 Replies

9. UNIX Desktop Questions & Answers

file system full

When I try to log in as root I get the following message realloccg /: file system full sendmail :NO Queue:low on space (have 0,SMTP-DAEMON needs 101 in /var/spool/mqueue) What should I do? (1 Reply)
Discussion started by: hopeless
1 Replies
Login or Register to Ask a Question