When creating the new master device, make sure you use the same page size as your old master device and make the new device at least as large as the old one. The following example creates a device with a 2048-byte (2K) logical page size, and total size 100 megabytes + 8 Kilobytes (the 8 KB is extra space for the configuration area).
% $SYBASE/bin/dataserver -d$SYBASE/d_master.dat -z 2k -b 51204
This example applies to Unix platforms; Windows users can find the equivalent syntax in ASE Utility Programs for Windows and Windows NT. Also note that starting with 12.5, the dataserver command allows a space between option and parameter.
Use the -s option with this command to specify the server name. You can also specify the -b size in Kb, Mb, or Gb. In the above example you would use -b 100.00782M. Without one of the K, M, or G modifiers, the default device size is expressed in server virtual pages, 2048 bytes each.
At device creation, the server issues large numbers of "upgrade" messages tracking its progress; these messages help troubleshoot any problems. They are upgrade messages because the server creates a new installation by doing an "upgrade" of a device that it has just created.
When finished, the server shuts down. You now have a master database containing minimal system information, including an sa login whose password is null, and minimally sized master, model, tempdb, and sybsystemdb databases.