[SunHELP] mount/umount
Bruce Pullig
sunhelp at sunhelp.org
Mon Apr 23 14:15:17 CDT 2001
I prefer doing it that way. Following are some "quick and dirty"
instruction to get you started:
NON-NIS:
In /etc/passwd on workstations set your user home directories to
/home/<username> then: (You will need users defined on both servers &
workstations)
Do this on your NFS server:
mkdir /export/home/<username>
chown <username> /export/home/<username>
(User IDs MUST be the same on all machines!)
Add the following to your /etc/dfs/dfstab:
share -F nfs -d "Home Directories" /export/home
then run:
/etc/init.d/nfs.server start
Do this on your workstations:
Make sure you have an entry in /etc/auto_master for auto_home that looks
like this:
/home auto_home
echo "<username> <Servername>:/export/home/<username>" >>/etc/auto_home
/usr/sbin/automount
NIS:
In /etc/passwd on the NIS Master set your user home directories to
/home/<username> then:
Do this on your NFS server:
mkdir /export/home/<username>
chown <username> /export/home/<username>
Add the following to your /etc/dfs/dfstab:
share -F nfs -d "Home Directories" /export/home
then run:
/etc/init.d/nfs.server start
Make these changes on your NIS Master:
Make sure you have an entry in /etc/auto.master for auto.home that looks
like this:
/home auto.home
echo "<username> <Servername>:/export/home/<username>" >>/etc/auto.home
cd /var/yp
make
then run the following on your workstations:
/usr/sbin/automount
I hope I didn't miss anything. If you have any problems still, let me
know.
Bruce
--
* * * * * * * * * * * * * * * * * * * * *
Bruce Pullig, CSA, CNA, MCPS
Senior Systems Administrator
GeoQuest DMC
5444 Westheimer, Suite 800
Houston, TX 77056
(713) 350-4217
bpullig at houston.geoquest.slb.com
* * * * * * * * * * * * * * * * * * * * *
James Fogg wrote:
>
> > Also i am unable to create home directories for my users
> > even admin tool in CDE is unable to do so
> > i belive it have something to do with automount right ?
> > how can i correct it ?
>
> This may be unique to my install, but I found I cannot create user
> directories in /home/username. (Solaris 5.7 on SS5).
>
> Use /export/home/username. I am *told* that the idea of an export/home
> directory is that Sun had the big idea of using one machine to store
> everybody's home directory and having other machines mount that home directory
> via NFS. That way no matter what machine you were using you had the same
> home directory with all your files available. When I try to create a
> subdirectory on /home I get an error (even as root). Something like "operation
> not applicable".
>
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
More information about the SunHELP
mailing list