When QIOMKFILE is running creates file correctly, but he gets error - extra file

Article:TECH137111  |  Created: 2010-08-02  |  Updated: 2010-08-02  |  Article URL http://www.symantec.com/docs/TECH137111
Article Type
Technical Solution


Environment

Issue



When QIOMKFILE is run it creates file correctly with an extra file It was found that running qiomkfile without mounting with qio option, an extra file is created: Incorrect configuration: # ls -lart | grep data01 -rw-r----- 1 sybase sybase 4294967296 Jul 14 13:33 .data01 lrwxrwxrwx 1 sybase sybase 19 Jul 14 13:33 data01 -> .data01::cdev:vxfs: -rw-r--r-- 1 sybase sybase 4294967296 Jul 14 13:36 .data01::cdev:vxfs: <<<--- EXTRA! Mount Options as seen in the /etc/mnttab: /dev/vx/dsk/datavg/encrDev /encr_devices vxfs rw,suid,delaylog,largefiles,ioerror=mwdisable,dev=510afc81276788771


Cause



If VxFS is installed and Quick I/O is licensed, Quick I/O is enabled by default when a file system is mounted. In this case, “qio” was not used when mounted as seen from the “/etc/mnttab” output. /dev/vx/dsk/datavg/encrDev /encr_devices vxfs rw,suid,delaylog,largefiles,ioerror=mwdisable,dev=510afc81276788771


Solution



Alternatively, one can use the VxFS specific mount option, “-o qio”, to enable Quick I/O as shown below without having to umount and then mount filesystem. # mount -F vxfs -o remount,qio /dev/vx/dsk/DG/VOL /MNT_POINT


Supplemental Materials

Description

 

Correct configuration looks like below:
# ls -lart | grep data01
lrwxrwxrwx   1 sybase   sybase                   19 Jun 2 2009 data01 -> .data01::cdev:vxfs:
-rw-r-----        1 sybase   sybase   4294967296 Jul 27 11:11 .data01
 
Mount Options as seen in the /etc/mnttab:
/dev/vx/dsk/datadg/encr_devices /encr_devices   vxfs    rw,suid,delaylog,largefiles,qio,ioerror=mwdisable,dev=50dc52a   1278343725


Article URL http://www.symantec.com/docs/TECH137111


Terms of use for this information are found in Legal Notices