LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-06-2010, 09:14 AM   #1
srinivasasathi
LQ Newbie
 
Registered: Aug 2009
Posts: 5

Rep: Reputation: 0
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)cfs2_find_slot:243 ERROR: no free slots available!
(32182,0)cfs2_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.
 
Old 01-06-2010, 01:28 PM   #2
cardy
Member
 
Registered: Jan 2005
Location: Shropshire, England, UK
Distribution: RedHat, Fedora, CentOS..........
Posts: 121

Rep: Reputation: 19
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
 
1 members found this post helpful.
Old 01-07-2010, 09:01 AM   #3
srinivasasathi
LQ Newbie
 
Registered: Aug 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Thumbs up

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mysqld node of mysql cluster system not connecting to management node coal-fire-ice Linux - Server 1 07-27-2015 08:33 AM
Piranha with 2 node cluster fosiul Red Hat 15 10-07-2009 10:32 AM
Cluster node not booting up madnanansari Linux - Newbie 1 09-17-2008 08:03 PM
cannot ping cluster node...pxe-error..help dogma Linux - Newbie 2 09-13-2006 11:34 AM
cant ping a node in a cluster.. dogma Linux - Networking 3 05-21-2003 11:06 PM


All times are GMT -5. The time now is 09:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration