Visit Our UNIX and Linux User Community


root partition was full and problem start


 
Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory root partition was full and problem start
# 1  
Old 08-06-2002
root partition was full and problem start

We have SunOS 5.7 m/c. Following is the situation and problem what we are facing -

- The root partition was full.
- No login was possible on server (not from console also)
- M/c was power swithced off
- After this only console login is possible. FTP is possible. No telnet is possible.

I want to know what could be the probable reasons. Also what files I have to check on the server to see that they are in normal state.

Regards,
Rahul
# 2  
Old 08-06-2002
Your full file system is the problem. You must check for what happened to fill it up and then decide what to do about it so it will not happen again.

Check your /var/adm/messages file for possible clues - if you have access to SunSolve, search for "filesystem full" or "/ full no login"- It gives different possible problems - one may be this:

This is caused by a full file system and the system has no space
to write its utmpx (login info) entry.

To get around this condition the system must be booted up
into single user mode. Then clear (do not delete) the files:

/var/adm/utmp
/var/adm/utmpx

This can be done by typing:

#cat /dev/null > filename

This command will zero out the file but keep it there with
the correct permissions.

In some cases after removing these files your /var filesystem may
still be full. In this case type:

du -askd /var |sort -nr |more

This will give you a listing of the files from largest to smallest
on the /var filesystem.

In order to create space you may zero out the following files:

/var/cron/log
/var/spool/lp/logs
/var/adm/messages

You may also check the following for any large files that can be deleted:

/.wastebasket
/lost+found

----------------------------------------------------
Subsequent logins should work fine after this.

Keywords: var, umptx, wtmpx, utmp, wtmp



full file system

changing a flat filesystem
# 3  
Old 08-07-2002
Thanx for the ans. The null writting over utmp and wtmp has already done. Also the space has been made on the root file system. Still the problem persist.

Regards,
Rahul
# 4  
Old 08-07-2002
How are your partitions laid out? Does the server boot to multiuser mode? What processes are starting automatically that could be opening up or grabbing space (check /etc/rc2.d, /etc/rc3.d, and cron jobs)?

If you only have a / partition, it will be harder to find what is causing the problem. If you can't use the server, then start looking for the problem - boot the server into single user mode. Check to see if the problem exist. If not, then something is starting up in multiuser mode. Check your startup scripts and cron jobs. Maybe someone made a change and didn't realize they caused a problem.

Post back the partitions and any software you might be using for mirroring etc..

Previous Thread | Next Thread
Test Your Knowledge in Computers #43
Difficulty: Easy
A serial interface transmits two bits of information at the same time, both a one and a zero.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

TRU64 - Cluster boot partition is FULL

Good day, Anybody, know how to clean/free up the Cluster_boot partition in TRU64 Thank you in advance Miaka (0 Replies)
Discussion started by: miaka1012
0 Replies

2. Red Hat

Warning: extended partition does not start at a cylinder boundary.

Can you please help me to remove this error. Disk /dev/sda: 64.4 GB, 64424509440 bytes 255 heads, 63 sectors/track, 7832 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk... (4 Replies)
Discussion started by: karthik9358
4 Replies

3. Solaris

Need to partition root

Hello guys, I am using Solaris 10 x86 OS. While installing OS i have allocated entire 10 GB space to the root. Now i am not able to create new partition it says me "out of range" or "<cylinder number> not expected". Can someone please help me to allocated a default recommended space i.e 8GB or... (2 Replies)
Discussion started by: bhargav90
2 Replies

4. HP-UX

/var partition full need help

My /var partition is almost utilized ... Here am not sure where to release space now OS/model : HP-UX B.11.11 U 9000/800 # bdf /var Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol9 6144000 6142176 1824 100% /var <root@pb>/var # du -sk * | sort -n |... (20 Replies)
Discussion started by: Shirishlnx
20 Replies

5. HP-UX

effect of full root partition on server

hi, I want to know that "What Happen if the root partition gets full on the server? I have HP-Unix 11.11 installed. (3 Replies)
Discussion started by: majidtahir
3 Replies

6. Solaris

Problem creating full root zones

OK, the situation is that I am trying to avoid full root zones whenever possible but I need at least /usr writable as this zone will be using apache as installed as a Solaris package. So....I created a new zone and every time I try to remove any inherited package directories, the below occurs.... (2 Replies)
Discussion started by: LittleLebowski
2 Replies

7. Solaris

Help: root partition crashed, fsck failed. Disk problem?

recently this sunfire 280R (solaris 10) is having problme, it was able to boot up, then all suddent, it failed, and I can't even mount the first disk which contains root partition when I boot up from cdrom. 2 X 36G hard drive, I scan first hard drive by "read", there is no bad block. The... (2 Replies)
Discussion started by: steeles
2 Replies

8. UNIX for Advanced & Expert Users

Hard-disk partition is Full problem?

HI, Currently I am working in One of the webhosting company and I found on one of my server "/home" partition is getting full say 105% usage... But when I actually check the partition size using "du -h", exact partition utilization is only 60-70%. So... (1 Reply)
Discussion started by: jagdish.machhi@
1 Replies

9. UNIX for Dummies Questions & Answers

Full Partition?

Hi Everyone, I think I've filled up one of the partitions on my drive. I suspect that one of the applications I've been running has been spitting out junk files to this partition - most of which can be deleted. The problem is that I have no idea how to go look at what's on that partition and... (2 Replies)
Discussion started by: Choppy
2 Replies

10. UNIX for Advanced & Expert Users

root partition full and problem start

We have SunOS 5.7 m/c. Following is the situation and problem what we are facing - - The root partition was full. - No login was possible on server (not from console also) - M/c was power swithced off - After this only console login is possible. FTP is possible. No telnet is possible. I... (1 Reply)
Discussion started by: rahul72
1 Replies

Featured Tech Videos