- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What can I do if root filesystem full?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 12:24 AM
05-07-2002 12:24 AM
Thx.
HP-UX Test B.11.00 U 9000/800 (td)
login: root
Password:
Last successful login for root: Tue May 7 12:26:50 EAT-8 2002 on pts/tc
Last unsuccessful login for root: Thu Apr 18 10:29:46 EAT-8 2002 on pts/tb
vxfs: mesg 001: vx_nospace - /dev/root file system full (1 block extent)
Wait for login exit: ..
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 12:30 AM
05-07-2002 12:30 AM
Re: What can I do if root filesystem full?
a typical error is, that someone tried to do a backup and used a wrong device file name! ( /dev/rmto for example ) this would write the backup into root file system, which could get full then. First of all, check this out. After that you could use find- command to get rid of anything, which is no longer needed. You could search for files of a specified size, age, or user, and move them, or delete them. Do a backup, if they are needed!
find /path desired_files -exec mv /path {} \;
more information: man find
Allways stay on the bright side of life!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 12:36 AM
05-07-2002 12:36 AM
Re: What can I do if root filesystem full?
Look for core files, tar, gz files and log files, but check them out before removing them! you do not want the same thing to happen again!
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 12:37 AM
05-07-2002 12:37 AM
Re: What can I do if root filesystem full?
to find out the big ones.
If you're having an application recurringly dump or misbehave:
ln -s /dev/null core
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 12:38 AM
05-07-2002 12:38 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 12:41 AM
05-07-2002 12:41 AM
Re: What can I do if root filesystem full?
# du -s /dev/* | sort -n | grep -v 0
2 /dev/diag
4 /dev/pts
4 /dev/pty
4 /dev/ptym
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 01:15 AM
05-07-2002 01:15 AM
Re: What can I do if root filesystem full?
Since I cannot telnet, rlogin, ftp, console login, I think I can just go to Guardian Service Processor and reset to single user mode before I can do anything.
Thx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 01:24 AM
05-07-2002 01:24 AM
Re: What can I do if root filesystem full?
when you boot again interrupt the boot process interact with IPL
then boot into single user mode and do the needful.
IPL>hpux -is
THanks
G Manikandan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 01:26 AM
05-07-2002 01:26 AM
Re: What can I do if root filesystem full?
Please try logging in as a normal user and do a
su to root user.
Please check this out.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 01:26 AM
05-07-2002 01:26 AM
Re: What can I do if root filesystem full?
Regards,
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 03:31 AM
05-07-2002 03:31 AM
Re: What can I do if root filesystem full?
HTH
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 03:47 AM
05-07-2002 03:47 AM
Re: What can I do if root filesystem full?
find /dev -type f -exec rm -i {} \;
find /tmp -type f -size +100000c -exec rm -i {} \;
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 03:50 AM
05-07-2002 03:50 AM
Re: What can I do if root filesystem full?
One more suggestion. Can you send us info about whether /var, /usr, /opt directories have been created in the / filesystem.
If you have for your /var directory in the root filesystem, then check for /var/adm/crash directory. It will contain lots of crash dumps which you can remove.
-Sukant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 03:56 AM
05-07-2002 03:56 AM
Re: What can I do if root filesystem full?
One thing that got me years ago was a file system that had been unmounted, allowing output that should have gone into the file system to go into the root file system instead. While you're in single user mode, do a "ls -l" for each of the file system mount points. If there's anything there (while the file system is not mounted) it's filling up your root file system.
Good luck,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 06:13 AM
05-07-2002 06:13 AM
Re: What can I do if root filesystem full?
There are tons of posts talking about this problem in this forum, if I were you, the first thing I need to do is search, key in keyword "root full", you will get a lot of posts which will be useful for you. Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 06:14 AM
05-07-2002 06:14 AM
Re: What can I do if root filesystem full?
Whenever it happens to me , ans since i cannot login so cannot run a find ,etc so I ftp to the system , then immediatley go to /etc and delete wtmp , or /var/adm and delete OLD syslog as these files free up some blocks , then I doa normal login and procedd with cleaning.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 11:00 AM
05-07-2002 11:00 AM
Re: What can I do if root filesystem full?
Please be advised, doing a find for large files and removing them may not be the most prudent act. You'll want to be sure the file that is deleted is the file you really want to delete.
Also, as you may have discovered by now, if you do not have an established telnet connection you can not create a new one when the root file system is full. On the same line, you cannot su - to root for the same reason.
One person had the perfect answer in my book. reset, interrupt the startup, boot up in single user mode, mount /dev/vg00, and mount -a. Start the search.
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 11:29 AM
05-07-2002 11:29 AM
Re: What can I do if root filesystem full?
Once i ran into this problem and was able to free space through Openview server ;-) Openview has options for sending commands through it's socket to its clients.
Another option worth a try would be to do remsh from other boxes. Ofcourse, this is assuming that you have remsh or openview setup
for the system.
HTh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 06:20 PM
05-07-2002 06:20 PM
Re: What can I do if root filesystem full?
Let me summarize what I have done.
1. telnet / login as ordinary user and root (fail)
2. console / login as root (fail)
3. ftp / login as root (fail)
Here is what I haven't try
1. rlogin (not authorize to use)
2. remsh (not authorize to use)
Thanks G Manikandan that the first one gave me the answer (Reset the system).
Thanks Pete Randall,
Sorry Victor, sorry for making a new post rather than searching first.
Sukant Naik, my system is installed in default config ( /, /var, /tmp, /home, /stand, /usr, /opt )