Veritas InfoScale™ 7.4 Solutions Guide - Solaris
- Section I. Introducing Veritas InfoScale
- Section II. Solutions for Veritas InfoScale products
- Section III. Improving database performance
- Overview of database accelerators
- Improving database performance with Veritas Quick I/O
- About Quick I/O
- Improving database performance with Veritas Cached Quick I/O
- Improving database performance with Veritas Concurrent I/O
- Section IV. Using point-in-time copies
- Understanding point-in-time copy methods
- Backing up and recovering
- Preserving multiple point-in-time copies
- Online database backups
- Backing up on an off-host cluster file system
- Database recovery using Storage Checkpoints
- Backing up and recovering in a NetBackup environment
- Off-host processing
- Creating and refreshing test environments
- Creating point-in-time copies of files
- Section V. Maximizing storage utilization
- Optimizing storage tiering with SmartTier
- Optimizing storage with Flexible Storage Sharing
- Optimizing storage tiering with SmartTier
- Section VI. Migrating data
- Understanding data migration
- Offline migration from Solaris Volume Manager to Veritas Volume Manager
- How Solaris Volume Manager objects are mapped to VxVM objects
- Overview of the conversion process
- Planning the conversion
- Preparing a Solaris Volume Manager configuration for conversion
- Setting up a Solaris Volume Manager configuration for conversion
- Converting from the Solaris Volume Manager software to VxVM
- Post conversion tasks
- Online migration of a native file system to the VxFS file system
- Migrating a source file system to the VxFS file system over NFS v3
- VxFS features not available during online migration
- Migrating storage arrays
- Migrating data between platforms
- Overview of the Cross-Platform Data Sharing (CDS) feature
- CDS disk format and disk groups
- Setting up your system to use Cross-platform Data Sharing (CDS)
- Maintaining your system
- Disk tasks
- Disk group tasks
- Displaying information
- File system considerations
- Specifying the migration target
- Using the fscdsadm command
- Maintaining the list of target operating systems
- Migrating a file system on an ongoing basis
- Converting the byte order of a file system
- Migrating from Oracle ASM to Veritas File System
- Section VII. Veritas InfoScale 4K sector device support solution
Extending a Quick I/O file
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:
Prerequisites |
|
Usage notes |
|
The following options are available with the qiomkfile command:
-e | Extends the file by a specified amount to allow resizing. |
-r | Increases the file to a specified size to allow resizing. |
To extend a Quick I/O file
- If required, ensure the underlying storage device is large enough to contain a larger VxFS file system (see the vxassist(1M) manual page for more information), and resize the VxFS file system using fsadm command:
For Sybase, for example:
# /opt/VRTS/bin/fsadm -b newsize /mount_point
where:
-b is the option for changing size
newsize is the new size of the file system in bytes, kilobytes, megabytes, blocks, or sectors
mount_point is the file system's mount point
- Extend the Quick I/O file using the qiomkfile command:
# /opt/VRTS/bin/qiomkfile -e extend_amount /mount_point/filename
or
# /opt/VRTS/bin/qiomkfile -r newsize /mount_point/filename
An example to show how to grow VxFS file system:
/db01 to 500MB and extend the tbs1_cont001 Quick I/O file by 20MB:
# /opt/VRTS/bin/qiomkfile -e 20M /db01/tbs1_cont001
# /opt/VRTS/bin/fsadm -b 500M /db01
An example to show how to grow VxFS file system for DB2:
/db01 to 500MB and resize the tbs1_cont001 Quick I/O file to 300MB:
# /opt/VRTS/bin/fsadm -b 500M /db01
# /opt/VRTS/bin/qiomkfile -r 300M /db01/tbs1_cont001
An example to show how to grow VxFS file system for Sybase:
/db01 to 500MB and resize the dbfile Quick I/O file to 300MB:
# /opt/VRTS/bin/fsadm -b 500M /db01
# /opt/VRTS/bin/qiomkfile -r 300M /db01/dbfile