[opensuse] Installing NFS -- revisited
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. -- Stan Goodman Qiryat Tiv'on Israel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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@acm.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
At 15:36:52 on Saturday Saturday 16 January 2010, Joseph Loo
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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2010-01-16 at 15:26 +0200, 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.
Use "rcnfsserver start" in the server, and "rcnfs start" in the client, and show output here. If it fails, show log output lines when you issue those commands. I assume you used YaST to configure nfs both on server and client. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAktRwkcACgkQtTMYHG2NR9UkqQCfRRlA/ShzwgPb9SmwGtJYE5IS QlkAn0F2azp5YQZktBHnOmsIM3cZdxEO =/Q+v -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
At 15:42:29 on Saturday Saturday 16 January 2010, "Carlos E. R."
On Saturday, 2010-01-16 at 15:26 +0200, 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.
Use "rcnfsserver start" in the server, and "rcnfs start" in the client, and show output here. If it fails, show log output lines when you issue those commands.
I assume you used YaST to configure nfs both on server and client.
I configured manually in the relevant files, but I have reviewed the YAST screens more than one, and they reflect what I wrote. In the server: # rcnfsserver start Starting kernel based NFS server: idmapd mountd statd nfsd sm-notify done # In the client: # rcnfs start Starting NFS client services: sm-notify # The client share remains unmounted. -- Stan Goodman Qiryat Tiv'on Israel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Content-ID:
Use "rcnfsserver start" in the server, and "rcnfs start" in the client, and show output here. If it fails, show log output lines when you issue those commands.
I assume you used YaST to configure nfs both on server and client.
I configured manually in the relevant files, but I have reviewed the YAST screens more than one, and they reflect what I wrote.
I prefer using YaST the first time. It ensures that the options are correct, and opens the firewall correctly (which is more tricky than it seems). Later, when it works, all changes I do manually.
In the server: # rcnfsserver start Starting kernel based NFS server: idmapd mountd statd nfsd sm-notify done #
In the client: # rcnfs start Starting NFS client services: sm-notify #
The client share remains unmounted.
Logs? Output of "mount /nfs/poblano/home"? - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAktRzCwACgkQtTMYHG2NR9VSCgCfbZheP33dv29wuoRZQpNz0iZR 8W8An3NB56dUwy8cfT2JQakCzZsh9Viv =HvNZ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
At 16:24:38 on Saturday Saturday 16 January 2010, "Carlos E. R."
Content-ID:
On Saturday, 2010-01-16 at 15:54 +0200, Stan Goodman wrote:
Use "rcnfsserver start" in the server, and "rcnfs start" in the client, and show output here. If it fails, show log output lines when you issue those commands.
I assume you used YaST to configure nfs both on server and client.
I configured manually in the relevant files, but I have reviewed the YAST screens more than one, and they reflect what I wrote.
I prefer using YaST the first time. It ensures that the options are correct, and opens the firewall correctly (which is more tricky than it seems). Later, when it works, all changes I do manually.
In the server: # rcnfsserver start Starting kernel based NFS server: idmapd mountd statd nfsd sm-notify done #
In the client: # rcnfs start Starting NFS client services: sm-notify #
The client share remains unmounted.
Logs?
What file(s)?
Output of "mount /nfs/poblano/home"?
# mount /nfs/poblano/home mount.nfs: mount system call failed # -- Stan Goodman Qiryat Tiv'on Israel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2010-01-16 at 16:51 +0200, Stan Goodman wrote:
Logs?
What file(s)?
Any that contain useful data >:-) Starts with messages, as always.
Output of "mount /nfs/poblano/home"?
# mount /nfs/poblano/home mount.nfs: mount system call failed #
Check the log. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAktSAwIACgkQtTMYHG2NR9V5JQCfXO3Zte5u3uh2Jm+mophctBnr tl4AnjOAF+DzMeozlYRdKUcXV3ZMqw/e =kwTX -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
At 20:18:36 on Saturday Saturday 16 January 2010, "Carlos E. R."
On Saturday, 2010-01-16 at 16:51 +0200, Stan Goodman wrote:
Logs?
What file(s)?
Any that contain useful data >:-)
What I really meant to write is that I don't know what logs to examine.
Starts with messages, as always.
Output of "mount /nfs/poblano/home"?
# mount /nfs/poblano/home mount.nfs: mount system call failed #
Check the log.
Again, what log?
-- Cheers, Carlos E. R.
-- Stan Goodman Qiryat Tiv'on Israel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2010-01-16 at 21:00 +0200, Stan Goodman wrote:
Logs?
What file(s)?
Any that contain useful data >:-)
What I really meant to write is that I don't know what logs to examine.
Does it matter? Check all of them :-P Look, in linux logs are always in /var/log/*. If you sort the directory by date: "ls -ltr /var/log/" yu will see which ones were modified lately, and very few in the last minute. Check all of those and see what they have to say. Or, you can guess the names. There is one named "warn", which contains important entries, warnings. There are others named mail something, well it is obvious they contains things related to mail. One is named kernel (if it exists), it will contain messages related to the kernel. There is another that is named messages, that contains all else. But, if you want to know where exactly a particular message will go, then you need to read that program documentation and configuration, perhaps the source, and then the configuration of syslog. My bet? As I said in my previous mail, in messages. That is, in /var/log/messages, obviously. All logs are in that directory - and if one is not there, it is special and I wuld have said so. Plus, there is a YaST module that shows you the logs. And probably kde or gnome gadgets that do the same. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAktSJKAACgkQtTMYHG2NR9WMwQCfQLcpTyZoKXWuBxBJ60NSLXF0 fkQAn0UJvZR+vZilJzu31M6o7vDkqL0o =Ttxv -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 16 Jan 2010 16:51:14 +0200, Stan Goodman wrote:
# mount /nfs/poblano/home mount.nfs: mount system call failed #
I ran into a similar problem a few years ago, and it seems that what was causing it was a name resolution lookup for the system. Try adding the machine that is mounting the filesystem into the hosts file on the NFS server and see if that helps. You'll probably see something in /var/log/messages on the server that indicates a name lookup failed. Jim -- Jim Henderson Please keep on-topic replies on the list so everyone benefits -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
At 20:40:03 on Saturday Saturday 16 January 2010, Jim Henderson
On Sat, 16 Jan 2010 16:51:14 +0200, Stan Goodman wrote:
# mount /nfs/poblano/home mount.nfs: mount system call failed #
I ran into a similar problem a few years ago, and it seems that what was causing it was a name resolution lookup for the system. Try adding the machine that is mounting the filesystem into the hosts file on the NFS server and see if that helps.
That did it. Thanks to those who helped, and those who tried to help. -- Stan Goodman Qiryat Tiv'on Israel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
try rw, no_root_squash 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, no_root_squash, sync,subtree_check, nohide) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Carlos E. R.
-
Jim Henderson
-
Joseph Loo
-
Stan Goodman
-
Trading New Technologies -Garcia Traba Ariel -(C)