Veritas Storage Foundation 5.1 SP1 Advanced Features Administrator"s Guide (5900-1503, April 2011)
For example for DB2 to mount a file system named /datavol on a mount point
named /db2data:
To enable Concurrent I/O on a new SMS container using the namefs -o cio option
◆
Using the mountcommand, mount the directory in which you want to put data
containers of the SMS tablespaces using the Concurrent I/O feature.
# /usr/sbin/mount -Vt namefs -o cio /path_name /new_mount_point
where:
■ /path_name is the directory in which the files that will be using Concurrent
I/O reside
■ /new_mount_point is the new target directory that will use the Concurrent
I/O feature
The following is an example of mounting a directory (where the new SMS
containers are located) to use Concurrent I/O.
To mount an SMS container named /container1 on a mount point named /mysms:
# /usr/sbin/mount -Vt namefs -o cio /datavol/mysms/container1 /mysms
To enable Concurrent I/O on an existing SMS container using the namefs -o cio
option
1
Stop the DB2 instance using the db2stop command.
2
Make the directory that will have Concurrent I/O turned on available using
the mv command.
# mv /mydb/mysmsdir /mydb/mysmsdir2
3
Remount /mydb/mysmsdir2 on /mydb/mysmsdir using the mount command
with the -o cio option.
# mount -Vt namefs -o cio /mydb/mysmsdir2 /mydb/mysmsdir
4
Start the DB2 instance using the db2start command.
# db2stop
# mv /mydb/mysmsdir /mydb/mysmsdir2
# mount -Vt namefs -o cio /mydb/mysmsdir2 /mydb/mysmsdir
# db2start
This example shows how to mount a directory for an existing SMS container to
use Concurrent I/O.
103Improving database performance with Veritas Concurrent I/O
Enabling and disabling Concurrent I/O