ASE 12.0.x and Earlier

To build a new master device, execute buildmaster, specifying the location and size of the master device. buildmaster should always be run by the operating system user who owns the Adaptive Server devices. Remember that buildmaster takes the size in 2K blocks. For example, if you want a 14MB master device, set the size parameter to 7168 2K blocks.

WARNING! Never execute buildmaster while Adaptive Server is running!

To build a new 14MB master device, use a command similar to one in the following table:

Operating System

Command

UNIX

buildmaster -ddevice_name -s7168

Digital OpenVMS

buildmaster/disk=device_name/size=7168

Novell NetWare

load bldmastr -ddevice_name -s7168

OS/2, Windows NT

bldmastr -ddevice_name -s7168

If the master database has been altered, alter it again using exactly the same commands. The master database must be re-created both logically and physically to look exactly the way it did at the time of the last dump. This includes any alterations to tempdb or model.

buildmaster initializes the specified device as the Sybase master device and creates the master, model, and tempdb databases on this device. Any information existing on the device will be overwritten.

buildmaster installs default character set and sort order. On HP-UX, buildmaster installs the roman_8 character set and sort order, the default sort order/character set for this platform; srvbuild and srvbuildres are capable of installing additional character sets.

Refer to buildmaster, srvbuild and srvbuildres in the Adaptive Server utility programs manual for additional information.

NoteBe sure to execute buildmaster from the correct Adaptive Server version. Refer to “How to Determine Your Adaptive Server Version” in the Error Message Writeups chapter for instructions.