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
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 12:27 PM..
Reason: added code tags
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?
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
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.
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??
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?
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)
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)
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)
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)
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)
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)
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)
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)
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)