HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- grace way to rescue the system
Operating System - HP-UX
1833544
Members
3028
Online
110061
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
04-28-2003 08:07 PM
04-28-2003 08:07 PM
I encountered a situation where the root'/' filesystem is 100% due to a bug in my backup scripts(i am using fbackup) which causes a superlarge file to be created in /dev/rmt and it cause me unable to login into the server even as root from telnet, console, or using GSP. I have to use another virtual partition to vparboot it to single user to rescue the system.
Qns:
1. Is there a much grace way to rescue this situation other than vparbooting, such as login in as root and manually remove the superlarge file?
2. When the server finally booted to single-user, the filesystem seems to restored back to is original size. Does fbackup remove the superlarge files or does the system automatically remove it when it enters into single user mode?
Qns:
1. Is there a much grace way to rescue this situation other than vparbooting, such as login in as root and manually remove the superlarge file?
2. When the server finally booted to single-user, the filesystem seems to restored back to is original size. Does fbackup remove the superlarge files or does the system automatically remove it when it enters into single user mode?
tyl
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2003 08:25 PM
04-28-2003 08:25 PM
Re: grace way to rescue the system
When / hits 100% it's very difficult to be able to log in even as root on console. To get that window for root to "squeeze in" and get a shell is almost impossible. However you should still be able to access GSP because it is not part of the OS. To avoid this kind of "accident" it is always a good practice to put in place some pro-active monitoring scripts or tools. In your case you may want to consider monitoring your FS space and when they hit 90% or more, alert you (eg: send email or page), that way you can catch potential problem much earlier. For question 2, it's a normal behavior for that large file to be deleted automatically after a reboot because fbackp hasn't got the chance to complete its task yet. It would be a different story if fbackup completes and fills up your / to say 99%. And if that happens a reboot would not take care of that file it has to be manually removed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2003 08:57 PM
04-28-2003 08:57 PM
Solution
Hi,
We've ran into this very same problem (a large corefile in the / filesystem) several times. We've now installed a system which is called "clearroot". It uses the following steps :
0. Allocate file
prealloc /.clearroot 1000000
1. In /etc/services
clearroot 10666/tcp
2. In /etc/inetd.conf
clearroot stream tcp nowait root /opt/clearroot/clearroot clearroot
3. Contents of /opt/clearroot/clearroot
#!/sbin/sh
/usr/bin/rm -f /.clearroot
exec /usr/lbin/telnetd
Now, when you run into the the problem, you telnet to port 10666 of the system. Clearroot "clears" a little space ... allowing you to login (be quick about this). Don't forget to reallocate the file afterwards ;-) !
Hope this helps,
Tom Geudens
We've ran into this very same problem (a large corefile in the / filesystem) several times. We've now installed a system which is called "clearroot". It uses the following steps :
0. Allocate file
prealloc /.clearroot 1000000
1. In /etc/services
clearroot 10666/tcp
2. In /etc/inetd.conf
clearroot stream tcp nowait root /opt/clearroot/clearroot clearroot
3. Contents of /opt/clearroot/clearroot
#!/sbin/sh
/usr/bin/rm -f /.clearroot
exec /usr/lbin/telnetd
Now, when you run into the the problem, you telnet to port 10666 of the system. Clearroot "clears" a little space ... allowing you to login (be quick about this). Don't forget to reallocate the file afterwards ;-) !
Hope this helps,
Tom Geudens
A life ? Cool ! Where can I download one of those from ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2003 09:30 PM
04-28-2003 09:30 PM
Re: grace way to rescue the system
What you can do now is
go into GSP
by pressing Cntl-B.
From there do a RS (reset) on the system.
when you boot again interrupt the boot process interact with IPL
then boot into single user mode and do the needful.
IPL>hpux -is
go into GSP
by pressing Cntl-B.
From there do a RS (reset) on the system.
when you boot again interrupt the boot process interact with IPL
then boot into single user mode and do the needful.
IPL>hpux -is
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP