Share your knowledge at the LQ Wiki.
Go Back > Forums > Other *NIX Forums > AIX
User Name
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.


  Search this Thread
Old 06-11-2012, 05:01 PM   #1
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, 07:58 PM   #2
Senior Member
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,854
Blog Entries: 36

Rep: Reputation: 455Reputation: 455Reputation: 455Reputation: 455Reputation: 455
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.

Last edited by sag47; 06-12-2012 at 02:47 AM.
Old 06-12-2012, 08:10 PM   #3
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?


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 07:16 AM
NFS mounts extra home folders on login apotrebka Linux - Server 2 03-19-2009 12:10 PM
auto mount to nfs home dir when user login to nis client lijianatusa Linux - Newbie 4 02-26-2009 12:38 AM
Login into a dir diff than home scrupul0us Linux - Newbie 8 07-21-2006 10:11 PM
Mounting NFS User Dir On Login WeNdeL Linux - General 2 07-19-2004 03:46 PM > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 04:08 AM.

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