Home > Solaris 10 > Solaris 10 Auto Home Not Working

Solaris 10 Auto Home Not Working

An INDIRECT MAP sets aside a directory, and mounts everything in the map into that directory (ie, the auto.home map sets aside /home, and everything in the auto.home map is mounted Figure6-6 How Autofs Uses the Name Service The screen activity for this session would resemble the following example. $ grep /home /etc/auto_master /home auto_home $ ypmatch brent auto_home Can't match key Run the cfsadmin command to create a cache directory on the local disk. # cfsadmin -c /var/cache Add the cachefs entry to the appropriate automounter map.For example, adding this entry to Update the autofs map.Add an entry for the CD-ROM file system, which should resemble the following:hsfs -fstype=hsfs,ro :/dev/sr0The CD-ROM device that you intend to mount must appear as a name that Check This Out

To do this, look in your auto.* maps, and see what remote partition your automounter is trying to access. Table5-8 When to Run the automount Command Type of Map Restart automount? Type the following command:# svcadm restart system/filesystem/autofs Administrative Tasks Involving Maps The following tables describe several of the factors you need to be aware of when administering autofs maps. Note - All other server selection factors are more important than weighting. https://docs.oracle.com/cd/E23824_01/html/821-1454/rfsadmin-210.html

This directory is to be common across all workstations at the site. In order for a machine to be stable, all of the recommended patches should be installed as well. How to Replicate Shared Files Across Several Servers The best way to share replicated file systems that are read-only is to use failover. How to Support Incompatible Client Operating System Versions Combine the architecture type with a variable that determines the operating system type of the client.

All file access is provided by the back file system. Maps are files that contain information such as the password entries of all users on a network or the names of all host computers on a network. Also, I can not su to root once I su to another user, it says "su: Unknown id: root" (I am logged in as root, so I have to exit out This problem most frequently occurs when you attempt to hierarchically mount all of a server's exported file systems.

Solution: Check the NIS server status.mount of server:pathname on mountpoint:reason Description: Autofs failed to do a mount. Finally reinstalled one client and walked through the nfs and nis config. You can also use curly braces to delimit the name of the variable from appended letters or digits. http://docs.oracle.com/cd/E23823_01/html/816-4555/rfsadmin-127.html Figure6-4 Navigation Through the Master Map Autofs Mount Process What the autofs service does when a mount request is triggered depends on how the automounter maps are configured.

chrism01 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by chrism01 12-02-2009, 11:42 AM #3 deadeyes Member Registered: Aug 2006 Posts: 609 Software projects typically consume substantial amounts of disk space. Blogs Recent Entries Best Entries Best Blogs Blog List Search Blogs Home Forums HCL Reviews Tutorials Articles Register Search Search Forums Advanced Search Search Tags Search LQ Wiki Search Tutorials/Articles Search I am thinking it may be from my yp files being in the wrong location, how can I check the file locations that the server is checking when someone attempts to

bill cs.csc.edu:/export/home/bill bonny cs.csc.edu:/export/home/bonny After consulting the included map, if no match is found, automount continues scanning the current map. http://planet.c0t0d0s0.org/archives/4120-Less-known-Solaris-Features-exporthome-home-autofs.html However, you can force auto_master and direct map changes to get immediatelly recognised by running automount from the command line: # automount -v 3.11: How to Upgrade Automount from SunOS to If you need a mount option to be global for a map, you should put it in the auto.master file. All rights reserved. # Use is subject to license terms. # # ident "@(#)auto_master 1.8 03/04/28 SMI" # # Master map for automounter # +auto_master /net -hosts -nosuid,nobrowse /home auto_home -nobrowse

All rights reserved. his comment is here mapname: nis-err Description: An error occurred when looking up an entry in a NIS map. Not the answer you're looking for? For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

Other new maps can be created with similar syntax. Also, each subproject requires subdirectories to describe several versions of the software. Figure6-5 illustrates server proximity.Figure6-5 Server Proximity If several servers that support the same protocol are on the local subnet, the time to connect to each server is determined and the fastest this contact form E.g. /home/userx does not show up, but a cd /home/userx will attempt to mount mdc1:/pool/home/userx Once it is mounted, it will show up for some time.

Are there eighteen or twenty bars in my castle? This service also runs the automount command, which reads the master map and installs autofs mount points. Each entry is larger because each entry contains multiple mounts.

Change (or add) the /home entry so that it reads as follows: /home -null This tells the automount to NOT create a /home map, which will allow you to use a

Create the following entry in the name service auto_master file, either NIS or NIS+: /home auto_home -nosuidThe nosuid option prevents users from creating files with the setuid or setgid bit set.This Map entries can be simple, for example: rusty dragon:/export/home1/& gwenda dragon:/export/home1/& charles sundog:/export/home2/& rich dragon:/export/home3/&Notice the use of the & (ampersand) to substitute the map key. auto_local.org_dir STEP THREE: set the correct permissions. # nischmod n=r, o=rmcd,g=rmcd, w=r auto_local.org_dir STEP FOUR: create a text file, and read it into NIS+, just as is described in section 3.6: The disadvantage to using an executable map is that the map needs to be installed on each host.

Also, when my client workstations reboot the authentication for nis changes from domain 'name' server 'host' to domain 'name' broadcast When this happens the ypbind never finds the ypserver. Become superuser or assume an equivalent role.Roles contain authorizations and privileged commands. The automounter leaves much information in /etc/mnttab, /etc/mtab on SunOS 4.X. navigate here A: Create an /etc/auto_master, if one does not already exist.

Create the following map entry. You plan to make all project-related files available under a directory that is called /ws. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. Solution: Contact Sun for assistance.

You must follow this procedure for each indirect autofs node that needs to be disabled. Table6-3 Predefined Map Variables Variable Meaning Derived From Example ARCH Architecture type uname -m sun4 CPU Processor type uname -p sparc HOST Host name uname -n dinky OSNAME Operating system name Your system probably will still have some performance problems which SunService is unable to help you resolve. Are you new to LinuxQuestions.org?

Modify the entry in the autofs maps.Create the list of all replica servers as a comma-separated list, such as the following: bin aa,bb,cc,dd:/export/local/bin/$CPUAutofs chooses the nearest server. If no specific config/automount property is specified, then the order defined in the config/default property is used. How can we fix this? Therefore, either no options should be used in the auto_home map or the nosuid option must be included with each entry.

What happens is this: automount spawns a child to service any NEW requests to the automounte and the parent spends its time trying to umount all busy mounts. Q: What does the following error mean: "automount: Can't get my address" A: Your current naming service does not have an entry for your hostname. However, if the server does not support a public file handle, the MOUNT protocol is used. Using the nistbladm command, add or delete your changes to the direct map.