[Next] [Previous] [Up] [Top] [Contents]

20.3.2 RFS Installation and Initialization

The RFS software must be loaded from the Installation tape or CDROM, either at installation or later with the add_services utility.

The following kernel options are required in the configuration file in order to use RFS:

options RFS
options VFSSTATS
pseudo device tim64
pseudo device tirw64
pseudo device tcptli32
pseudo device sp
pseudo device clone
pseudo device snit
pseudo device pf
pseudo device nbuf

You need to choose a unique domain name, having a maximum of 14 characters (SysV restriction). Then create the file, /usr/nserve/rfmaster, on the primary name server. This file should contain the names and IP addresses of the primary and secondary RFS name servers in the format:

RFS_domain server_type RFS_domain.hostname

RFS_domain.hostname A hex_IP_address

where server_type should be replaced by either P (primary) or S (secondary), and separate each field of a line by a space or tab.

To convert an IP address to hex use the following command for hosts listed in /etc/hosts:

% hostrfs tardis


The database file, /usr/nserve/rfmaster, should be readable by everyone, but writable only by root (mode 644).

Initialize RFS on the name server with:

# dorfs init RFS_domain tcp [port num]

where init initializes the services for the domain and tcp specifies the network protocol type.

The RFS daemons are started with:

# dorfs start

This will start the daemons: listener, rfudaemon, rfs:server, rfs:recovery, rfs:rfdaemon

RFS startup can be done at boot time by uncommenting the associated lines in /etc/rc.

Initialize RFS on the client by first copying the /usr/nserve/rfmaster file from the server, again setting the permissions to 644. After the primary name server is started initialize RFS with:

# dorfs init RFS_domain tcp [port num]

and start the RFS daemons with:

# dorfs start

Unix System Administration - 8 AUG 1996
[Next] [Previous] [Up] [Top] [Contents]