Re: [opensuse] Installing NFS -- revisited



At 15:36:52 on Saturday Saturday 16 January 2010, Joseph Loo
<joseph.loo@xxxxxxxxxxxxxx> wrote:
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)

What I am using is later than v11.0, as I wrote at the top. Are you saying
to add these two lines to the single line that is already present?

--
Stan Goodman
Qiryat Tiv'on
Israel
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: question on NFS mount changing user/group
    ... The directory you are mounting over is called the mount point. ... permissions from the file system on the NFS server. ... This e-mail communication and any attachments may ...
    (AIX-L)
  • Re: Access to hard drives over a network
    ... you mount the remote filesystem ... using either the mount command or the /etc/fstab table. ... With SMB you get the client daemon, with NFS you don't, and everything is ...
    (rec.audio.pro)
  • Re: [opensuse] Installing NFS -- revisited
    ... The content of the relevant files in both machines look to me ... the client machine is unmounted, and it is not possible to mount it, ... I do not know what permissions are causing this. ... Remote Share (poblano"/home nfs ...
    (SuSE)
  • Re: [PATCH v2 resend] vfs: new O_NODE open flag
    ... Similar for NFS as NFS will acquire a handle to the file. ... only permissions on the parent. ... I think you are being paranoid here. ... path leading up the mountpoint, he might as well pin that mount. ...
    (Linux-Kernel)
  • [opensuse] Installing NFS -- revisited
    ... I have been trying to install NFS so as to permit file transfer between my ... the client machine is unmounted, and it is not possible to mount it, ... I do not know what permissions are causing this. ...
    (SuSE)