From: sol beach <sol.beach_at_gmail.com>
Date: Fri, 12 Sep 2008 15:15:54 -0700
Message-ID: <40a16b360809121515v3fb22f5br21810145c4283f91@mail.gmail.com>

It appears to me that OCFS2 has a "space leak" The amount of disk in use reported by du -sh does not agree with df -h I see the same on 3 different systems.
Does anyone else see the same?
On other file systems (ext3,etc.) I have not seen such discrepancies.

[root_at_rac01 u01]# du -sh /u01 /u03 /u04 /u05 /u06
8.5G    /u01
27G     /u03
184G    /u04
28G     /u05
16K     /u06
[root_at_rac01 u01]# df -h
Filesystem            Size  Used Avail Use% Mounted on

/dev/cciss/c0d0p5 22G 2.6G 18G 13% /
/dev/cciss/c0d0p1 99M 18M 76M 19% /boot
none 16G 0 16G 0% /dev/shm
/dev/cciss/c0d0p3 22G 153M 20G 1% /var
/dev/sda1 547G 187G 361G 35% /u04
/dev/sdj1 136G 29G 108G 21% /u03
/dev/sdc1 18G 16G 2.5G 87% /u01
/dev/sdd1 119G 30G 90G 25% /u05
/dev/sde1 137G 1.1G 136G 1% /u06
[root_at_amo01dn ~]# du -sh /u01 /u02 /u03 /u04 /u05 /u06 df -h
4.8G    /u01
870M    /u02
68G     /u03
55G     /u04
69G     /u05
37G     /u06
[root_at_amo01dn ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on

/dev/cciss/c0d0p3 7.7G 3.6G 3.8G 49% /
/dev/cciss/c0d0p1 99M 18M 77M 19% /boot
none 7.9G 0 7.9G 0% /dev/shm
/dev/cciss/c0d0p5 18G 4.4G 13G 26% /var
/dev/sda1 9.8G 6.0G 3.9G 61% /u01/orasys/orcl
/dev/sda2 9.8G 1.2G 8.7G 12% /u02/oraredo/orcl
/dev/sda3 118G 69G 49G 59% /u03/oraflash/orcl
/dev/sdb1 547G 56G 492G 11% /u04/oradbf/orcl
/dev/sdc1 137G 70G 68G 51% /u05/orasupp/orcl
/dev/sdd1 137G 38G 99G 28% /u06/oraback/orcl

[root_at_amo1sd ~]# du -sh /u01 /u02 /u03 /u04 /u05 /u06

3.4G    /u01
1.1G    /u02
98G     /u03
105G    /u04
123G    /u05

du: cannot access `/u06': No such file or directory [root_at_amo1sd ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on

/dev/cciss/c0d0p3 7.8G 3.2G 4.3G 43% /
/dev/cciss/c0d0p1 99M 15M 80M 16% /boot
none 6.8G 0 6.8G 0% /dev/shm
/dev/cciss/c0d0p5 10G 152M 9.3G 2% /var
/dev/cciss/c1d0p1 9.8G 8.9G 889M 92% /u01/orasys/orcl
/dev/cciss/c1d0p2 9.8G 1.4G 8.5G 14% /u02/oraredo/orcl
/dev/cciss/c1d0p3 118G 100G 19G 85% /u03/oraflash/orcl
/dev/cciss/c1d1p1 684G 106G 579G 16% /u04/oradbf/orcl
/dev/cciss/c1d2p1 137G 124G 13G 91% /u05/orasupp/orcl
-- http://www.freelists.org/webpage/oracle-l
Received on Fri Sep 12 2008 - 17:15:54 CDT

Original text of this message