- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to make more free space on root LV
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-27-2009 07:59 AM
тАО01-27-2009 07:59 AM
How to make more free space on root LV
We having the Hp-ux server of version 11.23 and sap application running on it.
Need your help for following case.---
(1) Root file system ( / ) become 94% and want to make more free space on it.Server donn't having online JFS installed and we can not extend root FS it's size is fixed only during installation from ignite -tape.
(2) I tried following to find large files as
#du -kx |sort -rn |more
496272 /
207152 /etc
184344 /nsr
184144 /nsr/applogs
173544 /etc/vx
106664 /etc/vx/type
102992 /sbin
65608 /etc/vx/static.d
62656 /etc/vx/static.d/build
42432 /etc/vx/type/static
28440 /etc/vx/type/gen
22928 /sbin/fs
21720 /etc/vx/type/raid5
17640 /etc/opt
14064 /etc/vx/type/fsgen
13368 /sbin/fs/vxfs
9528 /etc/opt/resmon
8320 /etc/lp
6560 /etc/lp/interface
5624 /sbin/fs/vxfs4.1
5256 /etc/lp/interface/model.orig
4912 /etc/opt/resmon/lbin
4560 /etc/opt/wbem
4544 /etc/opt/wbem/mof
3448 /etc/vx/type/fsgen/fs.d/vxfs
3448 /etc/vx/type/fsgen/fs.d
3248 /etc/opt/resmon/log
2960 /etc/lvmconf
2952 /etc/vx/static.d/default
2760 /sbin/fs/hfs
2296 /etc/opt/cifsclient
2248 /etc/opt/cifsclient/unitables
1256 /sbin/init.d
1120 /.mozilla
1104 /.mozilla/default/ott9dpt3.slt
1104 /.mozilla/default
1008 /etc/opt/resmon/lib
960 /etc/X11
896 /etc/dt
880 /etc/dt/appconfig
872 /etc/lp/member
872 /etc/dt/appconfig/types
864 /etc/dt/appconfig/types/C
688 /etc/rc.config.d
640 /sbin/lib
440 /etc/lp/sinterface
440 /etc/lp/cinterface
432 /etc/vx/vras
(3)
cd /etc/opt/resmon/log
ls
api.log api.log.old client.log client.log.old emsagent.log registrar.log reslog.html reslog.old.html
Is it possible to move the old log files to other file system (or by soft link)..like
(a)api.log.old (b) client.log.old (c) reslog.old.html
(4) OR is there are any other solution or i can move to get more free space on root (/).
Thanks in advance.
Subodh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2009 08:13 AM
тАО01-27-2009 08:13 AM
Re: How to make more free space on root LV
1)Check for the NSR logs at /nsr , ask the application team if they can be moved to some other filesystems or can be kept at other location. That consumes a lot of space.
2) Ignite is the most Safe and Reliabale way of doing the Root LV increase.
3)In the unconvential ways if possiblr and having free space in the VG, the pvmove for the lvol4 can be tried if that is not defined as a Contiguous Volume, generally that use to be /tmp.
Regards
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2009 08:19 AM
тАО01-27-2009 08:19 AM
Re: How to make more free space on root LV
If you have some spare space you can create another VG/FS and move /nsr to it, giving you plenty of space in /.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2009 08:20 AM
тАО01-27-2009 08:20 AM
Re: How to make more free space on root LV
You have data in /etc, not only configuration files.
Clean it up.
207152 /etc
184344 /nsr
184144 /nsr/applogs
173544 /etc/vx
106664 /etc/vx/type
102992 /sbin
65608 /etc/vx/static.d
62656 /etc/vx/static.d/build
42432 /etc/vx/type/static
28440 /etc/vx/type/gen
22928 /sbin/fs
21720 /etc/vx/type/raid5
17640 /etc/opt
14064 /etc/vx/type/fsgen
13368 /sbin/fs/vxfs
9528 /etc/opt/resmon
8320 /etc/lp
6560 /etc/lp/interface
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2009 01:10 PM
тАО01-27-2009 01:10 PM
Re: How to make more free space on root LV
(1)Is it possible to move the old log from
#cd /etc/opt/resmon/log
# ls -ltr
total 6496
-rw-r--r-- 1 root root 500141 Aug 29 2007 client.log.old
-rw-r--r-- 1 root root 1000093 Nov 10 2007 reslog.old.html
-rw-r--r-- 1 root root 500673 Dec 17 2007 api.log.old
-rw-r--r-- 1 root root 213126 May 25 2008 client.log
-rw-r--r-- 1 root sys 13612 May 25 2008 emsagent.log
-rw-r--r-- 1 root root 208667 May 25 2008 registrar.log
-rw-r--r-- 1 root root 67916 Oct 9 15:43 api.log
-rw-r--r-- 1 root root 765213 Jan 27 08:02 reslog.html
old log ..i.e
(a)api.log.old (b) client.log.old (c) reslog.old.html
(2)/nsr taking more space but i am not sure which one can we move without affecting Env.
SUBODH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2009 01:28 PM
тАО01-27-2009 01:28 PM
Re: How to make more free space on root LV
You have your back-up client software (Networker) installed in the root filesystem.
Reinstall or move it to a separate filesystem, this will save 180MB in your root filesystem.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2009 01:34 PM
тАО01-27-2009 01:34 PM
Re: How to make more free space on root LV
can find from googl emore about /nsr/applogs .
These seem to be the logs for Oracle RMAN Backup.
Immmediately get in touch with the Oracle Database team or the backup team and ask about utility of these log files.
You can well leave the resmon logs that is the Event manager logs. They are taking only 9 MB of space.
Where as /nsr seems to take close to 184 MB.
This is always a good practice while working in the Production Environment to at least have a backup of any file that you are going to delete.
As suggested by the Gurus before deleting a file you can have the File copied to some other location or can have a zip of that file on other location or moiunt point .
Regards
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2009 01:36 PM
тАО01-27-2009 01:36 PM
Re: How to make more free space on root LV
can use google search for nsr search and/or have a look at the following link.
http://www.orafaq.com/forum/t/68409/2/
Regards
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2009 01:42 PM
тАО01-27-2009 01:42 PM
Re: How to make more free space on root LV
---
as long as you backup is not running.
Create a new filesystem
Stop your legato client (/sbin/init.d/networker stop)
Move your /nsr directory to a nsr_temp
Create /nsr
mount your new filesystem on /nsr
check the permissions on /nsr
Copy the data from nsr_temp back to /nsr and start your networker client.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2009 02:19 PM
тАО01-27-2009 02:19 PM
Re: How to make more free space on root LV
Thanks for pointing that out this is a Networker backup client installed here.
Sorry that i could not read the post made by you that i replied.
Thanks
Sujit