I have a network running mostly Linux 2.2.19 with redhat 7.0, with some
systems upgraded to 2.4. We're using autofs-3.1.6. We use nis with the
following auto.master:
--
/import/direct yp:auto.direct
/home yp:auto.home
/var/spool/mail yp:auto.mail
--
and an auto.mail like so:
--
username nfs-server:/export/mail/username
--
Which works fine with all of our RedHat 7.0 and earlier machines, as well
as with our various other *NIX. Any time a user references their mail
file (/var/spool/mail/username) it is automounted under /var/spool/mail.
On any new RedHat 7.2 system however, which seem to come with
autofs-3.1.7, it fails like so:
Apr 12 13:18:59 file2 automount[30855]: starting automounter version
3.1.7, path = /var/spool/mail, maptype = yp, mapname = auto.mail
Apr 12 13:18:59 file2 autofs: automount startup succeeded
Apr 12 13:19:00 file2 automount[30855]: using kernel protocol version 3
Apr 12 13:20:46 file2 automount[30855]: attempting to mount entry
/var/spool/mail/rsweet
Apr 12 13:20:46 file2 kernel: nfs warning: mount version older than
kernel
Apr 12 13:20:47 file2 automount[30873]: >> mount: Not a directory
Apr 12 13:20:47 file2 automount[30873]: mount(nfs): nfs: mount failure
mail-1:/export/mail/rsweet on /var/spool/mail/rsweet
Of course, /export/mail/rsweet and /var/spool/mail/rsweet are not
directories, they are files, but that doesn't help because it works
spectacularly on all the other systems.
RH 7.2+updates gives me nfs-utils 0.3.1x and mount 2.11g. I've tried
upgrading to the latest mount (2.11q) and nfs-utils (0.3.3) sources and
also downgrading to the RH 7.0 versions (mount 2.10m, nfs-utils 0.2.1),
but always have the same problem. Note that even with the latest mount
(2.11q) I still get the message that the mount version is older than
kernel (stock redhat 7.2 updates 2.4.9-13). I also tried downgrading to
autofs 3.1.6, but that didn't help either.
The same accounts, files, servers work fine when the client is not running
rh7.2.
I have strace output if it would help - it basically just shows that the
call to mount:
[pid 30941] mount("mail-1:/export/mail/rsweet", "/var/spool/mail/rsweet",
"nfs", 0xc0ed0000, 0x8058a20) = -1 ENOTDIR (Not a directory)
returns "not a directory"....
Any ideas?
thanks,
-Ryan Sweet
--
Ryan Sweet <[email protected]>
Atos Origin Engineering Services
http://www.aoes.nl
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs