You can obtain and display information about Quick I/O status and file attributes using various options of the ls command:
To list all files on the current file system, including Quick I/O files and their links
$ ls -al filename .filename
The following example shows how to use the -a option to display the absolute path name created using qiomkfile:
$ ls -al d* .d*
For DB2:
-rw-r--r-- 1 db2inst1 db2iadm1 104890368 Oct 2 13:42 .dbfile
lrwxrwxrwx 1 db2inst1 db2iadm1 19 Oct 2 13:42 dbfile -> .dbfile::cdev:vxfs:
For Sybase:
-rw-r--r-- 1 sybase sybase 104890368 Oct 2 13:42 .dbfile
lrwxrwxrwx 1 sybase sybase 19 Oct 2 13:42 dbfile -> .dbfile::cdev:vxfs:
To determine if Quick I/O is installed and enabled for DB2
$ ls -lL filename
The following example shows how to determine if Quick I/O is installed and enabled:
$ ls -lL dbfile
where the first character, c, indicates it is a raw character device file, and the major and minor device numbers are displayed in the size field. If you see a No such file or directory message, Quick I/O did not install properly or does not have a valid Veritas InfoScale Enterprise and Storage license keys.
To show a Quick I/O file resolved to a raw device
$ 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*
For DB2:
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
For Sybase:
crw-r--r-- 1 sybase sybase 45, 1 Oct 2 13:42 dbfile
-rw-r--r-- 1 sybase sybase 104890368 Oct 2 13:42 .dbfile