近来 有 DEV 服务器,空间不足,不能启动了,实际数据量不大,不想再增加硬盘空间,想办法删掉一些无用数据使其能跑起来。
1。删除 /oracle/DEV/sapbackup 目录下的文件。
2. 删除 /oracle/DEV/oraarch 目录下的归档日志文件,只保留的期的数个.
hs-dev:oradev 6> df -g
Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 1.00 0.88 13% 2148 2% /
/dev/hd2 4.00 2.95 27% 33695 5% /usr
/dev/hd9var 1.00 0.97 3% 764 1% /var
/dev/hd3 4.00 4.00 1% 81 1% /tmp
/dev/fwdump 0.12 0.12 1% 4 1% /var/adm/ras/platform
/dev/hd1 0.50 0.50 1% 50 1% /home
/proc - - - - - /proc
/dev/hd10opt 0.12 0.08 33% 1054 6% /opt
/dev/sapinst 30.00 11.99 61% 4554 1% /sapinst
/dev/sapmnt 3.00 1.30 57% 135841 32% /sapmnt
/dev/sapexe 6.00 2.75 55% 12860 2% /usr/sap
/dev/oracle 14.50 8.36 43% 11166 1% /oracle
/dev/sapdata 561.50 0.00 100% 14054 98% /oracle/DEV
/dev/oraexe 4.50 0.55 88% 20260 14% /oracle/DEV/102_64
先增加了一点空间了 dev 能跑起来
# chfs -a size=+10000000 /oracle/DEV
# df -g
Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 1.00 0.88 13% 2148 2% /
/dev/hd2 4.00 2.95 27% 33695 5% /usr
/dev/hd9var 1.00 0.97 3% 764 1% /var
/dev/hd3 4.00 4.00 1% 81 1% /tmp
/dev/fwdump 0.12 0.12 1% 4 1% /var/adm/ras/platform
/dev/hd1 0.50 0.50 1% 50 1% /home
/proc - - - - - /proc
/dev/hd10opt 0.12 0.08 33% 1054 6% /opt
/dev/sapinst 30.00 11.99 61% 4554 1% /sapinst
/dev/sapmnt 3.00 1.30 57% 135841 32% /sapmnt
/dev/sapexe 6.00 2.75 55% 12860 2% /usr/sap
/dev/oracle 14.50 8.36 43% 11166 1% /oracle
/dev/sapdata 566.50 5.00 100% 14054 2% /oracle/DEV
/dev/oraexe 4.50 0.55 88% 20260 14% /oracle/DEV/102_64
删除了 oraarch 和 sapbackup 目录下的无用数据后
# df -g
Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 1.00 0.88 13% 2148 2% /
/dev/hd2 4.00 2.95 27% 33695 5% /usr
/dev/hd9var 1.00 0.97 3% 764 1% /var
/dev/hd3 4.00 4.00 1% 82 1% /tmp
/dev/fwdump 0.12 0.12 1% 4 1% /var/adm/ras/platform
/dev/hd1 0.50 0.50 1% 51 1% /home
/proc - - - - - /proc
/dev/hd10opt 0.12 0.08 33% 1054 6% /opt
/dev/sapinst 30.00 11.99 61% 4554 1% /sapinst
/dev/sapmnt 3.00 1.30 57% 135879 32% /sapmnt
/dev/sapexe 6.00 2.77 54% 12864 2% /usr/sap
/dev/oracle 14.50 8.36 43% 11166 1% /oracle
/dev/sapdata 566.50 360.85 37% 5376 1% /oracle/DEV
/dev/oraexe 4.50 0.55 88% 20267 14% /oracle/DEV/102_64