- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- It's not possibly to log in when the root file sys...
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
07-24-2002 05:55 AM
07-24-2002 05:55 AM
It's not possibly to log in when the root file system is full (Trusted Mode)
I've got some machines in Trusted Mode and I discovered that nobody can log in when the root file system is full (including the root user). I tried the console but it does not work. I'm thinking about to create a new file system for /tcb but I don't know if I will have problems when booting in single user mode.
Regards,
Augusto Vinhaes
(Intelig Telecomunica????es)
- Tags:
- trusted mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 05:58 AM
07-24-2002 05:58 AM
Re: It's not possibly to log in when the root file system is full (Trusted Mode)
I think that you first and foremost endeavor is to determine what is causing your / to fill up and then fix that, whether it being to create a separate filesystem for a given application, redirect output files to another location, etc.
When you boot into single-user mode, only / and /stand is available right away.
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 05:59 AM
07-24-2002 05:59 AM
Re: It's not possibly to log in when the root file system is full (Trusted Mode)
first thing you should do, is to find out what has filled up your root filesystem! Have a look for big files :
find / -type f -size +1000 -exec ls -l {} \;
look for a bad backup try with a wrong device file.... Is there anything in /dev, which is not normal? Look for something like:
/dev/rmt/o (wrong name for tape device...)
To get into single user mode, use:
(escape boot sequence, interact with IPL, and then:)
IPL> hpux -is
Allways stay on the bright side of life!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 05:59 AM
07-24-2002 05:59 AM
Re: It's not possibly to log in when the root file system is full (Trusted Mode)
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 06:03 AM
07-24-2002 06:03 AM
Re: It's not possibly to log in when the root file system is full (Trusted Mode)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 06:04 AM
07-24-2002 06:04 AM
Re: It's not possibly to log in when the root file system is full (Trusted Mode)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 06:04 AM
07-24-2002 06:04 AM
Re: It's not possibly to log in when the root file system is full (Trusted Mode)
I think you can use web console or lan console and login as single user mode. Then remove some large useless files first. Of course now the God will smile!
Live as you wish!
ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 06:05 AM
07-24-2002 06:05 AM
Re: It's not possibly to log in when the root file system is full (Trusted Mode)
Folks shouldn't put things in /, that file system isn't designed to change significantly. However, a common problem I see is daemons with / as a working directory that dump core into / - thus filling up /. Very aggravating.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 06:09 AM
07-24-2002 06:09 AM
Re: It's not possibly to log in when the root file system is full (Trusted Mode)
ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 06:15 AM
07-24-2002 06:15 AM
Re: It's not possibly to log in when the root file system is full (Trusted Mode)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 07:08 AM
07-24-2002 07:08 AM
Re: It's not possibly to log in when the root file system is full (Trusted Mode)
You say you have daemons running as root and you can't change them, but it goes to what I'm saying before with respect to applications and their locations. Lots of things are installed in /opt, but if it isn't a separate filesystem, it will fill up / eventually if not watched.
I think Harry made an excellent suggestion in that you post your bdf output (when you get things back under control), so that we may possibly assist in making a more efficient fs structure for you.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 07:11 AM
07-24-2002 07:11 AM
Re: It's not possibly to log in when the root file system is full (Trusted Mode)
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 07:31 AM
07-24-2002 07:31 AM
Re: It's not possibly to log in when the root file system is full (Trusted Mode)
/oraads/oradata /dev/vg_ads/lv_adsdat
/orabdom/oradata /dev/vg_bdom/lv_bdomdata
/orabdom/REDO_B /dev/vg_bdom/lv_bdomredob
/orabdom/REDO_A /dev/vg_bdom/lv_bdomredoa
/orabdom/bdomarch /dev/vg_bdom/lv_bdomarch
/orabdom /dev/vg_bdom/lv_orabdom1
/adspd01/mon_arch/bdom /dev/vg_bdom/lv_monarch
/adspd01/mon_arch/rmdy /dev/vg_rmdy/lv_monarch
/itsmbck /dev/vg_itsm/lv_itsmbck
/wom clapkg.dtc.intelig:/wom
/aspf_ixdm /dev/vg_ads/lv_ixdm
/oraads/ads_log2b /dev/vg_ads/lv_log2b
/oraads/ads_log2a /dev/vg_ads/lv_log2a
/oraads/ads_log1b /dev/vg_ads/lv_log1b
/oraads/ads_log1a /dev/vg_ads/lv_log1a
/oraads /dev/vg_ads/lv_oraads
/AlmaDelivery /dev/vg_ads/lv_ads
/app/rmdy /dev/vg_rmdy/lv_rmdy1
/orarmdy/rmdyarch /dev/vg_rmdy/lv_rmdyarc
/rmdydata02 /dev/vg_rmdy/lv_rmdyd02
/rmdydata01 /dev/vg_rmdy/lv_rmdyd01
/orarmdy/rmdy_log2b /dev/vg_rmdy/lv_rmdyl2b
/orarmdy/rmdy_log2a /dev/vg_rmdy/lv_rmdyl2a
/orarmdy/rmdy_log1b /dev/vg_rmdy/lv_rmdyl1b
/orarmdy/rmdy_log1a /dev/vg_rmdy/lv_rmdyl1a
/orarmdy /dev/vg_rmdy/lv_orarmdy
/app/remedy /dev/vg_rmdy/lv_rmdy
/itsm /dev/vg_itsm/lv_itsm
/ora_log1/oradata /dev/vg_itsm/lv_itsmlog1
/ora_log2/oradata /dev/vg_itsm/lv_itsmlog2
/oraarch/itsm /dev/vg_itsm/lv_architsm
/oraitsm /dev/vg_itsm/lv_oraitsm
/oraweb /dev/vg_itsm/lv_oraweb
/archives /dev/vg_arc/lv_arc
/home /dev/vg00/lvol5
/opt /dev/vg00/lvol6
/tmp /dev/vg00/lvol4
/usr /dev/vg00/lvol7
/var /dev/vg00/lvol8
/stand /dev/vg00/lvol1
/ /dev/vg00/lvol3
Rgds,
Augusto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 12:54 AM
07-25-2002 12:54 AM
Re: It's not possibly to log in when the root file system is full (Trusted Mode)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 05:39 AM
07-25-2002 05:39 AM
Re: It's not possibly to log in when the root file system is full (Trusted Mode)
Someone from HP told me to create a separate fs for /tcb. I've asked him if there's some problem to boot in single user mode and He said that there's no problem. Is there some problem ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 06:26 AM
07-25-2002 06:26 AM
Re: It's not possibly to log in when the root file system is full (Trusted Mode)
I wouldn't recommend having /tcb as a separate file system. Here's some reasons why:
* it would not be mounted in single user mode
* it could be unmounted or replaced - causing problems if someone tried to login, change a password or anything else that would read/write /tcb.
* /tcb is generally a very small directory in terms of bytes used.
As stated near the top of this thread, you need to investigate why / is filling up rather than avoiding the issue and using potentially dangerous workarounds.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 06:36 AM
07-25-2002 06:36 AM
Re: It's not possibly to log in when the root file system is full (Trusted Mode)
First, there should be *NO* core files in / This is likely because root's $HOME is still in the worst possible location: /
To prevent major disasters (such as the / filesystem filling up or accidently removing every file and directory in the entire computer), move root's $HOME immediately. Start by creating a separate root $HOME, perhaps on /home/root. Then move *all* files from / to root's new $HOME and change /etc/passwd from / to /home/root. I call these files: root droppings (sort of like bird droppings). Verify that all is well by logging through another window.
Now when you go to single user mode, you'll get a warning about /home/root not existing. Not to worry, just type: mkdir /home/root and you won't see the error again. To get back root's $HOME with all the files, type: mount /home
Now if /home/root has a significant number of files (and more important, large files), you and your other root users must stop creating large numbers of files in root's $HOME. root is much too powerful to be used for anything except system maintenance. (see reference to root droppings above)
You also need to identify the core files by using the file command: file /core to see what the name of the process or daemon might be and contact the programmer to get it fixed.
Finally, summarize the / directory by filesystem using:
du -kx / | sort -rn > /var/tmp/du.slash
Then look at the top directories to see where all the space is being used. Any application directories must be moved out of the / directory. If necessary, use symlinks to keep the old directory name and move the app to /opt/
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 06:44 AM
07-25-2002 06:44 AM