Operating System - HP-UX
1833867 Members
2045 Online
110063 Solutions
New Discussion

Need to trim /usr filesystem little bit !!

 
SOLVED
Go to solution
rveri
Super Advisor

Need to trim /usr filesystem little bit !!

Hi all ,

The /usr file system is of 1GB , but still its filled up 92%. I want to reduce it below 90% .

These are the biggest files on it : Can I delete any of these to reduce the used space,

-r--r--r-- 1 bin bin 20882464 May 6 2002 ./lib/X11/fonts/TrueType/chinese_t.st/typefaces/tthmin.ttf
-r--r--r-- 1 bin bin 19777344 May 6 2002 ./lib/X11/fonts/TrueType/chinese_t.st/typefaces/tttmin.ttf
-r--r--r-- 1 bin bin 13697070 Sep 25 2002 ./lib/pa20_64/librwtool_v2.a
-r--r--r-- 1 bin bin 10017040 May 6 2002 ./lib/X11/fonts/TrueType/chinese_s.st/typefaces/zyhei.ttf
-r--r--r-- 1 bin bin 9969052 May 6 2002 ./lib/X11/fonts/TrueType/korean.st/typefaces/hybatang.ttf
-r--r--r-- 1 bin bin 9744924 May 6 2002 ./lib/X11/fonts/TrueType/korean.st/typefaces/hygungsuh.ttf
-r-xr-xr-x 1 bin bin 9621504 Oct 13 2004 ./sbin/stm/uut/lib/liblego.sl
-r--r--r-- 1 bin bin 9468184 Sep 25 2002 ./lib/librwtool_v2.a
-r--r--r-- 1 bin bin 9394108 Mar 27 09:11 ./conf/lib/libdebug.a
-r--r--r-- 1 bin bin 9234752 May 6 2002 ./lib/X11/fonts/TrueType/chinese_s.st/typefaces/zysong.ttf
-r--r--r-- 1 bin bin 9080932 May 1 2002 ./lib/X11/fonts/TrueType/japanese.st/typefaces/hgrml98.ttf
-r--r--r-- 1 bin bin 8085388 May 6 2002 ./lib/X11/fonts/TrueType/korean.st/typefaces/hygulim.ttf
-r--r--r-- 1 bin bin 7833792 May 6 2002 ./lib/X11/fonts/TrueType/korean.st/typefaces/hydotum.ttf
-r--r--r-- 1 bin bin 7309552 May 1 2002 ./lib/X11/fonts/TrueType/japanese.st/typefaces/hgrgb98.ttf
-r-xr-xr-x 1 bin bin 7258112 Oct 13 2004 ./sbin/stm/uut/lib/libsummit.sl
-r--r--r-- 1 bin bin 6295563 Nov 14 2000 ./contrib/src/perl5.tar.gz
-r-xr-xr-x 1 bin bin 5911232 Nov 7 2003 ./lib/pa20_64/libdcekt.1
-r--r--r-- 1 bin bin 5480242 Sep 25 2002 ./lib/pa20_64/libstd_v2.a
-r-xr-xr-x 1 bin bin 5308416 Nov 7 2003 ./lib/libdcekt.1
-r-xr-xr-x 1 bin bin 5136384 Nov 7 2003 ./lib/libdce.2
-r--r--r-- 1 bin bin 5104704 Mar 11 2002 ./lib/X11/fonts/hp_chinese_t/75dpi/sung42hh.pcf
-r-xr-xr-x 1 bin bin 4853760 Nov 3 2003 ./lib/libdce.1
-r-xr-xr-x 1 bin bin 4701528 Jun 25 2002 ./lib/pa20_64/libF90_parallel.1
-r--r--r-- 1 bin bin 4557002 Sep 2 2004 ./lib/pa20_64/libp/libc.a
-r-xr-xr-x 1 bin bin 4354048 Jun 25 2002 ./lib/pa2.0/libF90_parallel.1
-r-xr-xr-x 1 bin bin 4237480 Jun 25 2002 ./lib/pa20_64/libF90.1
-r--r--r-- 1 bin bin 4231248 Mar 11 2002 ./lib/X11/fonts/hp_chinese_t/75dpi/sung34hh.pcf
-r--r--r-- 1 bin bin 4212868 Sep 2 2004 ./lib/pa20_64/libc.a
-r-xr-xr-x 1 bin bin 4157440 Jun 25 2002 ./lib/libF90_parallel.1
-r-xr-xr-x 1 bin bin 4023472 Mar 19 2002 ./lib/nls/loc/pa20_64/locales.2/el_GR.utf8
-r-xr-xr-x 1 bin bin 4022024 Nov 14 2000 ./lib/nls/loc/pa20_64/locales.2/es_ES.utf8
-r-xr-xr-x 1 bin bin 4021768 Nov 14 2000 ./lib/nls/loc/pa20_64/locales.2/it_IT.utf8
-r-xr-xr-x 1 bin bin 4021736 Nov 14 2000 ./lib/nls/loc/pa20_64/locales.2/de_DE.utf8
---------------------------------------------

Thanks in advance,
Regards,
R.Veri.
---------
6 REPLIES 6
DCE
Honored Contributor

Re: Need to trim /usr filesystem little bit !!

you can use swremove to remove any unused language sets from the system do NOT delete them manually
DCE
Honored Contributor

Re: Need to trim /usr filesystem little bit !!


You may also want to run the command
du -sk *
from the /usr prompt.

This will tell you which directories are the largest..........
A. Clay Stephenson
Acclaimed Contributor

Re: Need to trim /usr filesystem little bit !!

As Dogbert might say, "I don't have any problem with that". However, if you want you system to continue to operate normally, never, ever remove shared libraries (those that end in .1,.2,.3,.so,.sl. It's a bit safer to remove archive libraries (those that end in .a) but still dumb because you might not be able to link needed utilities.

You might be able to remove some of the locales and fonts but the proper procedure for that is swremove.

What you should really do is move some directory trees under /usr to another filesystem and then set up symbolic links from /usr to the new location.
If it ain't broke, I can fix that.
rveri
Super Advisor

Re: Need to trim /usr filesystem little bit !!

Thanks DCE , Clay and all who replies,.

Thanks for the suggestion,

Well , which one will be easy task ,
i) To remove few unwanted things with swremove. or
ii) To increase the Filesystem space , Online JFS is installed hpux 11.11

Thx.
R.Veri.
--------
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Need to trim /usr filesystem little bit !!

If you have OnlineJFS and free PE's in the Volume Group then extending the LVOL and filesystem is trivially easy. Since you have to ask, you would probably find using SAM->Disks and Filesystems->Logical Volumes->Actions->Increase Size the easist; it should take you far under 1 minute.
If it ain't broke, I can fix that.
rveri
Super Advisor

Re: Need to trim /usr filesystem little bit !!

Stephen ,
Thank you.