Index Index for
Section 8
Index Alphabetical
listing for N
Bottom of page Bottom of
page

nfsshare(8)

NAME

nfsshare - A command to administer disk shares that were automatically created for NFS exported file systems

SYNOPSIS

/usr/sbin/nfsshare [-v-d-l-s-t] [sharename]

OPTIONS

-v Verbose mode. -d [sharename] Deletes one or all shares that are derived from NFS exports. If a sharename is supplied on the command line, deletes only that share. -l [sharename] Lists one or all shares that are derived from NFS exports. If a sharename is supplied on the command line, list only that share. -s Synchronizes the NFS exported file systems with disk shares. For each NFS exported file system, creates a disk share and removes disk shares for which NFS exports no longer exist. -t Enables the creation of debug trace files. This option is available only with Advanced Server for UNIX debug kits.

DESCRIPTION

The nfsshare utility creates a disk share for each file system exported through NFS. This command must be run as root. The sharing of NFS exports is controlled by the following registry value entries in the following registry path: <filename>\\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ AdvancedServer\FileServiceParameters\ </filename> NFSExportFile Contains the name of the NFS export file, which by default is /etc/exports. ShareNFSExports Permits the creation of ASU disk shares from NFS exports, which is enabled by default. SyncNFSExports When ASU starts, synchronizes the NFS exports with the ASU disk shares. If NFS sharing is denied, existing NFS shares are deleted. IgnoreUnixPermissions NFS sharing is denied if this entry is enabled.

EXAMPLES

1. To list NFS shares, enter: # nfsshare -l 2. To delete all NFS shares, enter: # nfsshare -d 3. To synchronize shares, enter: # nfsshare -s

Index Index for
Section 8
Index Alphabetical
listing for N
Top of page Top of
page