Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Administering a System: Managing Disks and Files
Managing File Systems
Chapter 6 603
Creating a File System
When creating either an HFS or JFS file system, you can use SAM or a
sequence of HP-UX commands. Using SAM is quicker and simpler.
The following provides a checklist of subtasks for creating a file system
which is useful primarily if you are not using SAM.
If you use SAM, you do not have to explicitly perform each distinct task
below; rather, proceed from SAM’s “Disks and File Systems” area
menu. SAM will perform all the necessary steps for you.
If you use HP-UX commands rather than SAM, many of the commands
mentioned provide options not shown. Be sure to review the descriptions
of the commands in the manpages to see the options available.
❏ “Estimate the Size Required for the Logical Volume” on page 604
❏ “Determine If Sufficient Disk Space Is Available” on page 604
❏ “Add a Disk to a Volume Group” on page 604
❏ “Create the Logical Volume” on page 604
❏ “Create the New File System” on page 605
NOTE Make sure the disk or disks containing the file system are connected to
your computer and configured into HP-UX; refer to Configuring HP-UX
for Peripherals if you need further information.
If you create a new file system of a type other than HFS, you might need
to reconfigure the new type into the kernel. (Normally, JFS will already
have been configured into the kernel as part of the default configuration.
See “Reconfiguring the Kernel (Prior to HP-UX 11i Version 2)” on
page 282 if reconfiguration becomes necessary.)
Creating a File System
You can create a file system either within a logical volume or on a
non-LVM disk. However, using a logical volume is strongly encouraged.