- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- home directory 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
08-21-2005 03:02 PM
08-21-2005 03:02 PM
If /home directory is 100% full then what would happen ?
Will it crash the system or none of of the users would be able to login ?
As usually root is not allowed to login remotely and then how come this situation would be dealt ?
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2005 03:07 PM
08-21-2005 03:07 PM
Re: home directory full
Dont worry the system will not crash but all users having their home as /home/$user will not be able to login when /home becomes 100%
But root will still be allowed to login as root's home directory is not in /home by default, its either / or /root thats a good practice which will enable root to login.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2005 03:25 PM
08-21-2005 03:25 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2005 03:29 PM
08-21-2005 03:29 PM
Re: home directory full
Normally there is no problem with /home getting filled up to capacity.. Root will be able to login and clean the /home FS. But if u have direct root login disabled and only one user can su to root, whose home directory lies in /home , then u r in trouble. So it is highly advisable to monitor and clean /, /home, /var, /opt etc FS .
Regards
CS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2005 03:42 PM
08-21-2005 03:42 PM
Re: home directory full
To search which file that make /home full:
#du -akx /home|sort -nr|more
After execute above command you can see file from largest size file to lowest size file and you can decide what file that must be deleted after inform to your user.
To extend /home, you must have free space on VG00 :
1.fuser -cu /home , to find what process that still attach to this file system
2.fuser -ku /home to kill all process that still attach to this file system
3.Umount /home
4.Extend the logical volume to say 2048 MB.
lvextend -L 2048 /dev/vg00/lvol7
extendfs -F vxfs /dev/vg00/rlvol7
5.mount /home
6.bdf /home to verify the changes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2005 04:04 PM
08-21-2005 04:04 PM
Re: home directory full
As posted abobe the users who has home directories under /home will have problems in logging in when /home is full. The only option left at this time will be to use allready logged in user to do a su or login using root either remotely or if remote login is disabled then on system console. Even if system console is not accessible then you can login using MP/GSP.
Also apart from other users whose home directory resides in /home I have an application user whose home directory is their in the data VG itself. This user will still be able to login in such scenario.
Allthough it is just cutting the same branch on which you are sitting if you let this happen.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2005 04:25 PM
08-21-2005 04:25 PM
Re: home directory full
also check if there is any core dump in the different user directories.
you may wish to setup quota for each users.
just some thoughts
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2005 05:21 PM
08-21-2005 05:21 PM
Re: home directory full
If /home directory is 100% full, server wouldn't crash and users are denied to login to the server.
This the reason to recomend keep /home, /var as a saperate mount points. Also keep root home directory different than /home. So root can login and clear the disk space without halting the server.
So, you can observe in Linux, /root will be the root user home directory, it is really good way in sys admin porspective.
Regards,
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2005 06:01 PM
08-21-2005 06:01 PM
Re: home directory full
Usere having home direcotry /home will not be able to login, but system will not crash. Please check the files which have caused to make /home 100% full and delete unwanted files. Else think of expanding /home size. Generally /home does not come to 100% full situation unless some user has redirected the file to such directory.
Regards
Mahesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2005 07:13 PM
08-21-2005 07:13 PM
Re: home directory full
As mentioned by ther replies when /home %100
full only users can not able to login...Before maintain the /home Filesystem
you can do housekeeping on users home directory for example some core files...
cd /home;
find . -name core -exec ll -d {} \;
and then check again with the command
bdf
if stills usage around %90-95 so this means
it is the time for FS maintenance for home
dir so Morgenalan's steps are very significant
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2005 07:19 PM
08-21-2005 07:19 PM
Re: home directory full
are asked before
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=731677
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=663547
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=810853
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=881926
Good luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2005 10:46 PM
08-21-2005 10:46 PM
Re: home directory full
to detect whether core files generated
cd /home;
find . -name -exec ll -d {} \;
to remove these core files;
cd /home;
find . -name core -exec rm {} \;
Good Luck,