coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Thursday September 9, 2010


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?
Create an account

Who's Online
We have 23 guests online

Newest Member

santoshd

Hit Counter
4775920 Visitors

cool Statistics
coolcommands:1313
Categories:82
Total queries:524278
Members:4288





Search coolcommands.com
Search Keyword:


coolcommand

how to add an automount in IBM AIX
Description

To add an automount on an IBM AIX server:

1) Enable rc.nfs in /etc/inittab (remove colon in front of line if it exists)

2) Start NFS

# startsrc -g nfs

3) Add the appropriate entries in /etc/auto_master. In my case I want to add a sub map called auto.atu which would automount under /batch/atu.

Here are the contents of /etc/auto-master

/etc/auto.atu /batch/atu

4) Create /etc/auto.atu

data server1:/batch/atu/data

NOTE: make sure server1 has exported /batch/atu to this server (use exportfs commands on server1)

5) Start automount

# /usr/sbin/automount -m -v -f /etc/auto_master
automount: Using automount master map as file /etc/auto_master
automount: /batch/atu mounted
automount: no unmounts

6) Verify

# mount|grep auto
/etc/auto.atu /batch/atu autofs Jan 30 14:29 ignore

# lssrc -a | grep automount
Example

/usr/sbin/automount -m -v -f /etc/auto_master

Return to search results

Random coolcommands

coolcommand: removing a physical volume from a volume group on IBM AIX server
Example: rmlvcopy <LVname> 1 <hdisk#>
[show me the details]
coolcommand: how to show special characters in a file with vi
Example: :set list
[show me the details]
coolcommand: how to test if file1 is older than file2 in a korn shell script
Example: test file1 -ot file2; [ file1 -ot file2 ]
[show me the details]
coolcommand: how to enable NTP in IBM VIO Server
Example: startnetsvc xntpd
[show me the details]

coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts



FREE
myPMS

Password
Management
System

by

LVOware.com




Top 5 Submitters

lvo1138
audet37
kah00na32
Mariom24
lebjf00013

Top 5 Searches

Category Solaris42738
Category AIX38092
Category General UNIX34294
solaris20874
aix19395

Terms of Use
Privacy
Contact


 
coolcommands.com © 2010. All Right Reserved.
Programming by PRATTICO Consulting . Hosting by Apricusum