LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-19-2011, 11:22 AM   #1
masterofpudge
LQ Newbie
 
Registered: Jul 2011
Posts: 8

Rep: Reputation: Disabled
Question Linux Redhat Cluster NFS Mounting


I'm trying to build cluster computer system using redhat linux enterprise 5.5. And I'm on the step to set up the NFS mounting. (step 3 of part VI on this paper: http://www.cs.uiowa.edu/~jni/HowTo/H...dAClusterG.pdf)

However, I kept getting "permission denied" when I used the command "mount -t" to mount the slave node onto the hard drive of the master node. Even when I edited /etc/fstab file to make it automatically set up during booting, I still receive the same result. By the way, I've already logged in as a root user on both slave and master nodes.
 
Old 07-19-2011, 03:02 PM   #2
rmnelson
LQ Newbie
 
Registered: Dec 2008
Distribution: RHEL, Fedora, Solaris, Ubuntu, Windows Server
Posts: 2

Rep: Reputation: 0
I'll first say that when running a clustered environment, I wouldn't recommend having one of the essential components of a service, in this case the NFS mount point, be located on one of the nodes within the cluster. Instead, have a NAS or SAN to handle this aspect. But looking at the guide you're following, I'll go ahead and guess that this is just for research in general. That being said, if you're getting a permission denied error when trying to mount the NFS share, then it means exactly that...you don't have proper permissions. Here's what you can check:

1. /etc/hosts (make sure the entries in here match up to what the IP address and hostname for the machines actually are)
2. Check /etc/exports to make sure that you haven't denied access due to the ipaddress restriction. To make sure it's working, you can just replace the IP address with a "*" to allow all users momentarily. Restart the NFS service afterwards to pick up the changes. (you can also 'exportfs' instead of restarting NFS, but whatever...)
2. Run the following command to determine if you have your firewall setting up (you may be blocking NFS traffic. Remember that with NFS3 mounts, there are more ports that need to be allowed to go through. NFS4 simplified this part:

# iptables -L (this will list out your current rules in place)

To test if it's your firewall blocking traffic, temporarily flush them:

# iptables -F

Now try mounting the NFS share again (this is for NFS3):

# mount -t nfs xxx.xxx.xxx.xxx:/export /mnt

Obviously change the "/export" to the actual exported directory from the NFS server. If none of this seems to get you further, provide the following:

/etc/exports
/etc/hosts
# ifconfig
# iptables -L
 
  


Reply



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
Need to install redhat linux os on cluster node via remotely or nfs john22 Linux - Newbie 2 03-27-2011 09:21 PM
How to mount NFS/local partitions on RedHat cluster depending on node type? Myroslav Linux - Enterprise 0 01-05-2010 12:12 PM
RedHat Cluster Suite and NFS resource agent scamjunk Red Hat 1 03-15-2009 10:45 PM
Redhat Cluster Suite on CentOS 5.2 - NFS Service Problem nepenthes9 Linux - Enterprise 2 09-15-2008 01:15 AM
RedHat Cluster with NFS? your_shadow03 Linux - Newbie 1 08-07-2008 05:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:01 AM.

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
Open Source Consulting | Domain Registration