in reply to Problem opening large file

Ok I tried the sysopen call and it got the same error. I even tried explicitly using the O_LARGEFILE option like...
sysopen(MAINFEED, $main_file, O_RDONLY | O_LARGEFILE) or die "Canno +t open main feed file $main_file";
As for the file system, it is vxfs but it looks like largefile support is enabled...
grep AR2 mnttab /dev/vx/dsk/optdg/AR2 /AR2 vxfs rw,suid,delaylog,largefiles,io +error=mwdisable,dev=449c138 1200983054 grep AR2 vfstab /dev/vx/dsk/optdg/AR2 /dev/vx/rdsk/optdg/AR2 /AR2 vxfs 1 + yes -
Any other ideas? Thanks for the suggestions so far.

Replies are listed 'Best First'.
Re^2: Problem opening large file
by dwm042 (Priest) on Jun 25, 2008 at 17:23 UTC
    If it's vxfs, the true test of how the file system is currently configured will be a command named fsadm (look in /opt/VRTSvxfs/sbin for it). As an example:

    ./fsadm /foo nolargefiles