用图形界面配置试试,你vi的文件内容正确吗?
Run the ocfstool tool as root to generate the /etc/ocfs.conf file:
su - root
ocfstool
- Select "Task" - Select "Generate Config"
- Select the interconnect interface (private network interface), e.g. rac1prv
- Confirm the values displayed and exit
The generated /etc/ocfs.conf file will appear similar to the following example:
$ cat /etc/ocfs.conf
#
# ocfs config
# Ensure this file exists in /etc#
node_name = rac1prv
node_number =
ip_address = 92.168.1.1
ip_port = 7000
guid = 167045A6AD4E9EAB33620010B5C05E7F
To load the ocfs.o kernel module, run:
su - root
# /sbin/load_ocfs