[CentOS] Fedora and CentOS no longer on speaking terms
Anne Wilson
cannewilson at googlemail.com
Sat Aug 20 11:40:07 UTC 2011
On Saturday 20 Aug 2011 12:05:51 Craig White wrote:
> On Sat, 2011-08-20 at 09:38 +0100, Anne Wilson wrote:
> > On Saturday 20 Aug 2011 03:41:12 Craig White wrote:
> > > On Fri, 2011-08-19 at 17:46 +0100, Anne Wilson wrote:
> > > > On Friday 19 Aug 2011 17:23:34 Anne Wilson wrote:
> > > > > On Friday 19 Aug 2011 15:43:23 Tony Schreiner wrote:
> > > > > > NFS v4 problems maybe. Try setting a value for Domain in
> > > > > >
> > > > > > /etc/idmapd.conf
> > > > > >
> > > > > > on both systems (the same for both).
> > > > >
> > > > > That gave me an unbootable system. I've removed it, and am back at
> > > > > square 1. Two things -
> > > > >
> > > > > I should have said that I can access the system from the laptop
> > > > > using ssh + keys.
> > > > >
> > > > > During bootup I saw many messages about nfs4 exports failing, so
> > > > > that's
> > > > >
> > > > > whre the problem is, it seems. Can you please give me a sample
> > > > > line
> > > > >
> > > > > of a known good nfs4 export?
> > > >
> > > > It's hard to be sure when messages flash by so quickly, but I got the
> > > > impression that there was something about fstab. Maybe the format
> > > > required for those lines has changed, too? These are the lines that
> > > > I guess it is looking at:
> > > >
> > > > /Data1 /nfs4exports/Data1 none bind 0 0
> > > > /Data2 /nfs4exports/Data2 none` bind 0 0
> > > > /Data3 /nfs4exports/Data3 none bind 0 0
> > > > /home /nfs4exports/home none bind 0 0
> > > >
> > > > I think there was something about wrong or missing type. Each of
> > > > those partitions is defined earlier in fstab and does have the
> > > > correct type stated.
> > >
> > > ----
> > > this is obviously intended to be your NFS server (who knows whether
> > > this is CentOS or Fedora 14).
> >
> > The server is CentOS 6.
> >
> > > You can only bind mount something that already
> > > exists and maybe it's empty.
> > >
> > > does ls -l /Data1 /Data2 /Data3 /home show much of anything?
> >
> > Yes, it lists the contents of each of them.
> >
> > > On the other system (the NFS client), what does it have in fstab?
> >
> > 192.168.0.40:/Data1 /mnt/borg_Data1 nfs4
> > rsize=8192,wsize=8192,timeo=14,intr 0
> >
> > 0
> >
> > and equivalents for each of the others.
> >
> > As I said originally, these lines worked with nfs4 on CentOS 5.
>
> ----
> then issuing the command (on the Fedora client)
>
> mount /mnt/borg_Data1
> should either work or fail and give you a message (at worst, log
> to /var/log/messages).
>
> This of course assumes that it isn't already mounted which could be
> noted by simply issuing a 'mount' command by itself to see what is
> mounted.
>
> You may have to check /var/log/messages on the CentOS server for clues
> too.
>
Every attempt to mount was simply hanging - so no help at all. However, as
you will have seen by now, the problem is solved. I was right that I had
missed some steps, and you were right that the mount points at the server end
were not correctly set up. The guide on
http://www.crazysquirrel.com/computing/debian/servers/setting-up-nfs4.jspx has
got everything working again.
Thanks for trying to help.
Anne
--
New to KDE Software? - get help from http://userbase.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.centos.org/pipermail/centos/attachments/20110820/c6607bad/attachment.sig>
More information about the CentOS
mailing list