Linux RAC OCFS文件系统与INODES

ITPUB上有这样一个案例,在一套Linux的RAC环境中,一个OCFS卷的inode节点已经用完,但是数据库仍然能够正常运行。
文件可以正常创建,该系统的几本情况大致如下:
OS:LINUXAS3 U3
ORACLE:ORACLE9204 RAC
以下为具体显示,/U04仅仅存放两节点产生的归档日志
[root@db1 /]# cat /etc/issue
Red Hat Enterprise Linux AS release 3 (Taroon Update 3)

[root@db1/]# rpm -qa |grep ocfs
ocfs-support-1.0.10-1
ocfs-tools-1.0.10-1
ocfs-2.4.21-EL-smp-1.0.13-1

[root@db1 /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/emcpowerd1 50G 44M 50G 1% /u04

[root@db1 /]# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/emcpowerd1 409580 409231 349 100% /u04

最后作者从Metalink上找到了解释,也就是说OCFS和通常的文件系统不同,inodes在这里并不发挥通常文件系统的作用。
这是OCFS的特性,是正常的。

引用一点解释记录如下:
@ 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.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/110321/viewspace-610917/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/110321/viewspace-610917/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值