Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268003 - portmap needs to be resatarted to make remote nfs shared dir mountable
Summary: portmap needs to be resatarted to make remote nfs shared dir mountable
Status: RESOLVED DUPLICATE of bug 267992
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-30 14:38 UTC by pier
Modified: 2009-04-30 21:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pier 2009-04-30 14:38:33 UTC
Situation:
pc1 shares /mnt/hda3/macbac:

 rc-update show             
           alsasound | boot                          
            bootmisc | boot                          
             checkfs | boot                          
           checkroot | boot                          
               clock | boot                          
         consolefont | boot                          
               cupsd |      default                  
                dbus |      default                  
                 gpm |      default                  
                hald |      default                  
             hddtemp |      default                  
            hostname | boot default                  
             keymaps | boot                          
          linux-logo |      default                  
          lm_sensors |      default                  
               local |      default nonetwork        
          localmount | boot                          
             modules | boot                          
            net.eth0 |      default                  
              net.lo | boot                          
            netmount |      default                  
                 nfs |      default                  
            nfsmount |      default                  
             portmap |      default                  
           rmnologin | boot                          
           setta_ora |      default                  
                sshd |      default                  
           syslog-ng |      default                  
             urandom | boot                          
          vixie-cron |      default                  
                 xdm |      default

from client pc2:
mount 192.168.0.23:/mnt/hda3/macbac /mnt/macbac
mount.nfs: access denied by server while mounting 192.168.0.23:/mnt/hda3/macbac

Now on pc1:

 /etc/init.d/portmap restart
 * Saving portmap table ...                                               [ ok
 * Stopping NFS mountd ...                                                [ ok
 * Stopping NFS daemon ...                                                [ ok
 * Unexporting NFS directories ...                                        [ ok
 * Unmounting NFS filesystems ...                                         [ ok
 * Stopping NFS statd ...                                                 [ ok
 * Stopping portmap ...                                                   [ ok
 * Starting portmap ...                                                   [ ok
 * Reloading portmap table ...                                            [ ok
 * Starting NFS statd ...                                                 [ ok
 * Exporting NFS directories ...                                          [ ok
 * Starting NFS mountd ...                                                [ ok
 * Starting NFS daemon ...                                                [ ok
 * Starting NFS smnotify ...                                              [ ok
 * Starting NFS sm-notify ...                                             [ ok
 * Mounting NFS filesystems ...                                           [ ok

So finally on pc2
mount 192.168.0.23:/mnt/hda3/macbac /mnt/macbac

succeed

Reproducible: Always

Steps to Reproduce:
1.boot
2.try to mount remote shared dir with no success
3.restart portmap
4.this time mounting works
Comment 1 Patrick Lauer gentoo-dev 2009-04-30 21:10:30 UTC

*** This bug has been marked as a duplicate of bug 267992 ***