Operating System - HP-UX
1830931 Members
2361 Online
110017 Solutions
New Discussion

Unable to Login - /dev/root filesystem full

 
Amit_49
Occasional Contributor

Unable to Login - /dev/root filesystem full

Hi,

I was copying some datas to my system through NFS. now I am unablt to login to the server as I am getting an error message stating that /dev/root filesystem is filled. I tried to login through Console Port, Again that got failed with the same message...
How to proceed.... Please help
9 REPLIES 9
Sandy Chen
Honored Contributor

Re: Unable to Login - /dev/root filesystem full

Hi,

You can try to log in from console, but from single user mode. If you are able to login, remove unnecessary files from /dev/root

Regards,
Sandy
I never think of the future. It comes soon enough.
Amit Parui
Valued Contributor

Re: Unable to Login - /dev/root filesystem full

Hi,

As per above if you can enter the system and zip some files especially the versioned .conf files under /etc/lvmconf i suppose your problem might be solved.
If Life gives u a ROCK, its upto u to build a BRIDGE or a WALL !!!
MarkSyder
Honored Contributor

Re: Unable to Login - /dev/root filesystem full

You say you put them on via NFS. Were you logged in to a different system to do this? If so, it might be worth trying to remove them (or move them to a different filesystem) while logged in to the different system. That would save you from having to bring the server down.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Suraj Kumar Sankari
Occasional Advisor

Re: Unable to Login - /dev/root filesystem full

Hi Amit,
If you can login through ftp then loggin to the server and try to delete big file from /
using del command from ftp
after deleting files then try to login the server
tkc
Esteemed Contributor

Re: Unable to Login - /dev/root filesystem full

check if any huge file is in the /dev directory. it is quite common for accidental wrong input when writing to a device file which instead got written into incorrect device filename causing the root filesystem full.
Amit_49
Occasional Contributor

Re: Unable to Login - /dev/root filesystem full

HI All,
Thanks for all your reply... I understood all your suggesions. But for deleting any files I should be able to login. right..?
But I AM NOT ABLE TO LOGIN EVEN THROUGH CONSOLE

ERROR:
login: root
Password:
Last successful login for root: Mon Sep 3 11:16:18 EST5EDT 2007 on pts/3
Last unsuccessful login for root: Fri Aug 31 17:09:09 EST5EDT 2007 on pts/0

msgcnt 28632 vxfs: mesg 001: vx_nospace - /dev/root file system full (1 block extent)
Can't rewrite terminal control entry for console

Wait for login exit: ..

I even tried FTP...failed
Sandy Chen
Honored Contributor

Re: Unable to Login - /dev/root filesystem full

Hi Amit,

Reboot the server and login through single user mode.

http://docs.hp.com/en/A5201-96043-en/apcs02.html

Regards,
Sandy
I never think of the future. It comes soon enough.
Wim Rombauts
Honored Contributor

Re: Unable to Login - /dev/root filesystem full

If you start the system to single-user mode, you don't have to log in. The system opens a shell as root automatically.

An alternative can be to use the HP-UX Recovery CD and mount the root filesystem as regular filesystem as soon as the system has booted. Find at least 1 big logfile that you don't need anymore and reboot again (to single-user mode or run-level 1). Log in again and further cleanup /dev/root
whiteknight
Honored Contributor

Re: Unable to Login - /dev/root filesystem full


Amit,

if your / is full, you can use

#find / -xdev -size +2000 > /tmp/out

check /tmp/out see got any big files ?

hope this help

WK
please assign points
Problem never ends, you must know how to fix it