Veritas File System 5.0 Administrator's Guide (September 2006)

To create a new Sybase database device
1
Go to the /sybmaster file system:
$ cd /sybmaster
2
Create the masterdev file and preallocate 100 MB for the file:
$ qiomkfile -s 100m masterdev
You can use this master device while running the sybsetup program or
sybinit script.
3
To create the master device directly, enter:
$ buildmaster -d masterdev -s 51200
4
Add a new 500 megabyte database device datadev to the file system /sybdata
on your dataserver:
$ cd /sybdata
$ qiomkfile -s 500m datadev
...
5
Start the Sybase database:
$ isql -U sa -P sa_password -S dataserver_name
6
Set up the datadev database device:
1> disk init
2> name = "logical_name",
3> physname = "/sybdata/datadev",
4> vdevno = "device_number",
5> size = 256000
6> go
Enabling and disabling Quick I/O
If the Quick I/O feature is licensed and installed, Quick I/O is enabled by default
when a file system is mounted. The -o qio and -o noqio mount options enable
and disable, respectively, Quick I/O when a file system is mounted.
If Quick I/O is not installed or licensed, a file system mounts by default without
Quick I/O and no error message is displayed. However, if you specify the -o qio
191Quick I/O for Databases
Enabling and disabling Quick I/O