- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to reduce the file system size...
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-17-2006 01:45 AM
07-17-2006 01:45 AM
how to reduce the file system size...
i am running out of space. i need to delete some files like core files, log files, etc...
i am new to hpux. so please help me on this:
#bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1048576 186048 855808 18% /
/dev/vg00/lvol1 311296 66400 243032 21% /stand
/dev/vg00/lvol8 4710400 1829720 2858968 39% /var
/dev/vg00/lvol7 2924544 2069008 848880 71% /usr
/dev/vg00/lvol5 204800 8600 194672 4% /tmp
/dev/vg00/lvol6 2744320 1820592 916520 67% /opt
/dev/vg00/lvol4 2097152 1218696 871600 58% /home
presently i have enough space. when i copy the oracle 4 cd's, and some application dump, space becomes question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2006 01:58 AM
07-17-2006 01:58 AM
Re: how to reduce the file system size...
have you verify with vgdisplay -v vg00 , space disk ?
perhaps all it's not used.
regards
L-DERLYN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2006 02:03 AM
07-17-2006 02:03 AM
Re: how to reduce the file system size...
Your current disk space usage looks fine.
Oracle should *not* be installed into root file system. It should be installed into its own mount points - ideally in a seperate volume group (say vg01)
Do you have any unassigned disks on the system? If not - is ther any unassigned space in vg00?
There are a couple of ways to check - command line and SAM.
SAM is the easiest. just follow the menus
Command line you need to do a vgdisplay -v /dev/vg00 to see if there is extra space, and to see which disks are currently assigned to it
ioscan -fnC disk will give you a list of disks - any not in vg00 should be available for use.
HTH
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2006 02:09 AM
07-17-2006 02:09 AM
Re: how to reduce the file system size...
/var/tmp is a good place to clear down, as it /var/preserve and /var/adm/crash (places where files are stored after a crash).
I'd also increase /tmp as you might not have enough space to unpack files.
for deleting core files run:
find / -name "core" -exec rm {} \;
Also check out /var/adm for various log files that may be big
du -sk /var/spool/* | sort -n
will show you which directories under the spool area are big. If /var/spool/lp is big then you've lots of failed print jobs queued up (lpstat -a -t will list them and cancel
But really, disc space is cheap, I'd reccommend putting oracle on its own vg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2006 02:18 AM
07-17-2006 02:18 AM
Re: how to reduce the file system size...
From the output shown all the filesystems are resonably full and there is no cause of alarm. However if you are plannin gto load oracle I would always recommend to create a new VG, you can run ioscan -funC disk to see if any free disks and available on the system and can use them for oracle install. It is always bettere not to use vg00 for any db or app purpose.
Rgds
HGN