1821246 Members
2764 Online
109632 Solutions
New Discussion юеВ

root 95%

 
Fauziah Mahdan
Super Advisor

root 95%

HI all,
Need advice which file or folder can remove?
server 1
467808 /
179272 /oracle/cgc_dir
179272 /oracle
166224 /oracle/cgc_dir/MAILMERGE
134872 /etc
128560 /sbin
96088 /etc/vx
82752 /etc/vx/type
34504 /etc/vx/type/static
22688 /sbin/fs
21720 /etc/vx/type/gen
21448 /etc/opt
16528 /crystal
16248 /sbin/fs/vxfs
16224 /etc/vx/type/raid5
13200 /etc/opt/resmon
12880 /oracle/cgc_dir/Report
12064 /etc/vx/static.d
11304 /etc/vx/static.d/build
10296 /etc/vx/type/fsgen
# find / -xdev -size +800000c
/etc/opt/resmon/lbin/mibmond
/etc/opt/resmon/lbin/cntrlrst
/etc/opt/resmon/core
/etc/vx/static.d/build/vold.o
/etc/vx/type/fsgen/fs.d/vxfs/vxsync
/etc/vx/type/fsgen/vxplex
/etc/vx/type/fsgen/vxvol
/etc/vx/type/gen/vxinfo
/etc/vx/type/gen/vxmake
/etc/vx/type/gen/vxmake_static
/etc/vx/type/gen/vxmend
/etc/vx/type/gen/vxplex
/etc/vx/type/gen/vxsd
/etc/vx/type/gen/vxvol
/etc/vx/type/raid5/vxmake
/etc/vx/type/raid5/vxmend
/etc/vx/type/raid5/vxplex
/etc/vx/type/raid5/vxsd
/etc/vx/type/raid5/vxvol
/etc/vx/type/static/egettxt
/etc/vx/type/static/ugettxt
/etc/vx/type/static/vxcache
/etc/vx/type/static/vxconfigd
/etc/vx/type/static/vxconfigdump
/etc/vx/type/static/vxedit
/etc/vx/type/static/vxmake
/etc/vx/type/static/vxprint
/etc/vx/type/static/vxprivutil
/etc/vx/type/static/vxrlink
/etc/vx/type/static/vxrvg
/etc/rc.log.old
/etc/rc.log
/sbin/fs/hfs/fsck
/sbin/fs/vxfs/mkfs
/sbin/fs/vxfs/fsck
/sbin/fs/vxfs/mount
/sbin/fs/vxfs/extendfs
/sbin/fs/vxfs/fsdb
/sbin/fs/vxfs/vxenablef
/sbin/fs/vxfs/vxfsconvert
/sbin/fs/vxfs/vxumount
/sbin/sh
/sbin/lvchange
/sbin/lvcreate
/sbin/lvdisplay
/sbin/lvextend
/sbin/lvlnboot
/sbin/lvreduce
/sbin/lvremove
/sbin/lvrmboot
/sbin/pvchange
/sbin/pvcreate
/sbin/pvdisplay
/sbin/pvmove
/sbin/vgcfgbackup
/sbin/vgcfgrestore
/sbin/vgchange
/sbin/vgcreate
/sbin/vgdisplay
/sbin/vgexport
/sbin/vgextend
/sbin/vgimport
/sbin/vgreduce
/sbin/vgremove
/sbin/vgscan
/sbin/pvck
/sbin/awk
/sbin/frecover
/sbin/init
/sbin/insf
/sbin/pax
/sbin/restore
/sbin/vxdctl
/sbin/egettxt
/sbin/getrunlvl
/sbin/dasetup
/sbin/download
/sbin/kcshutdown
/sbin/savecrash
/sbin/scsiscan
/sbin/tar
/sbin/lssf
/sbin/mksf
/sbin/rmsf
/sbin/kcboot
/sbin/vxdump
/sbin/vxrestore
/sbin/pvremove
/sbin/vgchgid
/sbin/lvchange.run
/sbin/lvmerge
/sbin/lvsplit
/sbin/lvsync
/sbin/vgsync
/sbin/nomwcsyncd
/sbin/is_vxvmroot
/sbin/ugettxt
/sbin/vxcache
/sbin/vxconfigd
/sbin/vxdg
/sbin/vxdisk
/sbin/vxdmpadm
/sbin/vxedit
/sbin/vxiod
/sbin/vxmake
/sbin/vxmend
/sbin/vxplex
/sbin/vxprint
/sbin/vxrecover
/sbin/vxrelayout
/sbin/vxsd
/sbin/vxsnap
/sbin/vxvmboot
/sbin/vxvol
/sbin/vxlicinst
/sbin/vxlicrep
/sbin/vxlictest
/sbin/mount_enh
/.mozilla/default/3qka7fni.slt/XUL.mfasl
/jasperreport/jasperreports-1.2.0.jar
/jasperreport/jasperreports-1.2.8.jar
/jasperreport/jasperreports-1.3.3.jar
/crystal/jpe.log.27


