Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Apr 2005 23:37:06 -0400
From:      Understudy <list@understudy.net>
To:        freebsd-cluster@freebsd.org
Subject:   Permission denied on shares
Message-ID:  <42574DE2.8080108@understudy.net>

next in thread | raw e-mail | index | archive | help
Hi,
I have FreeBSD 5.3 trying to test mounting shares manually.

Okay I have my NFS server and four clients.
My problem is I am trying to mount my server nfs shares.
one# mount Beowulf:/usr/home /mnt
[udp] Beowulf:/usr/home: Permission denied

Here is the deal Beowulf is the master.
the rc.conf
# -- sysinstall generated deltas -- # Tue Mar  8 17:21:26 2005
# Created: Tue Mar  8 17:21:26 2005
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
gateway_enable="YES"
hostname="Beowulf.bjh.homenet"
ifconfig_xl0="DHCP"
ifconfig_fxp0="inet 192.168.0.10 netmask 255.255.255.0"
linux_enable="YES"
moused_enable="YES"
nfs_client_enable="YES"
nfs_server_enable="YES"
rpcbind_enable="YES"
mountd_flags="-r"
saver="logo"
sshd_enable="YES"
usbd_enable="YES"
dhcpd_enable="YES"                          # dhcpd e nabled?
dhcpd_flags="-q"                            # command  option(s)
dhcpd_conf="/usr/local/etc/dhcpd.conf"      # configu ration file
dhcpd_ifaces="fxp0"                             # etherne t interface(s)
dhcpd_withumask="022"                       # file cr eation mask
# ntp time sync
ntpdate_enable="YES"
ntpdate_program="ntpdate"
ntpdate_flags="-bs ntp.demon.nl ntp.demon.co.uk"
xntpd_enable="YES"
xntpd_program="ntpd"
#endof file

The /etc/hosts:
# $FreeBSD: src/etc/hosts,v 1.16 2003/01/28 21:29:23 dbaker Exp $
#
# Host Database
#
# This file should contain the addresses and aliases for local hosts that
# share this file.  Replace 'my.domain' below with the domainname of your
# machine.
#
# In the presence of the domain name service or NIS, this file may
# not be consulted at all; see /etc/nsswitch.conf for the resolution order.
#
#
::1                     localhost localhost.my.domain
127.0.0.1               localhost Beowulf.bjh.homenet
#
# Imaginary network.
#10.0.0.2               myname.my.domain myname
#10.0.0.3               myfriend.my.domain myfriend
#
# According to RFC 1918, you can use the following IP networks for
# private nets which will never be connected to the Internet:
#
#       10.0.0.0        -   10.255.255.255
#       172.16.0.0      -   172.31.255.255
#       192.168.0.0     -   192.168.255.255
#
# In case you want to be able to connect to the Internet, you need
# real official assigned numbers.  Do not try to invent your own network
# numbers but instead get one from your network provider (if any) or
# from your regional registry (ARIN, APNIC, LACNIC, RIPE NCC, or AfriNIC.)
#
192.168.0.150            one one.node.cluster
192.168.0.149            two two.node.cluster
192.168.0.148            three three.node.cluster
192.168.0.147            four four.node.cluster
192.168.0.146            five five.node.cluster
#endoffile

The /etc/exports:
#The following examples export /usr to 3 machines named after ducks,
#/usr/src and /usr/ports read-only to machines named after trouble makers
#/home and all directories under it to machines named after dead rock stars
#and, /a to a network of privileged machines allowed to write on it as root.
#/usr                   huey louie dewie
#/usr/src /usr/obj -ro  calvin hobbes
#/home   -alldirs       janice jimmy frank
#/a      -maproot=0  -network 10.0.1.0 -mask 255.255.248.0
#
# You should replace these lines with your actual exported filesystems.
# Note that BSDs export synatx is host-centric vs. Suns "FS-centric" one.
/usr /usr/home /usr/local/lam_mpi /usr/src /usr/obj    one two three 
four five
/var    one two three four five
/cdrom  one two three four five
#endoffile

The clients have /etc/rc.conf:
# -- sysinstall generated deltas -- # Sat Apr  2 07:50:38 2005
# Created: Sat Apr  2 07:50:38 2005
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
hostname="one.node.cluster"
ifconfig_fxp0="192.168.0.150"
nfs_client_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
#endoffile

How do I get them to mount manually?

Sincerely,
Brendhan


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42574DE2.8080108>