Enabling Largefile support on HPUX

This morning I tried to uncompress an Oracle dump file which was quite big (around 3.5GB) and to my dismay I was greeted by the following error:


# time uncompress bigfile.dmp.Z
bigfile.dmp: File too large

real     3:05.3
user     2:21.9
sys        18.4

After some research I found out that my vxfs filesystem didn't support large files. To enable largefile system support:


# /usr/lib/fs/vxfs/fsadm -o largefiles /
Example: # /usr/lib/fs/vxfs/fsadm -o largefiles /u12

To verify that the largefiles flag is enabled:

# /usr/lib/fs/vxfs/fsadm /
Example: # /usr/lib/fs/vxfs/fsadm /u12