cancel
Showing results for 
Search instead for 
Did you mean: 

no free space in /usr/sap

Former Member
0 Kudos

Hi all,

one of the drive in server /usr/sap is 100% full. it is AIX base system.

i want to check which file is consuming hom much space in that particular drive kindly help o

Thanx in advance

Koushal

Accepted Solutions (1)

Accepted Solutions (1)

former_member105207
Active Participant
0 Kudos

hi Koushal,

Please try

du -h

regards,

chandru.

Former Member
0 Kudos

Hi Chandru thanx 4 reply..

command given by you is only giving me space used at directory level not file level

0 ./lost+found

0 ./trans/lost+found

168 ./trans/tmp

0 ./trans/EPS/in

0 ./trans/EPS/out

0 ./trans/EPS/log

0 ./trans/EPS

40 ./trans/bin

70424 ./trans/buffer

476456 ./trans/cofiles

11797680 ./trans/data

0 ./trans/etc

23240216 ./trans/log

408 ./trans/sapnames

35585400 ./trans

0 ./seculib

4688 ./tmp

7384 ./R3T/DVEBMGS00/data/ATRAFILES

still i am not getting which file is consuming much space

Regards,

Koushal

hannes_kuehnemund
Active Contributor
0 Kudos

You have 2 big directories:

./trans/data

./trans/log

These are the transports, which were either transported into you system, or created to be exported. You can add a new partition and move the content of trans there and mount it to /usr/sap/trans afterwards ....

Hannes

former_member201054
Contributor
0 Kudos

you can delete the file *.sap in both /data and /cofiles

and remove the imported SP's from /EPS/in

I will give some space

Former Member
0 Kudos

Hi Koushal,

Execute the below command to get which directories occupying the most space

du -sh * | sort -nr

If /usr/sap/<SID> is occupying the most space check for the core file in the work directory and try to reset old trace files if not required ( using SM50)

or try to delete old stat files from ST03N

If /usr/sap/trans is occupying the most space then try to delete already applied support packs from /usr/sap/trans/EPS/in directory

Regards,

Raj

Answers (1)

Answers (1)

markus_doehr2
Active Contributor
0 Kudos

I´d run a small script like

cd /usr/sap
for i in `ls`; do du -h; done

Then check the output and step in to the directory with the biggest size and run the same again

Markus

Former Member
0 Kudos

Hi Markus,

thanks for your reply

would i get file space from this script..??

Regards,

koushal Solanki