Sybase 15.0.2 Server User Manual


 
APPENDIX C Using sybsystemprocs
Installation Guide 139
If any of the named devices are OS files rather than raw partitions, use the
appropriate OS commands to remove those files.
4 Remove all files for the list of d.phyname returned in step 1.
Note File names cannot be complete path names. If they are relative paths,
they are relative to the directory from which your server was started.
5 Find another existing device that meets the requirements for additional
free space, or use a
disk init command similar to the following to create an
additional device for
sybsystemprocs where /sybase/work/ is the full,
absolute path to your system procedures device:
1> use master
2> go
1> disk init
2> name = "sysprocsdev",
3> physname = "/sybase/work/sysproc.dat",
4> size = 51200
5> go
Note Server versions 12.0.x and later accept but do not require
"vdevno=number". In server versions earlier than 12.0.x, the number for
vdevno must be available. For information about determining whether
vdevno is available, see the System Administration Guide.
The size you provide should be the number of megabytes of space needed
for the device multiplied by 512.
disk init requires the size to be specified
in 2K pages. In this example, the size is 112MB (112 x 512 = 57344). For
more information on
disk init, see the Reference Manual.
6 Create a
sybsystemprocs database of the appropriate size on that device,
for example:
1> create database sybsystemprocs on sysprocsdev =
112
2> go
7Run the installmaster script in the old Sybase installation directory, as
follows:
isql -Usa -Ppassword -Sserver_name -i/old_dir/
scripts/installmaster -oinstallmaster.out