Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automount volumes from other Solaris machines.. 1

Status
Not open for further replies.

govinds

IS-IT--Management
Jul 25, 2001
5
US
HI,

How do I ensure that certain mount points that I manually mount from another machine, remain mounted even if I reboot the machine in which they are mounted??
Which file do I put in the commands and what commands??
I tried mnttab, but it seems it is read-only..

Govind..
 
You can put NFS mounts on "/etc/vfstab", so they will be mounted at boot time if NFS server is available,the syntax is:

remotemach:/remotepart - localpart nfs - yes [options]

For example, to mount the /usr/local partition, you would enter:

bigserver:/usr/local - /usr/local nfs - yes -

To mount it readonly, you would enter:

bigserver:/usr/local - /usr/local nfs - yes ro

Consult the vfstab man page if you're interested in knowing what the fields that contain "-"s and "yes" are for, for the most part, they're only relevant for non-NFS mounts.


Hope this helps,

Regards,

Carlos Almeida.
 
Can I also use /etc/auto_home and /etc/auto_direct to do the same??
 
When mounting remote filesystems it is a good idea to use options of " soft,bg ".
If the remote machine goes down your system can hang waiting for access to a remote filesystem. By using soft and background as options, your system will still operate without the remote filesystems being mounted.
 
Hello Govinds,

whatever you want to mount at booting time.Just keep in auto_direct and auto_indirect file and insure that your automountd daemon should work.

thanks,

ajay
 
Ajay,

What does the file auto_indirect do??

Govind..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top