Veritas Storage Foundation 5.1 SP1 Advanced Features Administrator"s Guide (5900-1503, April 2011)
To show a Quick I/O file resolved to a raw device
◆
Use the ls command with the file names as follows:
$ ls -alL filename .filename
The following example shows how the Quick I/O file name dbfile is resolved
to that of a raw device:
$ ls -alL d* .d*
crw-r--r-- 1 db2inst1 db2iadm1 45, 1 Oct 2 13:42 dbfile
-rw-r--r-- 1 db2inst1 db2iadm1 104890368 Oct 2 13:42 .dbfile
Extending a Quick I/O file in a DB2 environment
Although Quick I/O files must be preallocated, they are not limited to the
preallocated sizes. You can grow or “extend” a Quick I/O file by a specific amount
or to a specific size, using options to the qiomkfile command. Extending Quick
I/O files is a fast, online operation and offers a significant advantage over using
raw devices.
Before extending a Quick I/O file, make sure the following conditions have been
met:
■ You must have sufficient space on the file system to extend the
Quick I/O file.
Prerequisites
■ You can also grow VxFS file systems online (provided the
underlying disk or volume can be extended) using the fsadm
command. You can expand the underlying volume and the
filesystem with the vxresize command.
■ You must have superuser (root) privileges to resize VxFS file
systems using the fsadm command.
■ See the fsadm_vxfs (1M) and qiomkfile (1M) manual pages for
more information.
Usage notes
The following options are available with the qiomkfile command:
Extends the file by a specified amount to allow DB2 container resizing.-e
Increases the file to a specified size to allow DB2 container resizing.-r
51Improving DB2 performance with Veritas Quick I/O
Extending a Quick I/O file in a DB2 environment