Hello,

does it help if you run "sync"?

Is that dir possibly NFS-shared?


--
%martin

On Thu, May 21, 2009 at 6:56 PM, Doug North <[email protected]> wrote:
>
> When I delete large files, it appears the space is not being reclaimed.  I
> am running OpenSolaris 2009.06 snv_109 but I believe I was having the same
> issue with 2008.11 as well.
>
> When I delete a file a du shows the used space go down but a df does not
> show the free space.  I believe it is not usable because I ran out of space
> trying to do a pkg image-update.
>
> Has anyone seen this behavior before?
>
> r...@sunjnorth:~/iso# ls -lh
> total 11G
> -rwxrwxrwx 1 root root 656M 2009-03-13 10:11 osol-0906-109-x86.iso
> -rwxrwxrwx 1 root root 2.6G 2009-02-04 13:51 solaris74L2advd.iso
> -rwxrwxrwx 1 root root 3.1G 2009-03-25 13:12 solaris_nv111_dvd.iso.gz
> -rwxrwxrwx 1 root root 2.2G 2009-03-18 12:39 solaris_s10u7b7_dvd.iso
> -rwxrwxrwx 1 root root 2.2G 2009-04-01 12:55 solaris_s10u7b8_dvd.iso
> -rw-r--r-- 1 root root    6 2009-04-24 10:56 x
> r...@sunjnorth:~/iso# du -sh .
> 11G    .
> r...@sunjnorth:~/iso# df -h .
> Filesystem            Size  Used Avail Use% Mounted on
> rpool/ROOT/opensolaris-2
>                      27G   23G  3.6G  87% /
> r...@sunjnorth:~/iso# df -k .
> Filesystem           1K-blocks      Used Available Use% Mounted on
> rpool/ROOT/opensolaris-2
>                     27784286  24060304   3723982  87% /
> r...@sunjnorth:~/iso# rm solaris_s10u7b8_dvd.iso
> r...@sunjnorth:~/iso# du -sh .
> 8.4G    .
> r...@sunjnorth:~/iso# df -h .
> Filesystem            Size  Used Avail Use% Mounted on
> rpool/ROOT/opensolaris-2
>                      27G   23G  3.6G  87% /
> r...@sunjnorth:~/iso# df -k .
> Filesystem           1K-blocks      Used Available Use% Mounted on
> rpool/ROOT/opensolaris-2
>                     27784279  24060304   3723975  87% /
> r...@sunjnorth:~/iso# ls -lh
> total 8.4G
> -rwxrwxrwx 1 root root 656M 2009-03-13 10:11 osol-0906-109-x86.iso
> -rwxrwxrwx 1 root root 2.6G 2009-02-04 13:51 solaris74L2advd.iso
> -rwxrwxrwx 1 root root 3.1G 2009-03-25 13:12 solaris_nv111_dvd.iso.gz
> -rwxrwxrwx 1 root root 2.2G 2009-03-18 12:39 solaris_s10u7b7_dvd.iso
> -rw-r--r-- 1 root root    6 2009-04-24 10:56 x
>
>
> r...@sunjnorth:~/iso# cat /etc/release
>                     _   OpenSolaris 2009.06 snv_109 X86
>          Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
>                       Use is subject to license terms.
>                            Assembled 05 March 2009
> _______________________________________________
> opensolaris-discuss mailing list
> [email protected]
>
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to