Re: [gentoo-user] URGENT: nfs stopped working

2011-04-30 Thread Stroller

On 30/4/2011, at 4:34am, Michael Sullivan wrote:
 
 Mine says:
 
 camille ~ # zcat /proc/config.gz | grep -i nfs
 CONFIG_NFS_FS=m
 CONFIG_NFS_V3=y
 # CONFIG_NFS_V3_ACL is not set
 # CONFIG_NFS_V4 is not set
 CONFIG_NFSD=m
 CONFIG_NFSD_V3=y
 # CONFIG_NFSD_V3_ACL is not set
 # CONFIG_NFSD_V4 is not set
 CONFIG_NFS_COMMON=y

The same on both systems? The other one doesn't have v4 set?

Did you try modprobing NFS before trying your mount command?

Unless you don't know what modprobe is, I shouldn't have had to ask this. You 
should have replied with `lsmod | grep -i nfs` (showing that the module is 
loaded) and a second attempt to perform the NFS mount.

Stroller.




Re: [gentoo-user] URGENT: nfs stopped working

2011-04-30 Thread Peter Humphrey
On Saturday 30 April 2011 14:16:15 Stroller wrote:
 On 30/4/2011, at 4:34am, Michael Sullivan wrote:
  Mine says:
  
  camille ~ # zcat /proc/config.gz | grep -i nfs
  CONFIG_NFS_FS=m
  CONFIG_NFS_V3=y
  # CONFIG_NFS_V3_ACL is not set
  # CONFIG_NFS_V4 is not set
  CONFIG_NFSD=m
  CONFIG_NFSD_V3=y
  # CONFIG_NFSD_V3_ACL is not set
  # CONFIG_NFSD_V4 is not set
  CONFIG_NFS_COMMON=y
 
 The same on both systems? The other one doesn't have v4 set?

If one has no V4 you'll have to use V3, so add vers=3 to your mount options.

-- 
Rgds
Peter



Re: [gentoo-user] URGENT: nfs stopped working SOLVED (mostly)

2011-04-30 Thread Michael Sullivan
On Sat, 2011-04-30 at 16:08 +0100, Peter Humphrey wrote:
 On Saturday 30 April 2011 14:16:15 Stroller wrote:
  On 30/4/2011, at 4:34am, Michael Sullivan wrote:
   Mine says:
   
   camille ~ # zcat /proc/config.gz | grep -i nfs
   CONFIG_NFS_FS=m
   CONFIG_NFS_V3=y
   # CONFIG_NFS_V3_ACL is not set
   # CONFIG_NFS_V4 is not set
   CONFIG_NFSD=m
   CONFIG_NFSD_V3=y
   # CONFIG_NFSD_V3_ACL is not set
   # CONFIG_NFSD_V4 is not set
   CONFIG_NFS_COMMON=y
  
  The same on both systems? The other one doesn't have v4 set?
 
 If one has no V4 you'll have to use V3, so add vers=3 to your mount options.
 

I rebuilt kernels on camille and catherine, enabling every NFS option I
could and now they both can use NFS from carter.  However, carter cannot
mount camille's /mnt/store:

carter ~ # mount camille:/mnt/store/ /mnt/store/
mount.nfs: requested NFS version or transport protocol is not supported

But, somehow, carter has access to all the recordings.  This happens
sometimes and I don't know why...




[gentoo-user] URGENT: nfs stopped working

2011-04-29 Thread Michael Sullivan
OK.  I recently switched my three computers (carter, camille, and
catherine) to the new gcc profile:  i686-pc-linux-gnu-4.4.5 from
i686-pc-linux-gnu-4.3.4.  As recommended, I performed emerge -e system
and then emerge -e world on all of them.  Carter finished his emerge -e
world a couple of days ago (he's faster than the others).  Camille and
catherine were a few hundred packages from the end of their emerge -e
world when the power went out.  Carter supplies daily
updated /usr/portage to camille and catherine via nfs, but when I
restarted the computers when the power came back on, I get this:

camille ~ # mount carter:/usr/portage /usr/portage/
mount.nfs: an incorrect mount option was specified

Am I not constructing my command correctly?

I have tried mount -t nfs and it still doesn't work.  I can ping carter
fine, and carter says nfs is running.  How do I get nfs back?




Re: [gentoo-user] URGENT: nfs stopped working

2011-04-29 Thread Stroller

On 30/4/2011, at 1:46am, Michael Sullivan wrote:
 ...
 camille ~ # mount carter:/usr/portage /usr/portage/
 mount.nfs: an incorrect mount option was specified
 ...

$ zcat /proc/config.gz | grep -i nfs
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
CONFIG_NFS_V4_1=y
CONFIG_NFSD=m
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
CONFIG_NFSD_V4=y
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y
CONFIG_NCPFS_NFS_NS=y
$



Re: [gentoo-user] URGENT: nfs stopped working

2011-04-29 Thread Michael Sullivan
On Sat, 2011-04-30 at 03:54 +0100, Stroller wrote:
 On 30/4/2011, at 1:46am, Michael Sullivan wrote:
  ...
  camille ~ # mount carter:/usr/portage /usr/portage/
  mount.nfs: an incorrect mount option was specified
  ...
 
 $ zcat /proc/config.gz | grep -i nfs
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3=y
 CONFIG_NFS_V3_ACL=y
 CONFIG_NFS_V4=y
 CONFIG_NFS_V4_1=y
 CONFIG_NFSD=m
 CONFIG_NFSD_V2_ACL=y
 CONFIG_NFSD_V3=y
 CONFIG_NFSD_V3_ACL=y
 CONFIG_NFSD_V4=y
 CONFIG_NFS_ACL_SUPPORT=y
 CONFIG_NFS_COMMON=y
 CONFIG_NCPFS_NFS_NS=y
 $
 

Mine says:

camille ~ # zcat /proc/config.gz | grep -i nfs
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
# CONFIG_NFS_V4 is not set
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V3_ACL is not set
# CONFIG_NFSD_V4 is not set
CONFIG_NFS_COMMON=y