Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Administering a System: Managing Disks and Files
Managing File Systems
Chapter 6 655
Creating a Large-Files File System
If you want a file system to support large files (greater than 2 GB), then
large files must be explicitly enabled, since the default on a system is
small files. (A system will not support large files just because it has been
updated to a release of HP-UX that supports large files.) An advantage to
this is that, if you do not need large files you do not need to enable them
on your system, and everything will continue to work as it has in the
past.
You can create a large-files file system using the mkfs command or the
newfs command. As of the HP-UX 11.0 release, the default behavior of
these commands creates a no-large-files file system. However, this
default may be changed in a future release of HP-UX. Therefore, it is a
good idea to explicitly set either the largefiles or nolargefiles
option.
Examples of Creating a Large Files File System
The following examples show different ways to create a large-files file
system.
/usr/sbin/mkfs -F hfs -o largefiles /dev/vg02/rlvol1
/usr/sbin/newfs -F hfs -o largefiles /dev/vg02/rlvol1
/usr/sbin/mkfs -F vxfs -o largefiles /dev/vg02/rlvol1
/usr/sbin/newfs -F vxfs -o largefiles /dev/vg02/rlvol1
Examples of Creating a No-Large-Files File System
The following examples show different ways to create a file system that
will not support large files.
/usr/sbin/mkfs -F hfs -o nolargefiles /dev/vg02/rlvol1
/usr/sbin/newfs -F hfs -o nolargefiles /dev/vg02/rlvol1
/usr/sbin/mkfs -F vxfs -o nolargefiles /dev/vg02/rlvol1
/usr/sbin/newfs -F vxfs -o nolargefiles /dev/vg02/rlvol1