server2
# du -kx / |sort -rn |head -20
495288 /
207712 /oracle/cgc_dir
207712 /oracle
194016 /oracle/cgc_dir/MAILMERGE
140280 /etc
128560 /sbin
96088 /etc/vx
82752 /etc/vx/type
34504 /etc/vx/type/static
22688 /sbin/fs
21720 /etc/vx/type/gen
21664 /etc/opt
16248 /sbin/fs/vxfs
16224 /etc/vx/type/raid5
13576 /etc/opt/resmon
13528 /oracle/cgc_dir/Report
12064 /etc/vx/static.d
11624 /crystal
11304 /etc/vx/static.d/build
10296 /etc/vx/type/fsgen
# find / -xdev -size +800000c
/etc/opt/resmon/lbin/mibmond
/etc/opt/resmon/lbin/cntrlrst
/etc/opt/resmon/core
/etc/vx/static.d/build/vold.o
/etc/vx/type/fsgen/fs.d/vxfs/vxsync
/etc/vx/type/fsgen/vxplex
/etc/vx/type/fsgen/vxvol
/etc/vx/type/gen/vxinfo
/etc/vx/type/gen/vxmake
/etc/vx/type/gen/vxmake_static
/etc/vx/type/gen/vxmend
/etc/vx/type/gen/vxplex
/etc/vx/type/gen/vxsd
/etc/vx/type/gen/vxvol
/etc/vx/type/raid5/vxmake
/etc/vx/type/raid5/vxmend
/etc/vx/type/raid5/vxplex
/etc/vx/type/raid5/vxsd
/etc/vx/type/raid5/vxvol
/etc/vx/type/static/egettxt
/etc/vx/type/static/ugettxt
/etc/vx/type/static/vxcache
/etc/vx/type/static/vxconfigd
/etc/vx/type/static/vxconfigdump
/etc/vx/type/static/vxedit
/etc/vx/type/static/vxmake
/etc/vx/type/static/vxprint
/etc/vx/type/static/vxprivutil
/etc/vx/type/static/vxrlink
/etc/vx/type/static/vxrvg
/etc/rc.log.old
/etc/rc.log
/sbin/fs/hfs/fsck
/sbin/fs/vxfs/mkfs
/sbin/fs/vxfs/fsck
/sbin/fs/vxfs/mount
/sbin/fs/vxfs/extendfs
/sbin/fs/vxfs/fsdb
/sbin/fs/vxfs/vxenablef
/sbin/fs/vxfs/vxfsconvert
/sbin/fs/vxfs/vxumount
/sbin/sh
/sbin/lvchange
/sbin/lvcreate
/sbin/lvdisplay
/sbin/lvextend
/sbin/lvlnboot
/sbin/lvreduce
/sbin/lvremove
/sbin/lvrmboot
/sbin/pvchange
/sbin/pvcreate
/sbin/pvdisplay
/sbin/pvmove
/sbin/vgcfgbackup
/sbin/vgcfgrestore
/sbin/vgchange
/sbin/vgcreate
/sbin/vgdisplay
/sbin/vgexport
/sbin/vgextend
/sbin/vgimport
/sbin/vgreduce
/sbin/vgremove
/sbin/vgscan
/sbin/pvck
/sbin/awk
/sbin/frecover
/sbin/init
/sbin/insf
/sbin/pax
/sbin/restore
/sbin/vxdctl
/sbin/egettxt
/sbin/getrunlvl
/sbin/dasetup
/sbin/download
/sbin/kcshutdown
/sbin/savecrash
/sbin/scsiscan
/sbin/tar
/sbin/lssf
/sbin/mksf
/sbin/rmsf
/sbin/kcboot
/sbin/vxdump
/sbin/vxrestore
/sbin/pvremove
/sbin/vgchgid
/sbin/lvchange.run
/sbin/lvmerge
/sbin/lvsplit
/sbin/lvsync
/sbin/vgsync
/sbin/nomwcsyncd
/sbin/is_vxvmroot
/sbin/ugettxt
/sbin/vxcache
/sbin/vxconfigd
/sbin/vxdg
/sbin/vxdisk
/sbin/vxdmpadm
/sbin/vxedit
/sbin/vxiod
/sbin/vxmake
/sbin/vxmend
/sbin/vxplex
/sbin/vxprint
/sbin/vxrecover
/sbin/vxrelayout
/sbin/vxsd
/sbin/vxsnap
/sbin/vxvmboot
/sbin/vxvol
/sbin/vxlicinst
/sbin/vxlicrep
/sbin/vxlictest
/sbin/mount_enh
/.mozilla/default/rl5i3yo2.slt/XUL.mfasl
/jasperreport/jasperreports-1.2.0.jar
/jasperreport/jasperreports-1.2.8.jar
/jasperreport/jasperreports-1.3.3.jar
10 REPLIES 10
Patrick Wallek
Honored Contributor

