Results 1 to 2 of 2
Hello,
I issued the command (SLES 11) from root du -sh /* but got some errors.
Its seems that /var/lib/ntp/proc whichs is mounted provokes this error.
Any advise on how ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-12-2012 #1Just Joined!
- Join Date
- Oct 2012
- Posts
- 1
Problem with /var/lib/ntp/proc. How to get rid of it
Hello,
I issued the command (SLES 11) from root du -sh /* but got some errors.
Its seems that /var/lib/ntp/proc whichs is mounted provokes this error.
Any advise on how to avoid/fix that?
Thank U
Andreas
df -a
....
none 0 0 0 - /var/lib/ntp/proc
....
$ du -sh /*
9.1M bin
43M boot
9.3G dev
74M etc
3.8M home
146M lib
19M lib64
16K lost+found
4.0K media
756G mnt
6.8G opt
568K oracle_admin
58M oracle_backups
45G oradata
263G oradata_slow
344K oradiag_root
du: cannot access `proc/6475/task/6475/fd/4': No such file or directory
du: cannot access `proc/6475/task/6475/fdinfo/4': No such file or directory
du: cannot access `proc/6475/fd/4': No such file or directory
du: cannot access `proc/6475/fdinfo/4': No such file or directory
0 proc
268M root
13M sbin
4.0K selinux
88K srv
0 sys
4.4M tmp
3.8G usr
207M var
440K volumes_usage
- 10-15-2012 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,148
These are pseudo files and directories (they don't really exist, materially such that du can see them). You might redirect stderr from du to a file and/or the bit-bucket (/dev/null) to stifle these errors/warnings. IE,
du -sh /* 2>/dev/nullSometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
