James D. Parra wrote:
Hello,
In earlier versions of OpenSuse (10.3 and earlier) if there was a problem with an nfs mount (if the nfs host server went offline) I could restart portmap service and then be able to umount the nfs share without having to reboot the server. Once the host nfs server was up the mount points on the client machines could restored without rebooting.
Now, however, with Suse 11.0 & 11.1, there no longer is portmap under /etc/init.d to restart and I was curious to find what service took its place so I can still umount nfs mounts, when necessary, without having to reboot.
If you do a 'grep portmap * in your /etc/init.d/* directory, you can see a reference to it in a couple places -- there are also comments indicating that 'rpcbind' is another program that contains the functions of the portmapper within itself (may do more...not sure). But some scripts look to load portmap OR rpcbind -- and seem to give preference to 'rpcbind' if it is there, over portmap. It appears that you might want to >>restart service 'nfs'<<. That appears to also restart rpcbind (or portmap if rpcbind isn't there). It looks like you could install portmap and uninstall rpcbind to make portmap be the portmapper for nfs, but rpcbind is a newer replacement for portmap. It's description says: Description : Rpcbind is a replacement for portmap. Whereas portmap supports only UDP and TCP transports over INET (IPv4), rpcbind can be configured to work on various transports supported by the TI-RPC. This includes TCP and UDP over IPv6. Moreover, rpcbind provides additional functions in regards to portmap. ---------- I don't know what "additional functions" rpcbind provides or whether or not you need them in your setup, but if you are not running IPv6 you can likely do the replacement. However, it doesn't look like portmap has its own start script anymore. other functions rpcbind provides over portmap, BUT if you are not using IPv6, you might be able to install portmap and uninstall rpcbind. It also looks like there may be a BUG in the scripts (just from the stuff I see with grepping 'portmap: Multiple scripts have 'portmap' (or its replacement, 'rpcbind' listed under the "Required Stop" tag: nfs, nfsserver, ypbind, yppasswd ypserv, ypxfrd, xinetd. If that means it *stops* portmap(or rpcbind) if any of those services are stopped, it would kill portmap for all the other services as well. That'd be 'bad'...(for some value of bad...:-)). I'll have to look at the scripts more closely to see if the above is true and is really as bad as it looks. Meanwhile, try just restarting your 'nfs' service... linda -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org