# This is an example configuration file for SM 3.0

# ********************* CLIENT OPTIONS ***************************

# The client has a 200 page buffer pool.
client*bufpages:  	200

#
# The client library finds out what volumes it can mount from the mount
# option.  The first number in the option value is the volume ID.  The
# second number is a port number for the server managing the volume.
# The address after "@" is the machine on which the server is running.
# You must change <serverhost> to be a machine address such as
# caseus.cs.wisc.edu.
#
client*mount:  		3001 9000@<serverhost>
#client*mount:  		3002 9000@caseus.cs.wisc.edu


# ********************* SERVER OPTIONS ***************************

#
# Set the server buffer pool size and have the server print the
# value of all options when it starts.
#
server*bufpages:    400
server*verbose:     yes

#
# The server named "sm_server" will run on this port.  Notice that 9000
# matches the information in the client's mount option above.
#
server.sm_server.portname:  9000

#
# Here we tell the server and formatvol about the log and data
# volumes.
# The "[sf]*" prefix to the options makes them visible to
# servers and formatvol.
#
# The logformat option describes the log volume.
# The first part of the option is the name of the file containing
# the volume.  Next is the volume ID, the number of cylinders
# in the volume, the number of tracks/per cylinder, the number
# of pages/track, and finally the size (in K) of log pages. 
#
[sf]*logformat: <full_path_to_home>/volume/log.3000 3000: 1: 1: 500: 8

#
# This specifies that the server, "sm_server", uses volume 3000 for a
# log.
#
server.sm_server.logvolume: 3000

#
# The dataformat option describes the data volumes.
# It is identical to logformat except there is no log page size
# parameter.  Note that colons or white space can be used to
# delimit the parts of the option value.
#
[sf]*.dataformat:   <full_path_to_home>/volume/data.3001 3001 1 1 1000
#[sf]*.dataformat:   /var/home/zwilling/volume/data.3002 3002 1 1 1000

