- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: full /home directory
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
Discussions
Discussions
Forums
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
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-2001 03:44 AM
тАО01-29-2001 03:44 AM
full /home directory
because of that a hugh load (top - 16,15,15) on the server.
What can I do to free space on /HOME or add space to it???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2001 03:54 AM
тАО01-29-2001 03:54 AM
Re: full /home directory
You could start with searching for, and removing, core files.
find /home -name core -exec rm {} \;
Then remove all 'a.out' files older than 3 days:
find /home -name a.out -mtime +3 -exec rm {} \;
Then print out the listing of all 'large' files:
find /home -type f -size +1000 -exec ll {} \;
This will list all files larger than 512000 bytes, maybe you could remove or compress some of those.
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2001 03:57 AM
тАО01-29-2001 03:57 AM
Re: full /home directory
I'd try to search the younger files that have filled it and if they are only temporary files ( contact the users..) cancel them !
Thanks
Federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2001 04:08 AM
тАО01-29-2001 04:08 AM
Re: full /home directory
Check the following
cd /home
du -s *|sort -n >/tmp/home_size
Check which directory has the biggest and see if the files can be removed or compressed.
Can't you extend /home?
Good Luck
Darrel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2001 04:45 AM
тАО01-29-2001 04:45 AM
Re: full /home directory
Is it possible to extend the /HOME??
And how do I do that ??
This is a HP9000 with 10.20 OS version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2001 06:17 AM
тАО01-29-2001 06:17 AM
Re: full /home directory
2. umount /home {There may be processes using /home so use the fuser cmd to find them and kill them or boot in single user mode}
3. lvextend -L {Size in MB} /dev/vg?/lvol?
4. extendfs /dev/vg?/rlvol?
5. mount /home
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2001 08:26 AM
тАО01-29-2001 08:26 AM
Re: full /home directory
The find command doesn't work ?? Surprising !
What kind of error does it give you ?
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2001 08:31 AM
тАО01-29-2001 08:31 AM
Re: full /home directory
the find command works fine:
see below:
# find /home -type f -size +1000 -exec ll {} \;
-rw-r----- 1 simon is 2160640 Jun 13 2000 /home/simon/hp.tar
-rw-r--r-- 1 684 100 2035200 Apr 28 1999 /home/simon/hp/hp.cor
What is the error message what you're getting.
Darrel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2001 07:03 AM
тАО01-30-2001 07:03 AM
Re: full /home directory
However, in your situation, I would think extending the LV is the way to go.
Do a "man extendfs" and go right down to the end, there is a nice example there about all the steps to follow to extend a given volume.
Nabeel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2001 07:45 AM
тАО01-30-2001 07:45 AM
Re: full /home directory
First create a new filesystem, and move here some directories and create symbolic link there.
After clean /home directory, backup it and extend size.
regards, Saa