Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Administering a System: Managing Disks and Files
Managing File Systems
Chapter 6654
For example, suppose the file system /home resides in the logical
volume /dev/vg4/users_lv. Its current size is 50MB, as verified by
running bdf. You want the new file system (as well as logical volume
size) to be 72MB. Enter:
lvextend -L 72 /dev/vg4/users_lv
Read SAM’s online help or lvextend (1M) for further details.
3. Back up the JFS file system, using any backup utility you prefer.
Refer to “Backing Up Data” on page 674 for detailed information on
backup logistics.
4. Run mkfs with the -F vxfs option to recreate a JFS file system of
the new size. Refer to mkfs_vxfs (1M) for details.
5. Restore the JFS file system onto the newly created file system.
Examples and Cookbook Procedures
See:
• “Moving a Directory to a Logical Volume on Another System” on
page 874
• “LVM Procedures” on page 593
Managing Large Files
Large files (greater than 2 GB) are supported on HP-UX Releases 10.20
and later. When working with large files be aware of these issues:
• You cannot perform interactive editing on large files. For example, if
you try to run vi on a large file, the following error message appears:
vi
large_file
"
large_file
" Value too large to be stored in data
type
• You cannot mail a large file.
• You cannot print a large file.