Using the disk init command

A system administrator initializes new database devices with the disk init command, which:

NoteBefore you run disk init, see the installation documentation for your platform for information about choosing a database device and preparing it for use with Adaptive Server. You may want to repartition the disks on your computer to provide maximum performance for your Sybase databases.

disk init divides the database devices into allocation units, groups of 256 logical pages. The size of the allocation unit depends on which logical page size your server is configured for (2, 4, 8, or 16K). In each allocation unit, the disk init command initializes the first page as the allocation page, which contains information about the database (if any) that resides on the allocation unit.

WARNING! After you run the disk init command, dump the master database. This makes recovery easier and safer in case master is damaged. See Chapter 13, “Restoring the System Databases,” in System Administration Guide: Volume 2.