NETWORK FILE SYSTEMS
Network File Systems:
How do I ...
smit top menu
smit nfs
Start NFS daemons if not running
smit nfsconfigure
mknfs -B
Usage: mknfs [-I|-B|-N]
Stop NFS daemons NOW
smit rmnfs
rmnfs -N
Usage: rmnfs [-I|-B|-N]
Change number of nfsd & biod daemons
smit chnfs
chnfs -n # -b# -B
Usage: chnfs -b num_biods -n num_nfsds [-I|-B|-N]
Start Automounter if not running
smit mkautomnt
Usage: [ -m ] [-n ] [ -T ] [ -v ] [ -D name=value ] [ -f MasterFile ][ -M MountDirectory ] [ -tl Duration ]
[ -tm Interval ] [ -tw Interval ] Directory ..$.MapName ... [ -MountOption [ ,MountOption ] ... ]
Stop Automounter
kill `ps -ea | grep automoun | awk '{print $1}'` 2>/dev/null
Add a directory to Exports list
smit mknfsexp
Usage: mknfsexp -d directory [ -f exports_file ][-t {rw|ro}{rm -h hostname[,hostname]...}][-a uid]
[-r hostname[,hostname]...[-c hostname[,hostname]...[-s|-n] [-I|-B|-N]
Change/Show attributes of and Exported directory
smit chnfsexp
Usage: chnfsexp -d Directory [ -f Exports_file ] [ -t [ { rw | ro | rm -h HostName [,HostName ... ] } ] ]
[ -a UID ] [ -r HostName [ , HostName ... ] ] [ -c HostName ,HostName ... ] ]
[ -s | -n ] [ -I | -B | -N ] [ -P | -p ]
Remove a directory from Exports list
smit rmnfsexp
Usage: rmnfsexp -d Directory [-f Exports_file] [ -I | -B | -N ]
Add a File System for Mounting
smit mknfsmnt
Usage: mknfsmnt -f PathName -d RemoteDirectory -h RemoteHost [ -t { rw | ro} ] [ -m MountTypeName ]
[ -w { fg | bg } ] [-X | -x ] [ -S | -H ] [ -Y | -y ] [-Z | -z ] [-e | -E ] [ -a | -A ] [ -j | [ -J ] [ -q | [ -Q ]
[ -g | [ -G ] [ -s | -n ] [ -I | -B | -N ] [ -r TimesToRetry ] [ -R NumRetrans ] [ -b ReadBufferSize ]
[ -c WriteBufferSize ] [ -o TimeOut ] [ -P PortNumber ] [ -u AcRegMin ] [ -U AcRegMax ][ -v AcDirMin ]
[-V AcDirMax ] [ -T AcTimeOut ] [ -p NumBiods ] [ -K { any | 2 | 3 } ] [ -k { any |tcp | udp } ]
Change / Show Attributes of an NFS File System
smit chnfsmnt
Usage: chnfsmnt -f PathName -d RemoteDirectory -h RemoteHost [ -t { rw | ro }] [ -m MountTypeName ]
[ -w { fg | bg } ] [ -X | -x ] [ -S | -H ] [ -Y | -y ] [ -Z | -z ] [-e | -E ] [ -a | -A ] [ -j | [ -J ] [ -q | [ -Q ]
[ -g | [ -G ] [ -s | -n ] [ -I | -B | -N ] [ -r TimesToRetry ] [ -R NumRetrans ] [ -b ReadBufferSize ]
[ -c WriteBufferSize ] [ -o TimeOut ] [ -P PortNumber ] [ -u AcRegMin ] [ -U AcRegMax ] [ -v AcDirMin ]
[-V AcDirMax ] [ -T AcTimeO ] [ -p NumBiods ] [ -K { any | 2 | 3 } ] [ -k { any | tcp| udp } ]
Display characteristics of NFS mountable file systems
Usage: lsnfsmnt [ -c | -l ] [ FileSystem ]
Remove an NFS File System
smit rmnfsmnt'
rmnfsmnt -f filesystem -B
Usage: rmnfsmnt -f PathName [ -I | -B | -N ]
Configure Secure NFS & NIS
smit rpc
Set up Cache FS
smit cachefs