AutoFs Config in Solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris AutoFs Config in Solaris 10
# 1  
Old 02-04-2010
AutoFs Config in Solaris 10

Hi,
i'm new to Solaris ,i have this task which need to be completedand i couldn't find a way .The peoblem is i have a Server-A and Server-B
i need to automount a folder in Server-b to Server-A for permanently .i've found only auto_master and auto_home(in /etc no auto.misc like linux) and what are the step do i need to do in Server-b to make the folder available to Server-A ,again their is no /etc/export for nfs sharing.so need some initiation to work on this
# 2  
Old 02-04-2010
solaris is not linux! so there is no /etc/exports! BUT nfs was invented by sun! so there is for sure nfs on solaris.
look for /etc/dfs/dfstab to share folders in solaris and also start to use the fine documentation from sun (now oracle).

Accessing Network File Systems Topics (System Administration Guide: Network Services) - Sun Microsystems
# 3  
Old 02-04-2010
Quote:
Originally Posted by DukeNuke2
solaris is not linux! so there is no /etc/exports! BUT nfs was invented by sun! so there is for sure nfs on solaris.
look for /etc/dfs/dfstab to share folders in solaris and also start to use the fine documentation from sun (now oracle).

Accessing Network File Systems Topics (System Administration Guide: Network Services) - Sun Microsystems
I edited the file /etc/dfs/dfstab in my Server-B and added the lines
Code:
share -F nfs -o rw /myexport

and issued the command shareall
But what file should i use to edit in Server-A to get automount is it auto_home or auto_master
# 4  
Old 02-04-2010
have you considered to read the documentation from the link?

Mounting File Systems (System Administration Guide: Network Services) - Sun Microsystems
# 5  
Old 02-05-2010
Quote:
Originally Posted by DukeNuke2
have you considered to read the documentation from the link?

Mounting File Systems (System Administration Guide: Network Services) - Sun Microsystems
based on that Documentation i presumed that i need to first make my Server-A has to NFS share the Folder,if i'm wrong then can you inist me what actually i got to do
# 6  
Old 02-05-2010
If you want to share a mount point from A to B, you will need to do this.
edit the /etc/dfs/dfstab file
start the nfs server daemon.
on B, start the nfs client daemon.
use the mount command as such, mount serverA:<dir> /serverB_mountpoint
# 7  
Old 02-05-2010
Quote:
Originally Posted by incredible
If you want to share a mount point from A to B, you will need to do this.
edit the /etc/dfs/dfstab file
start the nfs server daemon.
on B, start the nfs client daemon.
use the mount command as such, mount serverA:<dir> /serverB_mountpoint
The code i gave above is enought for the Nfs server ?
and i need to make it as automount .not in command line
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Update config file using shell script in Solaris 5.10

hi I need to update the value in config.txt value using shell script example: lets say a value in config.txt file is as SEQUENCE=1 after some iteration as the loop ends , the SEQUENCE should get update in the config.txt file with a new value of SEQUENCE=2. also , can anyone please help me... (7 Replies)
Discussion started by: ravidwivedi2288
7 Replies

2. Solaris

Network / global zones (Solaris 10 / 8) config recommendations

I have a few non-globa zones running in a 10.10.xx.xx network on a machine that is on a 192.168.xx.xx network. My goal is to allow each of the non-global zones to communicate to each other while not communicating on the 192.168.xx.xx network. I am using the current version of Solaris 10 in... (7 Replies)
Discussion started by: BradJM
7 Replies

3. UNIX for Dummies Questions & Answers

list of important config files in solaris 10

Hi all, I am going to reitre one solaris 10 server soon. What are the important config files to backup in case if i want to check how this system was setup (need list in general) ? Thanks! in advance (1 Reply)
Discussion started by: lramsb4u
1 Replies

4. Solaris

Solaris config files syntax

I have recently been told that on a Solaris 10 system # means default settings, and that ## indicates a comment. Therefore, the following setting in the etc/default/login file #RETRIES=5 indicates that the number of failed login attempts allowed is 5. Is this true or false? Should... (5 Replies)
Discussion started by: jclarkaz
5 Replies

5. UNIX for Dummies Questions & Answers

Raid config on Jumpstart (Solaris 10

Hi there, I was wondering if it is possible to include a RAID configuration in my Solaris 10 Jumpstart files, so that I don't have to manually set up RAID on all my machines. Thanks P.S. I started messing around with Solaris only a week back, so if I sound like a complete idiot, you know... (1 Reply)
Discussion started by: iman453
1 Replies

6. Solaris

how to config x11 and connect to solaris using vncviewer under Windows XP

dear bro. I using /usr/X11/bin/xorgconfig command configed xorg, and sync && init 6 but after restarted, used svcs -a to checked services status: maintenance 23:41:50 svc:/application/x11/xvnc-inetd:default How to solve this problem and connect to solaris using vncviewer under... (5 Replies)
Discussion started by: P2Baby
5 Replies

7. Solaris

Printer Config for Solaris 5.9

Hi All, Am Trying to configure a Network Printer (HP Laser Jet 4250n) Printer Name hari for a Solaris 5.9 server. Output of lpstat: root: lpstat -t scheduler is running no system default destination device for hari: /dev/null hari accepting requests since Mon Jul 28 10:38:51 2008... (0 Replies)
Discussion started by: efunds
0 Replies

8. UNIX for Advanced & Expert Users

solaris 10 autofs - how to mount /net (hosts)

Hello Everyone, I am working with Solaris 10 autofs feature. On the server (and client) in /etc/auto_master I have this entry: /net -hosts -nosuid,nobrowse On the server, I have shared out /var/tmp, started the nfs server and issued the shareall command. When I issue share I can... (1 Reply)
Discussion started by: anies rahman
1 Replies

9. Solaris

disabling nfs and autofs in solaris 9

Hi, I want to permanently disable nfs and autofs in solaris 9, (2 Replies)
Discussion started by: manoj.solaris
2 Replies

10. UNIX for Advanced & Expert Users

Losing IP config on reboot of Solaris 8

After a reboot my ifconfig -a has nothing but 0.0.0.0 have to reinput my IP and default route, what makes the info save? (1 Reply)
Discussion started by: jo calamine
1 Replies
Login or Register to Ask a Question