HP-UX System Administrator's Guide: Routine Management Tasks

/usr/sbin/mkfs -F vxfs -o nolargefiles /dev/vg02/rlvol1
/usr/sbin/newfs -F vxfs -o nolargefiles /dev/vg02/rlvol1
Changing from a Large-Files File System
You can change a file system back and forth between largefiles and nolargefiles
using the HP System Management Homepage (HP SMH) or the fsadm command
(shown below).
To make the change using the HP System Management Homepage:
1. Navigate to the File Systems configuration page (Tools Disks and File
Systems File Systems)
2. Select the file system that you want to change
3. From the action list on the right side of the page, select:
Modify HFS, if the file system requiring alteration is an HFS file system, or
Modify VxFS, if the file system requiring alteration is a VxFS file system
NOTE: Only the appropriate action for the selected file system will be displayed.
HFS file systems:
To convert an HFS file system from largefiles to nolargefiles, the file system
must be in a clean state
4
and must be unmounted. Also, in order for the fsadm
command to succeed in the conversion from a largefiles mode to a nolargefiles
mode, you must first remove an files that are greater than 2GB in size.
The following example shows how to convert a largefiles HFS file system to a
nolargefiles HFS file system.
# fsck -F hfs /dev/vg03/lvol2
fsck: /dev/vg03/lvol2: mounted file system
continue (y/n)? y
** /dev/vg03/lvol2
** Last Mounted on /testHFS
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
2 files, 0 icont, 9 used, 512490 free (10 frags, 64060 blocks)
***** MARKING FILE SYSTEM CLEAN *****
***** FILE SYSTEM WAS MODIFIED *****
#/usr/sbin/umount /myfilesystem
#/usr/sbin/fsadm -F hfs -o nolargefiles /dev/vg03/rlvol2
4. Use the fsck command to check the state of, and if necessary repair HFS file systems. See the fsck(1M)
and fsck_hfs(1M) manpages
Managing Large Files 117