EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: NFS mount problem from Ubuntu 12.04
From: Mark Rivers <[email protected]>
To: "[email protected]" <[email protected]>
Date: Sat, 10 Jun 2017 14:24:21 +0000

Folks,

 

This is off-topic from epics but I am hoping someone can help.  I have an Ubuntu 12.04 machine (brukertest-1) from which I need to mount a Centos 7 NFS server (corvette). 

 

The Ubuntu machine is running this kernel

bruker@photontest-1:~$ uname -a

Linux photontest-1 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:42:40 UTC 2014 i686 i686 i386 GNU/Linux

 

I need to be able to mount the corvette /usr/local and /home from this machine.

 

I have added this machine to corvette:/etc/exports and run exportfs –a.

 

However, when I try to mount corvette I get the following error:

 

bruker@photontest-1:~$ sudo mount -t nfs corvette:/usr/local /corvette/usr/local

mount: wrong fs type, bad option, bad superblock on corvette:/usr/local,

       missing codepage or helper program, or other error

       (for several filesystems (e.g. nfs, cifs) you might

       need a /sbin/mount.<type> helper program)

       In some cases useful info is found in syslog - try

       dmesg | tail  or so

 

 

When I run dmesg on photontest-1 I see the following:

[4283236.931503] RPC: Registered named UNIX socket transport module.

[4283236.931506] RPC: Registered udp transport module.

[4283236.931507] RPC: Registered tcp transport module.

[4283236.931508] RPC: Registered tcp NFSv4.1 backchannel transport module.

[4283236.943157] FS-Cache: Loaded

[4283236.952960] FS-Cache: Netfs 'nfs' registered for caching

 

When I look at syslog on photontest-1 I see the following:

 

bruker@photontest-1:~$ sudo tail -1000l /var/log/syslog

Jun 10 08:43:55 photontest-1 kernel: [4283236.931503] RPC: Registered named UNIX socket transport module.

Jun 10 08:43:55 photontest-1 kernel: [4283236.931506] RPC: Registered udp transport module.

Jun 10 08:43:55 photontest-1 kernel: [4283236.931507] RPC: Registered tcp transport module.

Jun 10 08:43:55 photontest-1 kernel: [4283236.931508] RPC: Registered tcp NFSv4.1 backchannel transport module.

Jun 10 08:43:55 photontest-1 kernel: [4283236.943157] FS-Cache: Loaded

Jun 10 08:43:55 photontest-1 kernel: [4283236.952960] FS-Cache: Netfs 'nfs' registered for caching

 

I found some documentation on setting up NFS in Ubuntu 12.04 here:

https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nfs-mount-on-ubuntu-12-04

 

It says that I need to install the nfs-common and portmap packages. However, when I try to do that I get the following errors:

 

bruker@photontest-1:~$ sudo apt-get install nfs-common portmap

Reading package lists... Done

Building dependency tree

Reading state information... Done

Package portmap is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or

is only available from another source

 

Package nfs-common is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or

is only available from another source

 

E: Package 'nfs-common' has no installation candidate

E: Package 'portmap' has no installation candidate

 

Any idea if the problem is indeed those missing packages, and if so how to install them?

 

Thanks,

Mark

 

 


Replies:
Re: NFS mount problem from Ubuntu 12.04 Michael Davidsaver
Re: NFS mount problem from Ubuntu 12.04 Jani Hakala

Navigate by Date:
Prev: Re: vxWorks on Linux Andrew Johnson
Next: Re: NFS mount problem from Ubuntu 12.04 Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: vxWorks on Linux Andrew Johnson
Next: Re: NFS mount problem from Ubuntu 12.04 Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024