apologies that my first message wasn't as clear as I'd hoped ...
currently the setup basically is as below just with lots more mounts etc ...
dn: ou=auto.master,dc=blah
objectClass: automountMap
objectClass: top
ou=auto.master
dn: cn=/nfs,ou=auto.master,dc=blah
automountInformation: ldap:ou=auto.nfs,dc=blah
objectClass: automount
dn: ou=auto.nfs,dc=blah
objectClass: automountMap
objectClass: top
ou=auto.nfs
dn: cn=tmp,ou=auto.nfs,dc=blah
automountInformation: -rw,hard,intr,tcp,vers=3 server1:/export/tmp
objectClass: automount
The problem is that one or two dirs in our tmp structure have become
project dependencies & are put under very high load which our tmp
server can't handle - simply moving the data would be awesome but
unfortunately the paths have been hard coded into a few apps which
will take longer to fix & re-deploy than re-doing mount exports
(hopefully) ...
Basically I'm trying to achieve in LDAP the equivalent of this little
example from a files way of doing things:
tmp -rw,hard,intr / -ro myserver.me.org:/ \
/usr myserver.me.org:/usr \
/home myserver.me.org:/home
I was *hoping* this [below] would work, as its a little more readable
than jamming everything into an automountInformation attribute ...
dn: cn=tmp,ou=auto.nfs,dc=blah
automountInformation: ldap:ou=auto.tmp,ou=auto.nfs,dc=blah
objectClass: automount
dn: ou=auto.tmp,ou=auto.nfs,dc=blah
objectClass: automountMap
objectClass: top
ou=auto.tmp
dn: cn=weekly,ou=auto.tmp,ou=auto.nfs,dc=blah
automountInformation: -rw,hard,intr,tcp,vers=3 server1:/export/tmp/weekly
objectClass: automount
dn: ... one for each /nfs/tmp/* mount
I guess if it comes to it
dn: cn=tmp,ou=auto.nfs,dc=blah
automountInformation: -rw,hard,intr,tcp,vers=3 /weekly
server1:/export/tmp/weekly /hourly server1:/export/tmp/hourly
/production server2:/export/prodTemp
objectClass: automount
isn't *too* bad ...
TIA,
Shane
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs