[SunHELP] »Ø¸´: »Ø¸´: [SunHELP] capacity of filesystem /

Sizheng Zhu szhu at mail.ipp.ac.cn
Mon Sep 23 21:07:37 CDT 2002


Hi Jeremy,

(1)
The file I mentioned is "sn.l" and locates in /dev/prom, not in /proc. Its
size has been increasing quickly:
    /dev/prom/sn.l    93206340    Sep 23 16:37
    /dev/prom/sn.l    93375194    Sep 24 08:38

Some of its contents are as follows ( I have replaced some information with
xxx):

Restart on Sat Jul 15 19:22:49 CDT 2000
Log started at => Sat Jul 15 19:22:49 [pid 729]

-- TCP/IP LOG -- TM: Sat Jul 15 20:52:48 --
 PATH: 202.127.xxx.xxx(1055) => theory2(ftp)
 STAT: Sat Jul 15 21:02:54, 21 pkts, 160 bytes [TH_FIN]
 DATA: USER xxx
     :
     : PASS xxxxxx
     :
     : CWD /export/home/xxx/xxxxx
     :
     : PWD
     :
     : SYST
     :
     : HELP
     :
     : PORT 202,127,xxx,xxx,4,32
     :
     : LIST
     :
     : TYPE I
     :
     : PORT 202,127,xxx,xxx,4,95
     :
     : RETR POSTSCPT.LIS
     :
     : QUIT
     :
     :
--

-- TCP/IP LOG -- TM: Sun Jul 16 15:59:56 --
 PATH: 202.127.xxx.xx(1491) => theory(telnet)
 STAT: Sun Jul 16 16:00:22, 110 pkts, 103 bytes [TH_FIN]
 DATA: (255)(253)^C(255)(251)^X(255)(251)^_(255)(251)
(255)(251)!(255)(251)"(255)(251)'(255)(253)^E(255)(250)^X
     : ansi(255)(240)(255)(253)^A(255)(252)^Achenlei
     : chenlei
     : hutefit
     :
     : chenlei
     : efitasipp
     :
     : ^C
     : ^Z

I have no idea on this garbage file, but it does occupies the space of the
filesystem /.

(2)
Could you please explain "delete all the file in /dev/rmt and recreate them
using ..." in detail ?

Best regars,
Sizheng Zhu

-----Original Message-----
: Jeremy RJ Towers <jeremytowers at yahoo.co.uk>
: Sizheng Zhu <szhu at mail.ipp.ac.cn>
: 2002924 7:18
: Re: : [SunHELP] capacity of filesystem /


>Hello Sizheng Zhu,
>
>I find the difference between filemanager and ls -l strange.
>
>In any case, delete all the file in /dev/rmt and recreate them using
>
>drvconfig;devlinks;tapes
>
>or
>
>In 2.8, use devfsadm which will do all the above.
>
>I don't know what /dev/prom is. Perhaps you mean /proc? The files in
>here can appear very large, but they are actually processes and cannot
>be touched. They are used by processes to communicate with each other
>via file system calls.
>
>I hope this helps
>
>Regards
>
>Jeremy
>
>Sizheng Zhu wrote:
>
>>Thanks for help.
>>
>>(1)
>>I do find the file /dev/rmt/0, in File Manager it looks like:
>>0    Feb 5    2002    2147483647
>>but with 'ls -l' it looks:
>>50 Sep 21  2000 0 -> ../../devices/sbus at 1f,0/SUNW,fas at e,8800000/st at 4,0:
>>
>>I don't know which one (2147483647 or 50) is its size. There are also
other
>>files with the same size in the directory /dev/rmt. Should I empty it with
>>'cp /dev/null /dev/rmt/0' ?
>>
>>(2)
>>I  found a large file in /dev/prom/:
>>sn.l    93206340    Sep 23 16:37
>>
>>The file contains commands in every TCP/IP LOG, it even records user's
>>password. Could this file increase the capacity of filesystem / ?
>>
>>Sizheng Zhu

>>-----Original Message-----
>>: Jeremy RJ Towers <jeremytowers at yahoo.co.uk>
>>: Sizheng Zhu <szhu at mail.ipp.ac.cn>; SunHELP at sunhelp.org
>><SunHELP at sunhelp.org>
>>: 2002921 5:06
>>: Re: [SunHELP] capacity of filesystem /
>>
>>
>>
>>
>>>try  du -ka /dev
>>>
>>>check for large file  in /dev/rmt. A common error is leaving out the
>>>last / in /dev/rmt/0 when using tar or ufsdump, resulting in a large
>>>file called /de/rmt0
>>>
>>>HTH
>>>
>>>Jeremy
>>>
>>>Wim wrote:
>>>
>>>
>>>
>>>>Sizheng Zhu wrote:
>>>>
>>>>
>>>>
>>>>>Hi,
>>>>>
>>>>>The capacity of my filesystem /dev/dsk/c0t0d0s0 (mounted on / ) is up
>>>>>to 92%
>>>>>now. Even I empty all the log and messages files and wtmp/wtmpx files
in
>>>>>/var/adm, the capacity still remains high (88%). But it was once
>>>>>reduced to
>>>>>50%. What else could cause the increase of the capacity ?
>>>>>
>>>>>
>>>>>
>>>>Try: du -ad / | sort -nr
>>>>
>>>>this shows you the disk usage, sorted on filesize...
>>>>
>>>>
>>>>
>>>>>Thanks for suggestion.
>>>>>
>>>>>S. Zhu
>>>>>_______________________________________________
>>>>>SunHELP maillist  -  SunHELP at sunhelp.org
>>>>>http://www.sunhelp.org/mailman/listinfo/sunhelp
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>Cheers!
>>>>
>>>>Wim
>>>>_______________________________________________
>>>>SunHELP maillist  -  SunHELP at sunhelp.org
>>>>http://www.sunhelp.org/mailman/listinfo/sunhelp
>>>>
>>>>
>>>_______________________________________________
>>>SunHELP maillist  -  SunHELP at sunhelp.org
>>>http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list