|
| cool Statistics |
| | coolcommands: | 1313 | | Categories: | 82 | | Total queries: | 524278 | | Members: | 4288 | |
|
|
|
 |
|
|
Search coolcommands.com
 |
Submitted by:
lvo   |
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
|  |  |  |  |
|
|
|
|
 |
|
|
|
Top 5 Submitters
|
|---|
| lvo | 1138 |
| audet | 37 |
| kah00na | 32 |
| Mariom | 24 |
| lebjf000 | 13 |
Top 5 Searches
|
| Category Solaris | 42738 |
| Category AIX | 38092 |
| Category General UNIX | 34294 |
| solaris | 20874 |
| aix | 19395 |
|
|
|
|