GFS測試,無法mount問題
按照cu里的貼子http://linux.chinaunix.net/bbs/viewthread.php?tid=838249,測試redhat as4+ gfs,到最後一步
mount的時候報錯,在此請教各位高手幫忙指點指點:
我的環境:redahat as 4 ×2 nodes,內核升級到2.6.9-42.0.3.EL, gfs6.1+rhcs4
錯誤信息:
# gfs_mkfs -p lock_dlm -t alpha_cluster:gfs -j 2 /dev/gnbd/gfs
This will destroy any data on /dev/gnbd/gfs.
It appears to contain a GFS filesystem.
Are you sure you want to proceed? y
Device: /dev/gnbd/gfs
Blocksize: 4096
Filesystem Size: 185428
Journals: 2
Resource Groups: 8
Locking Protocol: lock_dlm
Lock Table: alpha_cluster:gfs
Syncing...
All Done
#mount -t gfs /dev/gnbd/gfs /gfstest/
mount: permission denied
cluster.conf內容如下:
<?xml version="1.0"?>
<cluster config_version="2" name="alpha_cluster">
<fence_daemon post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="gfs-node1" votes="1">
<fence>
<method name="1"/>
</fence>
</clusternode>
<clusternode name="gfs-node2" votes="1">
<fence>
<method name="1"/>
</fence>
</clusternode>
</clusternodes>
<cman expected_votes="1" two_node="1"/>
<fencedevices>
<fencedevice agent="fence_manual" name="F-Man"/>
</fencedevices>
<rm>
<failoverdomains>
<failoverdomain name="rac_failover" ordered="1" restricted="1">
<failoverdomainnode name="gfs-node2" priority="1"/>
<failoverdomainnode name="gfs-node1" priority="1"/>
</failoverdomain>
</failoverdomains>
<resources/>
</rm>
</cluster>
cman_tool 狀態信息如下:
# cman_tool status
Protocol version: 5.0.1
Config version: 2
Cluster name: alpha_cluster
Cluster ID: 50356
Cluster Member: Yes
Membership state: Cluster-Member
Nodes: 2
Expected_votes: 1
Total_votes: 2
Quorum: 1
Active subsystems: 3
Node name: gfs-node1
Node ID: 2
Node addresses: 192.168.1.11
cluster信息如下:
# cat /proc/cluster/status
Protocol version: 5.0.1
Config version: 2
Cluster name: alpha_cluster
Cluster ID: 50356
Cluster Member: Yes
Membership state: Cluster-Member
Nodes: 2
Expected_votes: 1
Total_votes: 2
Quorum: 1
Active subsystems: 3
Node name: gfs-node1
Node ID: 2
Node addresses: 192.168.1.11
謝謝哪位大俠出手相助啊~^_^3ks
《解決方案》
暈哦,怎麼沒有大俠幫忙啊!:em02:
《解決方案》
是不是因為你當時寫的是只允-j 2 .....改為10試試