LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Solaris 10 ufs full (https://www.linuxquestions.org/questions/solaris-opensolaris-20/solaris-10-ufs-full-931479/)

AndreVicente 02-27-2012 12:34 AM

Solaris 10 ufs full
 
Hi all,

I need your help.
My NIS server running on solaris 10 has a problem.
The / filesystem is at 100%, I have tried to find the that are taking most the space, but only managed to free up 600 MB.

Could you please help me.


Regards,

jlliagre 02-27-2012 01:01 AM

Post the output of these commands:
Code:

df -k /
du -dak / | tee /tmp/du-dak.out | tail -40


AndreVicente 02-27-2012 03:30 AM

2 /temp/GIKA-NIS/shadow24062010
13 /temp/GIKA-NIS
2 /temp/SONPP-NIS/aliases
1 /temp/SONPP-NIS/auto.master
1 /temp/SONPP-NIS/auto.root
1 /temp/SONPP-NIS/auto.users
1 /temp/SONPP-NIS/group
10 /temp/SONPP-NIS/hosts
1 /temp/SONPP-NIS/netmasks
7 /temp/SONPP-NIS/passwd
10 /temp/SONPP-NIS/passwd01092009
4 /temp/SONPP-NIS/services
4 /temp/SONPP-NIS/shadow
10 /temp/SONPP-NIS/passwd28062010
53 /temp/SONPP-NIS
67 /temp
1 /Documents
2 /.ICEauthority
1 /.gtkrc-1.2-gnome2
1 /.nautilus/first-time-flag
2 /.nautilus
2 /Desktop/starthere.desktop
2 /Desktop/star.desktop
5 /Desktop
0 /.recently-used
61656 /core
1 /seismic1
1 /seismic2
1 /seismic3
1 /seismic4
1 /seis_canvas
1 /seis_pdgm
1 /oracle_dbf
1 /temp_shared1
1 /dl/finder
2 /dl
1 /interp1
1 /temp_shared3
1 /temp_work
27266695

jlliagre 02-27-2012 03:45 AM

Please post "df -k /" output and "du -dak | sort -n | tail -40" (I forgot the sort in my previous reply)

AndreVicente 02-28-2012 01:33 AM

bash-3.00# du -dak / | sort -n | tail -40
235452 /usr/lib/AdobeReader
282952 /opt/staroffice8/program
300349 /usr/share
316928 /var/sadm/pkg
360588 /var/sadm
383104 /seismic/roaming/xxxxxx/INT/901CCH1.gridexp
388878 /var
404096 /seismic/roaming/xxxxxxx/INT/901CCH1.gridexp
412213 /usr/openwin
418008 /seismic/roaming/xxxxxx/INT/901CCH1.gridexp
423952 /opt/staroffice8
437952 /seismic/roaming/xxxxxx/INT/901CCH1.gridexp
505583 /usr/sfw
599900 /opt
644184 /seismic/roaming/xxxxxx/INT/K34REG.gridexp
724552 /seismic/roaming/xxxxxx/INT/901FCH1.gridexp
814272 /seismic/roaming/xxxxxx/INT/901FCH1.gridexp
832376 /seismic/roaming/xxxxx/INT/901FCH1.gridexp
839312 /seismic/roaming/xxxxxx/INT/901FCH1.gridexp
841240 /seismic/roaming/xxxxxx/INT/901FCH1.gridexp
843144 /seismic/roaming/xxxxx/INT/901FCH1.gridexp
957416 /seismic/roaming/xxxxxx/INT/901FCH1.gridexp
960272 /seismic/roaming/xxxxxx/INT/901FCH1.gridexp
960272 /seismic/roaming/xxxxxx/INT/901FCH1.gridexp
960272 /seismic/roaming/xxxxxx/INT/901FCH1.gridexp
960272 /seismic/roaming/xxxxx/INT/901FCH1.gridexp
978512 /seismic/roaming/xxxxx/INT/901FCH1.gridexp
1067544 /seismic/roaming/xxxxx/INT/901FCH1.gridexp
1067544 /seismic/roaming/xxxxx/INT/01FCH1.gridexp
1067544 /seismic/roaming/xxxxx/INT/01FCH1.gridexp
1069513 /usr/lib
1073152 /seismic/roaming/xxxxx/INT/901FCH1.gridexp
1305504 /seismic/roaming/xxxxx/INT/1FCH1.gridexp
1752992 /seismic/roaming/xxxxx/INT/901FCH1.gridexp
3314337 /usr
22719551 /seismic/roaming/xxxx/INT
22787181 /seismic/roaming/xxxxx
22787182 /seismic/roaming
22787193 /seismic
27299485

AndreVicente 02-28-2012 01:40 AM

I cant find a file that is taking most of the space. can this be a bug or something!?

AndreVicente 02-28-2012 04:32 AM

Thanks Guys.

We managed to solve the problem.
We put the server in single mode and executed the command: df -k.
We found a directory taking most of the space, and removed the dirctory. apparently he was replicating this directory somehow.
We'll keep monitoring to find out what's going on.


Cheers...

jlliagre 02-28-2012 07:11 AM

The /seismic directory is using 83% of the used space on your root file system. There are plenty of files (or directories) with the .gridexp suffix. One way to free space on / would be to move this data to another file system and configure the "seismic" application to use this new location.

AndreVicente 03-01-2012 03:52 AM

OK.
Thanks for the tip. Will make the necessary arrangements.


Regards,


All times are GMT -5. The time now is 07:32 PM.