- 论坛徽章:
- 0
|
oracle9i数据库删除归档日志, 发现空间大小仍然没有变大, 用du统计/oracle目录也就30G左右,
但用df -h该空间已用了140G, 也就是说出现了删除文件后空间并没有被解释放出来问题.
点击清空垃圾箱空间大小仍然没被释放. 请教怎么办?
$ cd /oracle
bash-2.05$ ls
OraHome1 doc lost+found oradata
admin jre oraInventory oui
bash-2.05$ du -sk *
3269940 OraHome1
1256604 admin
10724 doc
54010 jre
8 lost+found
5491 oraInventory
23821754 oradata
24023 oui
bash-2.05$
# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 9.6G 4.0G 5.5G 43% /
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
fd 0K 0K 0K 0% /dev/fd
swap 8.3G 48K 8.3G 1% /var/run
swap 8.3G 1.8M 8.3G 1% /tmp
/dev/dsk/c3t20030003BA13F193d4s6
148G 140G 5.9G 96% /oracle
/dev/dsk/c1t0d0s4 7.7G 191M 7.4G 3% /opt
/dev/dsk/c1t0d0s5 38G 12G 26G 32% /oraclebackup
/dev/dsk/c1t0d0s7 3.8G 161K 3.7G 1% /export/home
# df -o i
df: operation not applicable for FSType autofs
df: operation not applicable for FSType fd
df: operation not applicable for FSType mntfs
df: operation not applicable for FSType nfs
df: operation not applicable for FSType proc
df: operation not applicable for FSType tmpfs
Filesystem iused ifree %iused Mounted on
/dev/dsk/c1t0d0s0 125196 1090036 10% /
/dev/dsk/c3t20030003BA13F193d4s6
71997 18626499 0% /oracle
/dev/dsk/c1t0d0s4 7416 967176 1% /opt
/dev/dsk/c1t0d0s5 61752 4787144 1% /oraclebackup
/dev/dsk/c1t0d0s7 80 475184 0% /export/home
$ du -sk *
369982 0000
1097099 333
0 Mail
101 TT_DB
1 bin
2 cdrom
616 core
10360 data
1607 dev
46 devices
9332 etc
154 export
0 home
33250 kernel
1 lib
0 lost+found
1 mnt
0 net
0 nsmail
156750 opt
28442555 oracle
12721800 oraclebackup
35280 platform
691005246 proc
17797 sbin
664 tmp
2043127 usr
338670 var
0 vol
0 xfn
235168 zfxfzb.dmp
# prtvtoc /dev/dsk/c3t20030003BA13F193d4s6
* /dev/dsk/c3t20030003BA13F193d4s6 partition map
*
* Dimensions:
* 512 bytes/sector
* 128 sectors/track
* 48 tracks/cylinder
* 6144 sectors/cylinder
* 51202 cylinders
* 51200 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
2 5 01 0 314572800 314572799
6 4 00 0 314572800 314572799 /oracle
r |
|