有删除,都是在RMAN脚本中删除的;RMAN脚本如下
run
{
allocate channel ch1 type disk maxpiecesize =2G;
allocate channel ch2 type disk maxpiecesize =2G;
allocate channel ch3 type disk maxpiecesize =2G;
backup
incremental level=0
database filesperset 10 format '/u03/backup/%d_DF_%T_%s_%p.bak';
#backup spfile format '/data/bak/%d_SPFILE_%T_%s_%p.bak';
sql "alter system archive log current";
backup archivelog all format '/u03/backup/%d_ARC_%T_%s_%p.bak' delete all input;
backup current controlfile format '/u03/backup/%d_CTL_%T_%s_%p.bak';
release channel ch1;
release channel ch2;
release channel ch3;
}
脚本中的这一句应该在把归档日志备份之后就会删除吧
backup archivelog all format '/u03/backup/%d_ARC_%T_%s_%p.bak' delete all input;
原来归档日志的路径如下
SQL> show parameter archive
log_archive_dest_1
string
location=/u04/db/arch
刚才测试了,虽然df -i显示/u04节点数已满,但归档日志仍然可以正常写入/U04
看来跟DongweiWang 说的一样
@ OCFS does not have the concept of inodes, however, for the vfs layer in the
@ kernel we need to fill out structures. the number returned by df -i is
@ based on diskspace free. it's the number of clusterblocsk in the filesystem
@ we dont' preallocate inodes like most filesystems do. nor do we HAVE to do
@ that. not a bug, expected behaviour, not required to do what any other
@ filesystem does.