Re: root 95%

On both servers these 3 should be in their own Oracle LV:

207712 /oracle/cgc_dir
207712 /oracle
194016 /oracle/cgc_dir/MAILMERGE

You should create a new LV for /oracle. There should NEVER be anything other than basic OS stuff in '/'. Having /oracle there is VERY BAD practice.
Mark Ellzey
Valued Contributor

Re: root 95%

Fauziah,

Rather than providing us with a listing of everything on your system, why don't you provide a 'bdf (1m)' so that we may see your mountpoints.

Otherwise we cannot help you.

Regards,
Mark
Tim Nelson
Honored Contributor

Re: root 95%

I second the "NEED MORE INFO".

Cannot tell from you posting if any directories are filesystem mountpoints.

Please post bdf output.

If the /oracle*, /crystal, /jasperrreport are NOT mount points they need to be moved to such.

Everything else MUST stay as part of / filesystem.

Dennis Handly
Acclaimed Contributor

Re: root 95%

How big is your .mozilla directory? I guess it is less than 10 Mb, the last one listed.
/.mozilla/default/rl5i3yo2.slt/XUL.mfasl
Yogesh M Puranik
Valued Contributor

Re: root 95%

Hi,

Please check out this output under " /"
#ls -al, you might finding some things that you can remove.Checkout any core file generated under / or /dev,if yes you can remove the same.


Dear patrick ->
"You should create a new LV for /oracle. There should NEVER be anything other than basic OS stuff in '/'. Having /oracle there is VERY BAD practice"


I really agree with your above findings that /oracle should not be there on os lv.But if "/" is getting and if you release some space from oracle LV, it won't help you out for "/" area.You need to look in core / or /dev area.I went though these scinario here on my site.


Rgds,
Yogesh
Sharma Sanjeev
Respected Contributor

Re: root 95%

Hi Fauziah Mahdan

I agree with Yogesh

You should look some core or old crash files so that you can remove them or extend your /
if you have enough space in vg00
Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
Shrikant Lavhate
Esteemed Contributor

Re: root 95%

Hi,

>or extend your /

Extending is not a good practice to go with. You should follow some cleaning practice and moving specific data to dedicated lvol.
Basically / should be static, application writing to / should moved to there dedicated dirs. Trimming log files, crash files can help you.
Will it remain a personal, if I broadcast it here!
Fauziah Mahdan
Super Advisor

Re: root 95%

Hiall,
Thanks for your respond and recommendation.
I have checked with the application vendor and they did put the oracle folder at root directory and now cannot turning back as the report will create the log file there.
One way to maintain the space is by removing some log file in this directory.

194016 /oracle/cgc_dir/MAILMERGE

Thanks
Mridul Shrivastava
Honored Contributor

Re: root 95%

You can write a script which copies these log files to some other location ( for example at /var/adm/crash) on daily basis and then nullify the log files under root. So these files will not consume lot of space on root and at the same time you have a backup of log file, just in case oracle guys need them.
Time has a wonderful way of weeding out the trivial
Dennis Handly
Acclaimed Contributor

Re: root 95%

>they did put the oracle folder at root directory and now cannot turning back
/oracle/cgc_dir/MAILMERGE

As mentioned in the following thread, you can put /oracle elsewhere and add a symlink to it seems like it is in /:

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1251448