Building a new master device

This section describes the process for creating a new master device using the dataserver utility. The master device is built using the build mode in dataserver. After the master device is built, the server shuts down. You must then manually start the server in the start mode. After this you can start, stop, and restart Adaptive Server whenever necessary without having to rebuild the master device

Adaptive Server uses three types of page sizes:

The following syntax creates a new master device with dataserver:

dataserver -ddevice_name
. . . 
	-b [master_device_size [k|K|m|M|g|G]
	[-z logical_page_size [k|K]
-h

Where:

-d device_name – is the full path name of the device for the master database. The master database device must be writable by the user who starts Adaptive Server. The default master database device name is d_master.

-b – indicates that dataserver is in build mode and creating a new master device, and indicates the size of the master device. If you do not provide a unit specifier (k, m, g) for the size of the device, dataserver assumes a size in virtual pages. The size of a virtual page is always 2K. For example:

-z – specifies the logical page size, which is always 2K, 4K, 8K, or 16K. That is, one logical page = N virtual pages. This parameter is optional during the build phase and is ignored during the start mode. If you do not include the -z parameter during the build mode, the master device is built with 2K logical pages.

-h – prints the syntax for the dataserver command.

See dataserver for a full list of dataserver parameters and their definitions.