Administering File System Logical Volumes; Creating A File System - HP -UX 11i Administrator's Manual

Logical volume management
Hide thumbs Also See for HP-UX 11i:
Table of Contents

Advertisement

NOTE:
For volume groups that support bootable PVs (Version 1.0 and Version 2.2 or higher),
lvmove will not move root, boot, swap, or dump PVs.
The lvmove migration will fail for a space efficient snapshot that has pre-allocated extents. For
more information about snapshots, see
(page 103)

Administering File System Logical Volumes

This section describes special actions you must take when working with file systems inside logical
volumes. It addresses the following topics:
"Creating a File System" (page 97)
"Extending a File System" (page 98)
"Reducing the Size of a File System" (page 99)
"Backing Up a VxFS Snapshot File System" (page 101)
TIP:
When dealing with file systems, you can use HP SMH or a sequence of HP-UX commands.
For most tasks, using HP SMH is quicker and simpler. You do not have to explicitly perform each
of the following distinct tasks; rather, proceed from the HP SMH Disk and File Systems area. HP
SMH performs all the necessary steps for you.

Creating a File System

When creating either an HFS or VxFS file system in a logical volume, you can use HP SMH or a
sequence of HP-UX commands. If you choose to use HP-UX commands directly, the following list
describes the subtasks for creating a file system.
1.
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, VxFS has been configured into the kernel as part of the
default configuration. See HP-UX System Administrator's Guide: Configuration Management
for information on how to add a file system type.
2.
Estimate the size required for the logical volume. To estimate the size requirements for a logical
volume containing a file system, see
3.
Determine if there is sufficient disk space available in the volume group. Use the vgdisplay
command to calculate this information, as described in
If there is not enough space within the volume group, you can add a disk to the volume group,
as described in
4.
Create the logical volume. Use lvcreate, as described in
(page
52).
"Creating and Administering Snapshot Logical Volumes"
"Setting Up Logical Volumes for File Systems" (page
"Adding a Disk to a Volume Group" (page
"Creating a Logical Volume" (page
51).
"Creating a Logical Volume"
Administering File System Logical Volumes
21).
52).
97

Advertisement

Table of Contents
loading

Table of Contents