dfstab(4)dfstab(4)NAME
dfstab - file containing commands for sharing resources across a network
dfstab resides in directory /etc/dfs and contains commands for sharing resources across a network. dfstab gives a system administrator a
uniform method of controlling the automatic sharing of local resources.
Each line of the dfstab file consists of a share(1M) command. The dfstab file can be read by the shell to share all resources. System
administrators can also prepare their own shell scripts to execute particular lines from dfstab.
The contents of dfstab put into effect when the command shown below is run. See svcadm(1M).
/usr/sbin/svcadm enable network/nfs/server
share(1M), shareall(1M), svcadm(1M)
2 Feb 2005 dfstab(4)
Check Out this Related Man Page
shareall(1M) System Administration Commands shareall(1M)NAME
shareall, unshareall - share, unshare multiple resources
SYNOPSIS
shareall [-F FSType [,FSType]...] [-| file]
unshareall [-F FSType [,FSType]...]
DESCRIPTION
When used with no arguments, shareall shares all resources from file, which contains a list of share command lines. If the operand is a
hyphen (-), then the share command lines are obtained from the standard input. Otherwise, if neither a file nor a hyphen is specified,
then the file /etc/dfs/dfstab is used as the default.
Resources may be shared by specific file system types by specifying the file systems in a comma-separated list as an argument to -F.
unshareall unshares all currently shared resources. Without a -F flag, it unshares resources for all distributed file system types.
OPTIONS -F FSType Specify file system type. Defaults to the first entry in /etc/dfs/fstypes.
FILES
/etc/dfs/dfstab
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO share(1M), unshare(1M), attributes(5)SunOS 5.11 6 Nov 2000 shareall(1M)
Solaris 8.
So i updated dfstab and added computer2.acme.com i.e:
share -F nfs rw=computer1.acme.com,computer2.acme.com /export/home
how do I get the daemon to recognize the change, without kicking computer1.acme.com off?
kill -HUP
or
/etc/init.d/nfsd stop
/etc/init.d/nfsd start
or... (1 Reply)
Hello,
I am in the middle of a security audit (Soalris 10) and have been given the following directives regarding my dfstab file:
The SA will ensure the NFS server is configured to deny client access requests that do not include a userid.
The SA will ensure access to exported filesystems... (0 Replies)
Help with parsing regex in tripwire:
the rule is" This test verifies that exported file systems do not have the "root=<host>" option specified."
regex that does not work is :
^.*-o+(?=root=\S+|\S+,root=\S+).*
the dfstab looks like this :
# cat /etc/dfs/dfstab
# Place... (1 Reply)
Help with parsing regex in tripwire:
the rule is" This test verifies that all exported file systems found in /etc/exports specify a fully qualified domain name containing "thecss.com" or a NIS netgroup.."
regex that does not work is :
... (1 Reply)