- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: How to get Linux to automount NFS homedirs fro...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2001 09:55 AM
тАО07-12-2001 09:55 AM
How to get Linux to automount NFS homedirs from HPUX NIS server
We have a network with a HPUX 11 NIS server. We have recently begun installing Linux (Redhat 7.1) workstations.
I've configured NIS and NFS to work on the Linux workstations, but I'm having serious problems getting the workstation to automount home directories from NIS.
On our HP machines, the NIS passwd file has /net/Computer_Name/home/Username as the home directory, and when you log in that gets mounted on the local filesystem, so any user can log in anywhere. I can't figure out how to configure the Linux client to do the same.
Any help would be appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2001 01:07 AM
тАО07-13-2001 01:07 AM
Re: How to get Linux to automount NFS homedirs from HPUX NIS server
you need to edit the /etc/fstab file. Here you can enter the network directory and the mount-point.
I would suggest webmin from http://www.webmin.com/webmin/ as a quite could configuration tool for things like this, but I think linuxconf can do it, too.
cu,
MaDMaik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2001 07:32 AM
тАО07-13-2001 07:32 AM
Re: How to get Linux to automount NFS homedirs from HPUX NIS server
The HP workstations automagically and dynamically mount the shared directories that they get from NIS. I'm trying to add this functionality to Linux.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2001 11:10 AM
тАО07-13-2001 11:10 AM
Re: How to get Linux to automount NFS homedirs from HPUX NIS server
You need automounter to configure on your linux systems.
It works excetly same as HP systems.
auto_master file and start automounter /etc/rc.d/autofs start. You have 1. create a auto.direct map on your nis server
2. On linux client /etc/auto_master tell to look auto.direct map for mounting.
If you need more specific information let me know.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2001 09:42 AM
тАО07-16-2001 09:42 AM
Re: How to get Linux to automount NFS homedirs from HPUX NIS server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2001 06:41 AM
тАО07-17-2001 06:41 AM
Re: How to get Linux to automount NFS homedirs from HPUX NIS server
Here is the procedure.
On HP-server
#>vi /etc/auto.direct
/systemname/filesystem systemname:/filesystem
for example
/mysystem/tmp mysystem:/tmp
#>cd /var/yp
#> make auto.direct
on client ypbind should work before you start.
#> ypwhich (should show you your hp server)
#> ypcat -k auto.direct (should show you the map.
#> vi /etc/auto_master
/net -hosts -soft
#> restart the automounter.
If you need more help let us know
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2001 07:35 AM
тАО07-17-2001 07:35 AM
Re: How to get Linux to automount NFS homedirs from HPUX NIS server
I've done a TON of digging through man pages, and here's a solution I've found:
Using indirect automounting, I can dynamically mount the root filesystem of other computers in the /net dir. Here's how:
On Linux machine:
vi /etc/auto.master
Add:
/net /etc/auto.home --timeout=60
vi /etc/auto.home
Add:
* &:/
Now whenever I go into /net/machine_name it will auto-mount the root filesystem and let me access the machine!
Now I just need to finagle it to mount the /home, which is also exported.
Hmm I should write a Linux/HP FAQ when I get this all figured out!