Veritas Storage Foundation for Oracle 5.0 Administrator's Guide, HP-UX 11i v3, Second Edition, December 2008
Before preallocating space with setext, make sure the following conditions have
been met:
■ The setext command requires superuser (root) privileges.Prerequisites
■ You can use the chown command to change the owner and group
permissions on the file after you create it.
See the setext (1M) manual page for more information.
Usage notes
To create a Quick I/O database file using setext
1
Access the VxFS mount point and create a file:
# cd /mount_point
# touch .filename
2
Use the setext command to preallocate space for the file:
# /opt/VRTS/bin/setext -r size -f noreserve -f chgsize \
.filename
3
Create a symbolic link to allow databases or applications access to the file
using its Quick I/O interface:
# ln -s .filename::cdev:vxfs: filename
4
Change the owner and group permissions on the file:
# chown oracle:dba .filename
# chmod 660 .filename
An example to show how to access the mount point /db01, create a datafile,
preallocate the space, and change the permissions:
# cd /db01
# touch .dbfile
# /opt/VRTS/bin/setext -r 100M -f noreserve -f chgsize .dbfile
# ln -s .dbfile::cdev:vxfs: dbfile
# chown oracle:dba .dbfile
# chmod 660 .dbfile
Using Veritas Quick I/O
Preallocating space for Quick I/O files using the setext command
82