[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Commands Reference, Volume 3

logform Command

Purpose

Initializes a logical volume for use as a JFS log.

Syntax

logform LogName

Description

Attention: Executing the logform command on any Journaled File System (JFS) log device can result in data loss and file system corruption for all JFS file systems logged by the log device.

The logform command initializes a logical volume for use as a JFS log device. The logform command destroys all log records on existing log devices, which may result in file system data loss.

The Logname parameter specifies the absolute path to the logical volume to be initialized (for example, /dev/jfslog1).

Note: The only intended use for the logform command is to initialize a JFS log logical volume as a JFS log device. The SMIT interface for creating a JFS and the crfs command allow only one JFS log device per volume group.

Examples

  1. To create a JFS logging device on a newly created volume group, first create a logical volume of type jfslog:
    mklv -t jfslog -y jfslog1 newvg 1
    This command creates a jfslog logical volume named jfslog1 in the volume group newvg. The size of the logical volume is 1 logical partition.
  2. To format the jfslog1 logical volume once it has been created, enter:
    logform /dev/jfslog1
    The jfslog1 logical volume is now ready to be used as a JFS log device.

Files

/etc/filesystems Lists the known file systems and defines their characteristics, including the log device.

Related Information

The crfs command, mkfs command, mklv command.

The File System Overview for System Management in AIX Version 4.3 System Management Concepts: Operating System and Devices explains file system types, management, structure, and maintenance.

The Mounting Overview in AIX Version 4.3 System Management Concepts: Operating System and Devices explains mounting files and directories, mount points, and automatic mounts.

The Understanding Journaled File System Size Limitations in AIX Version 4.3 System Management Concepts: Operating System and Devices


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]