[Bug 802770] [NEW] can't use ocfs2 with cman clustering

charles 802770 at bugs.launchpad.net
Mon Jun 27 23:11:24 UTC 2011


Public bug reported:

operating system: linux ubuntu server 11.04 64-bit kernetl
2.6.38-8-server

relevant installed packages:
1. ocfs2-tools 1.6.3-1ubuntu2
2. ocfs2-tools-cman 1.6.3-1ubuntu2
3. cman 3.0.12-2ubuntu3

i've configure ocfs2 cluster and cman cluster service in a 2 node setup

cman runs and both nodes communicate
if o2cd service is not running ocfs2 service will not start.

Starting Oracle Cluster File System (OCFS2) mount.ocfs2: Unable to access 
cluster service while trying initialize cluster
Failed

i need to use cman for fcntl locks that oc2b does not provide

config file: /etc/ocfs2/cluster.conf
cluster:
        node_count = 2
        name = smbhaclus

node:
        ip_port = 7901
        ip_address = 10.0.0.23
        number = 7
        name = sambaha.n1
        cluster = smbhaclus

node:
        ip_port = 7901
        ip_address = 10.0.0.24
        number = 87
        name = sambaha.n2
        cluster = smbhaclus

the config file shouldn't be a problem as the cluster will function if
o2cb is started.

have tried to update stack using tunefs.ocfs2 --update-cluster-stack DEVICE 
no success

creating a new ocfs2 file system is also unsuccessful

further information:

mkfs.ocfs2 approach yields a formatted fs still using o2cb stack:  
sudo mkfs.ocfs2 -F -b 4KB -N 3 -T mail --fs-feature-level=max-features  
/dev/drbd1
mkfs.ocfs2 1.6.3
Cluster stack: classic o2cb
Filesystem Type of mail
Label: ocfs2smbha

sudo service o2cb status

Driver for "configfs": Loaded
Filesystem "configfs": Mounted
Driver for "ocfs2_dlmfs": Not loaded
Checking O2CB cluster ocfs2: Offline

---

sudo cman_tool status                                                
Version: 6.2.0
Config Version: 2
Cluster Name: smbhaclus
Cluster Id: 56117
Cluster Member: Yes
Cluster Generation: 48
Membership state: Cluster-Member
Nodes: 2
Expected votes: 1
Total votes: 2
Node votes: 1
Quorum: 1
Active subsystems: 7
Flags: 2node
Ports Bound: 0
Node name: sambaha.n1
Node ID: 1
Multicast addresses: 239.192.219.17
Node addresses: 10.0.0.23

** Affects: ocfs2-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ocfs2-tools in Ubuntu.
https://bugs.launchpad.net/bugs/802770

Title:
  can't use ocfs2 with cman clustering

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocfs2-tools/+bug/802770/+subscriptions



More information about the Ubuntu-server-bugs mailing list