NFS4 Ldap Automount issue

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat NFS4 Ldap Automount issue
# 1  
Old 06-23-2011
NFS4 Ldap Automount issue

OK,

I'm running low on patience with how this is working out. I have a RHEL 5.4 64bit server running 389 directory services and NFS4. I set up the schema for automount, and I am having some issues.

I'm relatively new to both LDAP and Automount, and NFS4 has thrown me some curves vs NFS2/3.

Here's what I'd like to be able to do:

User on a remote box logs in, via Ldap (that works)
Their home directory is automounted from the NFS server and they can write to it (It can mount if the directory exists on the NFS server [can I have it automagically created?], but it is read only)

How can I configure this so that the user logs in, gets their home directory, and it just works (Without Kerberos).


Thanks,

Mark
# 2  
Old 06-26-2011
Hi mark,

you must a create an specific OU in LDAP and configure this for automount..( if this is ok , then their home directorys are already ok because of your maps (in automount) on the clients )..

I think this URL is very helpful Smilie
Howto:Automount - 389 Directory Server


regards
ygemici
# 3  
Old 06-27-2011
The LDAP piece worked fine (NFSv3 works, NFSv4 fails). I have just about given up on NFSv4, and though I got it all working with NFSv3, RHEL seems to have a bug where if I do an ls -l when a file copy or write operation is being done to the remote volume, it lags for a LONG time (>20 seconds) before returning the listing.
# 4  
Old 06-29-2011
Quote:
Originally Posted by mark54g
The LDAP piece worked fine (NFSv3 works, NFSv4 fails). I have just about given up on NFSv4, and though I got it all working with NFSv3, RHEL seems to have a bug where if I do an ls -l when a file copy or write operation is being done to the remote volume, it lags for a LONG time (>20 seconds) before returning the listing.
is always same state(hang 20sec) after few tries of `ls-l`?
# 5  
Old 06-29-2011
Yes, whenever a large file transfer is going on. This is, I believe, due to the need for write locking to quiesce. Switching to UDP only mode in NFSv3 made it a little better, but I am investigating moving to iSCSI.
# 6  
Old 06-29-2011
Quote:
Originally Posted by mark54g
Yes, whenever a large file transfer is going on. This is, I believe, due to the need for write locking to quiesce. Switching to UDP only mode in NFSv3 made it a little better, but I am investigating moving to iSCSI.
as for i know nfsv3 default already uses udp.maybe it is tcp in redhat.
at the now,between clients and server of network line is at least giga/10g and local and clear? is it?
and (>20 seconds) is big time so you must have really big filesSmilie
for this maybe you can modify rsize/wsize settings on clients and remount and lets see what happened about times.
your power helper is below..
5.*Optimizing NFS Performance

good lucks
regards
ygemici
# 7  
Old 06-29-2011
I'm sorry, but I am having a hard time understanding you. I suppose English is not your first language, so I will try my best.

The connection is NOT 10GbE, it is not even 1GbE. The wiring is old, so it is connecting at 100Mb. The file I copied was ~10GB in size, and 20s was the best observed performance. It was often much worse.

I am trying to convince my boss' boss who thinks 8 workstations can somehow be served over 7Mbit if they were to go across a WAN link at another site.

The r/w settings are not the issue, by the way. The issue has been narrowed down to the need for write locks to quiesce when doing a stat on the file system to provide for the ls -l. On its own, ls is fast.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

LDAP issue

Need assistance in resolving the below LDAP issue on Solaris 11. I am new to LDAP . root@hrapps51:/var/svc/manifest# ldaplist -v +++ database=NULL +++ filter=objectclass=* +++ template for merging SSD filter=%s ldaplist: Object not found (LDAP ERROR (50): Insufficient access.) (1 Reply)
Discussion started by: ajayram_arya
1 Replies

2. AIX

Automount issue

Hi there, I have a strange problem, I have a NFS server running AIX 7.1 TL3 SP3, let's call it server A. I have another AIX 7.1 TL3 SP3 server, let's call it server B, that's automounting a filesystem from server A. When server B is automounting the filesystem from server A, I can't see any... (3 Replies)
Discussion started by: ce9888
3 Replies

3. AIX

LDAP authentication client issue

Hi, I am trying to authenticate AIX server against a IDS LDAP instance. The AIX version is 6.1 and TDS client is 6.1. I configured the secldapclntd using ldap.cfg file and changed /etc/security/user to set SYSTEM=LDAP, registry=LDAP for one user. Below are the ldap.cfg configurations - ... (5 Replies)
Discussion started by: vs1
5 Replies

4. UNIX for Advanced & Expert Users

Automount permission issue

Hi all, I am running CentOS6.3 and NFS is giving me a real hard time here: on my server a folder called /networkh has created with 777 permissions. I have setup NFS server on this server and it is supposed to serve a network. On my client machine I configed my auto.master: /nethome... (1 Reply)
Discussion started by: bashily
1 Replies

5. Red Hat

NFS4 Mount issue - ASAP

Hi, I am trying to mount via nfs4 # mount -t nfs4 10.1.56.16:/Apps /works/apps/xyz Error: Warning rpc.idmapd apperas not to be running all uids will be mapped to the nobody uid mount to NFS server "10.1.56.16' failed RPC error: program/version mismatched pls help - this is coming... (1 Reply)
Discussion started by: saurabh84g
1 Replies

6. Linux

Urgent :Automount issue

Hi Team, I am trying to delete the clearcase view in linux box. But i cant get, because my hostname is not configure under the at net directory in root dir. Please advice on this. Thanks, Mani (2 Replies)
Discussion started by: Mani_apr08
2 Replies

7. UNIX for Advanced & Expert Users

LDAP client issue

Hello, I'm new to Centos and to openldap. I am by trade a Solaris Admin. I'm experimenting with openldap and thought Linux would be easier to install and setup openldap on, so far this is true. The problem I'm having is that I can't get the client server to authenticate to the openldap server. I... (1 Reply)
Discussion started by: bitlord
1 Replies

8. UNIX for Dummies Questions & Answers

Automount issue

Folks; I'm mounting a directory on a different SUSE 10 server from my SUSE server fine. using this mount command: # mount 192.168.132.11:/var/local/new /var/local/new this command above works fine but when i added a new line to my "/etc/fstab" to be mounted automatically every time i... (2 Replies)
Discussion started by: Katkota
2 Replies

9. Linux

ldap issue

Hi, I believe this is an ldap issue, but am not sure how to solve it as I haven't used ldap in the past. Any help is greatly appreciated. I had my linux machine on one subnet and moved it to another without realizing. It had a static IP, and once this was realized, we moved it back to the... (3 Replies)
Discussion started by: user23
3 Replies

10. HP-UX

LDAP/Kerberos Issue

I am getting the following error message when trying to login to the client: while verifying tgt If I move the /etc/krb5.keytab out of /etc, it works fine. This is HP-UX v23 Does anyone have any ideas? (1 Reply)
Discussion started by: dhernand
1 Replies
Login or Register to Ask a Question