Mailinglist Archive: opensuse (1196 mails)

< Previous Next >
Re: [opensuse] Installing NFS -- revisited
  • From: Joseph Loo <joseph.loo@xxxxxxxxxxxxxx>
  • Date: Sat, 16 Jan 2010 05:36:52 -0800
  • Message-id: <4B51C0F4.3090209@xxxxxxx>
Stan Goodman wrote:
I have been trying to install NFS so as to permit file transfer between my
desktop and notebook machines, both of which run v11.1, but have not been
successful. The content of the relevant files in both machines look to me
to be as they should, but no transfer takes place. Results are the same
when I make a client on the server machine.

The short explanation of why this is is that the Remote Share object in
the client machine is unmounted, and it is not possible to mount it,
because attempt to do so gets an error message saying "Permissions
denied". I do not know what permissions are causing this. I hope someone
can see what the barrier is.

server IP is:192.168.1.4 poblano
client IP is: 192.168.1.5 chipotle

In YaST in both machines, I have set the firewall to open ports.

In the server machine:

/etc/exports is:
/home 192.168.1.0/24(rw,root_squash,sync,subtree_check,nohide)

# showmount -e
Export list for server:
/home 192.168.1.0/24

# mount | grep nfs
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)


In the client machine:

fstab contains:
poblano:/home /nfs/poblano/home nfs
rw,nosuid,rsize=8192,wsize=8192 0 0

hosts contains:
192.168.1.4 poblano.hashkedim poblano

The Konqueror file manager shows in its Disk Information column:
Remote Share (poblano"/home nfs

Clicking on the link brings up an empty Konqueror screen
with "media:/home" in the Location field.

Clicking MB2 on the link pops up a menu offering the option "Mount",
showing that it is unmounted.

Choosing "Open in New Window" shows the error message "Permissions
denied".

Choosing "Properties" shows in the General tab "Remote Share
(poblano:/home), and Type "Unmounted NFS Share".

To me, everything looks to be in order, but the share doesn't mount, and I
don't know why.


try using something like this in your /etc/exports file if you have a
later version of opensuse say 11.0 or later. I think the critical item
is fsid=0. You will need to restart your nfs dameon once you do the
modification.

/export *(fsid=0,rw,root_squash,sync,no_subtree_check)
/export/home0 *(rw,root_squash,sync,no_subtree_check)


--

Joseph Loo
jloo@xxxxxxx

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References