I'm attempting to integrate a RH 7.1 system in to my Sun,
Dec, and SGI network. I'm using a 2.4.2 kernel with SGI's XFS module
and booting from an XFS file system. I'm having some problems with
autofs that suggest to me that my problem lies with mount, but I'm
wondering if you can verify and see if you know if this works in any
environments yet. I'm running autofs 4.0.0PRE10, and mount 2.10r.
For my sanity and yours, I've put a double bar (||) before
all command line examples and a greater-than sign (>) before all log
excerpts. Hopefully making this easier for you to read and
understand. :-)
I've got a really simple auto.master (I gave up making this work by
way of NIS for the sake of testing):
|| [brissing@luna ~]# cat /etc/auto.master
|| # $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $
|| # Sample auto.master file
|| # Format of this file:
|| # mountpoint map options
|| # For details of the format look at autofs(8).
|| #
|| # Master map for automounter
|| #
|| /net /etc/auto.net
|| /vexcel /etc/auto.vexcel
The auto.net script is the file that came with autofs4.0.0 Pre10.
Here's my auto.vexcel:
|| [brissing@luna ~]# cat /etc/auto.vexcel
|| ifmap -ro /proj futeleufu:/export/proj/ifmap
Just one single entry. My goal is to have multiple entries but this
doesn't work as it is. So, here's a quick run-time of what happens
(automount not yet started)...
|| [sysadm@luna init.d]# ./autofs status
|| Configured Mount Points:
|| ------------------------
|| /usr/sbin/automount /home file /etc/auto_home nobrowse
|| /usr/sbin/automount /net program /etc/auto.net
|| /usr/sbin/automount /vexcel file /etc/auto.vexcel
||
|| Active Mount Points:
|| --------------------
||
|| [sysadm@luna init.d]# ./autofs start
|| Starting automounter:
Here's what I get in /var/log/messages. Looks good to me.
>May 9 10:26:49 luna automount[1708]: starting automounter version
>4.0.0, path = /vexcel, maptype = file, mapname = /etc/auto.vexcel
>May 9 10:26:49 luna automount[1699]: using kernel protocol version 3
>May 9 10:26:49 luna automount[1699]: using timeout 300 seconds; freq 75 secs
>May 9 10:26:49 luna automount[1687]: using kernel protocol version 3
>May 9 10:26:49 luna automount[1687]: using timeout 300 seconds; freq 75 secs
>May 9 10:26:49 luna automount[1708]: using kernel protocol version 3
>May 9 10:26:49 luna automount[1708]: using timeout 300 seconds; freq 75 secs
So, I try to access my automounted disks and things commence to break...
|| [sysadm@luna init.d]# cd /vexcel/ifmap
|| bash: cd: /vexcel/ifmap: No such file or directory
>May 9 10:27:12 luna automount[1708]: attempting to mount entry /vexcel/ifmap
>May 9 10:27:12 luna automount[1755]: mount(nfs): mkdir_path
>ifmap/proj failed: Operation not permitted
|| [sysadm@luna init.d]# ls /net/rams/
|| ls: /net/rams/: No such file or directory
|| [sysadm@luna init.d]#
>May 9 10:28:30 luna automount[1699]: attempting to mount entry /net/rams
>May 9 10:28:30 luna automount[1761]: mount(nfs): mkdir_path
>rams/export/3dsar/data1 failed: Operation not permitted
Do you have any ideas where I can look for this problem or how I can
fix it? I don't understand the Operation not permitted errors.
--
. . . . . . . . ooo . . . . ooo . . . . . . . . .
. .
. Dean Brissinger - Systems Administrator .
. Direct: 303-583-0278 Main: 303-444-0094 .�
. Fax: 303-583-0246 http://www.vexcel.com/ .
. .
. . . . . . . oOOo . . A . . oOOo . . . . . . . .
0 0
'````