This content has been marked as final. Show 3 replies
All you should need to do is comment out the /home line in /etc/auto_master and restart the autofs service.
We seem to have some challenges in disabling the auto home behavior so I will look into it.
The only way I was able to modify /home was to disable autofs and I don't think this is a good answer.
I noticed that autofs is also controlling /home in current Solaris 10 releases so I would suggest that
you consider using something like /export/home/vdi or /home2/vdi instead.
I'm unclear what other features might be depending /home being automounted but this service
is setup by default so consider using an alternate mount point.
I have found some more info that makes the following steps work on one of my S11.1 systems but not on the other S11.1 system and they are configured identically. Can't figure it out. Maybe someone else can comment. Here are the steps:
1. I don't know if this matters but would be worth checking to see that the automount is set to files. It is by default.
# grep automount /etc/nsswitch.conf
automount: files ldap
2. Disable the /home entry in /etc/auto_master and also move the +auto_master entry to the end of the file, like this:
/net -hosts -nosuid,nobrowse
#/home auto_home -nobrowse
/nfs4 -fedfs -ro,nosuid,nobrowse
3. Refresh the autofs service instance:
# svcadm refresh svc:/system/filesystem/autofs:default
4. Test that the /home mountpoint is available:
# mkdir /home/test