[OmniOS-discuss] "df" reports wrong value

Ram Chander ramquick at gmail.com
Tue Feb 26 06:30:30 EST 2013


Hi,


I have 547G parition and df  shows  only 97G used and 31G  available .
When checked with "du" it  also reports only 97G used. Where are the rest
of space ? And why is "df" reporting wrong available space.
There are no process holding deleted files.
*
-bash-4.2# df -h*
Filesystem             size   used  avail capacity  Mounted on
rpool/ROOT/omnios      547G    97G    31G    76%    /
/devices                 0K     0K     0K     0%    /devices
/dev                     0K     0K     0K     0%    /dev
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                  10.0G   300K  10.0G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
                       128G    97G    31G    76%    /lib/libc.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                  10.0G     4K  10.0G     1%    /tmp
swap                  10.0G    40K  10.0G     1%    /var/run
rpool/export           547G    32K    31G     1%    /export
rpool/export/home      547G    31K    31G     1%    /export/home
rpool                  547G    36K    31G     1%    /rpool

*-bash-4.2# du -sch /**
512     bin
74M     boot
707K    dev
322K    devices
38M     etc
3.0K    export
512     home
112M    kernel
49M     lib
2.0K    media
1.5K    mnt
512     net
439M    opt
341M    platform
du: cannot access `proc/23443/fd/3': No such file or directory
du: cannot access `proc/23443/path/3': No such file or directory
4.0G    proc
5.7M    root
7.5K    rpool
1.8M    sbin
3.7M    system
1.5K    test
8.0K    tmp
906M    usr
91G     var
*97G     total*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20130226/f14450f5/attachment.html>


More information about the OmniOS-discuss mailing list