LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices

Reply
 
Search this Thread
Old 06-11-2012, 04:01 PM   #1
Teleute
Member
 
Registered: Mar 2005
Posts: 62

Rep: Reputation: 16
aixterm login hangs when home dir is missing (NFS) - also, hard vs soft mounts


Two different but related issues. We have NIS users with home directories on an NFS share. I've got automounting set up in AIX, which works *most* of the time, but every so often if the machine loses network connectivity then the automounts get stuck and don't come back on their own. At this point, anyone trying to login using an aixterm window essentially gets locked out, as their home directories are no longer available.

I'd like to still allow them to login, but have it just give a message and just dump them to a default home directory. With a normal telnet/ssh login it does this - it says hey, I can't mount your home dir, so I'm putting you in /home/guest instead. With the aixterm, though, it just hangs. Any idea how I can get this behaviour in aixterm?

Possibly related - I tried to get the automount to be soft, and to be interruptable. The syntax looks fine, and when I get the output of "mount" those options show, but the behaviour doesn't change. If I try to go to a directory that it can't find, it just hangs, and nothing will interrupt it.

If anyone has anything I could try, I'd be very grateful. :-)
 
Old 06-11-2012, 06:58 PM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Philly, PA
Distribution: Kubuntu x64, RHEL, Fedora Core, FreeBSD, Windows x64
Posts: 1,402
Blog Entries: 33

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Another thread which I was subscribed to was explored by a user. Unfortunately, I wasn't able to help him/her in their quest but perhaps their experience can help you. The hanging appears to occur due to synchronous connections without caching in NFS (iirc).

At any rate here is their thread and if you find it useful then +1 their post for the work they put in.

http://www.linuxquestions.org/questi...puppet-906084/

Last edited by sag47; 06-12-2012 at 01:47 AM.
 
Old 06-12-2012, 07:10 PM   #3
xj-linux
Member
 
Registered: Feb 2006
Location: Minnesota
Distribution: SUSE - AIX
Posts: 30

Rep: Reputation: 2
Try mounting the file system using the "cio" option. It can help in some cases, hinder in others. SAP use to like it, now it doesn't. Perhaps it would be worth a try and some testing?
 
  


Reply

Tags
aix, automount, nfs


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] nfs-krb mounted home folder - Client hangs at login unehed Linux - Server 4 10-07-2011 06:16 AM
NFS mounts extra home folders on login apotrebka Linux - Server 2 03-19-2009 11:10 AM
auto mount to nfs home dir when user login to nis client lijianatusa Linux - Newbie 4 02-25-2009 11:38 PM
Login into a dir diff than home scrupul0us Linux - Newbie 8 07-21-2006 09:11 PM
Mounting NFS User Dir On Login WeNdeL Linux - General 2 07-19-2004 02:46 PM


All times are GMT -5. The time now is 05:26 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration