- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Failsafe for root filesystem filling to 100%
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
01-29-2008 10:51 AM
01-29-2008 10:51 AM
Failsafe for root filesystem filling to 100%
Using tusc, I was able to isolate the problem to an inability to write to /tcb. All of our system run in "trusted" mode, BTW.
It would be nice if HP could add a test for UID==0 and still allow root to login even though the tcb entry could not be updated. Anyone from the labs or Expert Center listening?
The obvious workaround seemed too simple that I never expected it to work. By moving /tcb to its own lvol, I was able to login!
I have not done a lot of testing and won't really have the time to do any more, so I'm offering this to the community for further comments.
Enjoy!
-charles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2008 11:00 AM
01-29-2008 11:00 AM
Re: Failsafe for root filesystem filling to 100%
I would have to say that you're asking for trouble. If this lvol is not mounted, like in single user mode, for example, you won't be able to log in.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2008 11:05 AM
01-29-2008 11:05 AM
Re: Failsafe for root filesystem filling to 100%
Do not allow applications to write into root filesystem. Any appliations that do, remove them, change them, fix them.
It should not be that hard.
/
/etc
/dev
/sbin
are the only directories in the root filesystem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2008 11:11 AM
01-29-2008 11:11 AM
Re: Failsafe for root filesystem filling to 100%
There's no login process involved with single-user, so I'm not sure how this would be an issue. I did test this, BTW, and it worked.
Tim,
I agree completely, but the cases that I've seen recently were both due to user error. Even veteran admins make mistakes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2008 11:26 AM
01-29-2008 11:26 AM
Re: Failsafe for root filesystem filling to 100%
One possible failsafe ( this is stretching the idea factory ).
Always leave your remote or hard console logged into a unix session. When disconnected via lan it will be protected with your GSP(MP) login. Your hard console should be protected via physical ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2008 07:30 PM
01-29-2008 07:30 PM
Re: Failsafe for root filesystem filling to 100%
You are doing risky thing here. You will never know when you will need to go to the single user mode. It worked, but never recommended. Me myself wouldn't do it. But it just me :)
Regards,
Sandy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2008 09:48 PM
01-29-2008 09:48 PM
Re: Failsafe for root filesystem filling to 100%
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2008 01:38 PM
01-30-2008 01:38 PM
Re: Failsafe for root filesystem filling to 100%
The failing write() to /tcb is what prevents the login when / is full. Why can't HP simply code a fix for this at least to allow root to still login? (Believe me, I worked in the Response Center for 10 years, so I can come up with a number of excuses.)
Having to force a reset to recover from a fat-fingered command seems excessive when the system and its applications are otherwise operating fine.