Introduction Automounting enables a system to automatically mount and unmount NFS resources wheneve they are accessed. The resource. NFS & AutoFS. Configuring NFS: NFS(Network File System): This file system is implemented by most unix type OS(SOLARIS/LINUX/FreeBSD). NFS seamlessly . Hi, i’m new to Solaris,i have this task which need to be completedand i couldn’t find a peoblem is i have a Server-A and Server-B i.
|Genre:||Health and Food|
|Published (Last):||16 October 2013|
|PDF File Size:||19.79 Mb|
|ePub File Size:||5.37 Mb|
|Price:||Free* [*Free Regsitration Required]|
Competition entry by David Cummins powered by Serendipity v1. Less known Solaris Features Disclaimer The individual owning this blog works for Oracle in Germany. The opinions expressed here are his own, are not necessarily reviewed in advance by anyone but the individual author, and neither Oracle nor any other party necessarily agrees with them. Less known Solaris Features: Well, the answer is relativly simple and it comes from the time when started to use NIS and NFS and it had something to to with our slogan “The network is the computer”, silaris it has to do with directories distributed in the network.
Okay, we have to go 20 years in the past. There was a time, autocs long ago, you worked at your workstation. So you and your working group used it for storing their data. But there were several workstations and even some big server for big computational tasks.
AutoFs Config in Solaris 10
The users wanted to share the data. Sun invented NFS to share sollaris files between the systems. They wanted to login to a system and work with their homedirectory on every system.
So Sun invented the automounter. The automounter mounts directories into a system based on a ruleset. There are two of them. To cite the Manual: The map is a master list that specifies all the maps that autofs should check At a freshly installed system the file looks like this: To cite the manual again: An indirect map uses a substitution value of a key to establish the association between a mount point on the client and a directory on the server.
Indirect maps are useful for accessing specific file systems, such as home directories. We will use this map later in solarix article. The use case Okay, an solarjs. They have their homedirectories on their own workstation. Sometimes a autlfs uses the workstations of the other teams and they on a gentleman agreement they allowed each other to do so.
How to enable/disable automount debugging in solaris 10 and solaris 11 –
But they want to use their homedirectories on the system of the other team. Prerequisites At first we have to export the directories with the real homedirectories on both hosts via NFS.
At first on gandalf: You would use a centralised user repository with LDAP. But that is another real long tutorial.
The userids and usernames of the user has to be equal. At first i create the local users. I use the -m switch for creating the homedirectory with the user. Now without the -m -Switch and directly with the correct homedirectory. The homedirectories come from the other system. We do almost the same on this system. We create the accounts for Waldorf and statler without creating a homedirectory.
It stands for the key in the table. Now start the autofs on both hosts: Gonzo is a user with a homedirectory local to theoden: Sun Feb 17 We log into gandalf with the user waldorf. Now this user have a local homedir. Sat Feb 16 I think you got it already. Do you want to learn more? Posted by Joerg Moellenkamp in EnglishSolaris at Related entries by tags: This entry This month Full blog.
Trackback specific URI for this entry. Display comments as Linear Threaded. Sometimes it’s not allowed to share your home between different servers. All companies I worked at yet, never used it before, though it’s really helpfull- especially when you are using NFS hosted home directories.
The author does not allow comments to this entry.
Configuring AutoFS in Solaris 10
Books Recommended Sun and Solaris Books. Comments Martin about End of c0t0d0s0. Thank you for many interesting blog posts. Good luck with al l new endeavours! Hosam about Solarris of c0t0d0s0. Joerg Moellenkamp about tar -x and NFS – or: The devil in the details. At least with ZFS this isn’t c orrect.
Jose about tar -x and NFS – or: Quicksearch Disclaimer The individual owning this blog works for Oracle in Germany. The devil in the details Fri, The devil in the details Thu,