LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Please help me reg this error while building a 3-node cluster (https://www.linuxquestions.org/questions/linux-newbie-8/please-help-me-reg-this-error-while-building-a-3-node-cluster-780275/)

srinivasasathi 01-06-2010 09:14 AM

Please help me reg this error while building a 3-node cluster
 
Hi ,

I'm building a 3-node cluster. I have created ocfs filesystems and mounted them on the first two nodes. But while mounting them on the third node , i'm getting this error for 8 of the total luns. all these 8 luns are of 1GB size.

I've unmounted these 8 luns from the other node and tried to mount in the third node ... and then it was working and again the error occurs in the second node. My observation was for some reason these particular luns are not allowing the third node.


mount.ocfs2: Invalid argument while mounting /dev/mapper/voting1 on /voting1. Check 'dmesg' for more information on this error.


dmesg output was :


ocfs2_dlm: Nodes in domain ("288992F57BAF41309E3CDA36A46CBDBC"): 0 1 2
(32182,0):ocfs2_find_slot:243 ERROR: no free slots available!
(32182,0):ocfs2_mount_volume:1451 ERROR: status = -22
ocfs2: Unmounting device (253,31) on (node 2)



i'm using RHEL 5.4


Please help me if any knows about this error.

Thanks in advance.

cardy 01-06-2010 01:28 PM

The problem may be in how you have formatted the ocfs file system.

When you format an ocfs2 file system you can specify the maximum number of node slots. This limits the maximum number of nodes that can mount the filesystem.

This extract is from the manual page for mkfs.ocfs2 which is used to format the ocfs2 file systems.

Quote:

-N number-of-node-slots
Valid number ranges from 1 to 255. This number specifies the maximum number of nodes that can concurrently
mount the partition. If omitted, the number defaults to 4. This number can be later increased using
tunefs.ocfs2.
As stated you can use tunefs.ocfs2 to increase the number of slots available on the file system assuming this is the cause of your problem.

Before running the command you will need to ensure the file system is unmounted on all nodes.
You only need to run the tune2fs command on one of the nodes.

tunefs.ocfs2 -N 3 /dev/mapper/voting1

Would increase the number of node slots to 3 on /dev/mapper/voting1

srinivasasathi 01-07-2010 09:01 AM

that really worked .... ;) thankyou very much for ur help ....


All times are GMT -5. The time now is 02:43 PM.