OpenTP1 Version 7 User's Guide

[Contents][Index][Back][Next]

4.5.2 Configuring the OpenTP1 file system by applying the raw I/O facility

This subsection explains how to configure the OpenTP1 file system by applying the raw I/O facility.

In OpenTP1 for Windows, you can create an OpenTP1 file system area by applying Windows direct disk access (raw I/O). This function is called the raw I/O facility. The raw I/O facility enables you to access partitions and logical drives in the same manner as with files.

You can use the raw I/O facility for the following purposes:

Organization of this subsection
(1) How to configure the OpenTP1 file system
(2) Specifying OpenTP1 files
(3) Deleting the OpenTP1 file system
(4) Setting a shared disk when the system switchover facility is used

(1) How to configure the OpenTP1 file system

To configure the OpenTP1 file system in an area to which the raw I/O facility is applied:

  1. Prepare an unformatted partition.
    Use Windows Disk Management to create a partition. For details about how to create partitions, see the Windows Disk Management Help.
  2. Execute the filmkfs command to initialize the prepared partition or logical drive so that it can be used as the OpenTP1 file system.
    The following shows an example of the filmkfs command:
    filmkfs -s 512 -n 7 -l 100 X:
    This example uses drive X as the partition to which the raw I/O facility is applied (raw I/O partition).
    For details about the filmkfs command, see Chapter 7. Operation Commands.

The following notes apply to configuring the OpenTP1 file system in an area to which the raw I/O facility is applied.

Notes about preparing the partition
  • Assign a drive letter to the partition.
  • The raw I/O facility can be applied only to a fixed disk drive whose sector length is 512 bytes.

Notes about executing the filmkfs command
  • When you apply the raw I/O facility, make sure that you specify the -s option in the filmkfs command. Specify 512 as the sector length in the -s option.
  • In the filmkfs command, specify the path name for the partition or logical drive in the format drive-letter:. If the specified path name is for a partition that has already been formatted, the filmkfs command issues the KFCA01537-E message and returns an error.

(2) Specifying OpenTP1 files

The OpenTP1 file system area allocated as a raw I/O partition is displayed in the format drive-letter:. When you specify an OpenTP1 file, use its absolute path in the same manner as for regular Windows files.

Examples of OpenTP1 file specifications are shown below. In these examples, drive X is allocated to the raw I/O partition.

(3) Deleting the OpenTP1 file system

You use Windows Disk Management to completely delete an OpenTP1 file system that has been configured as a raw I/O partition. For details about how to delete partitions, see the Windows Disk Management Help.

(4) Setting a shared disk when the system switchover facility is used

In Windows Server 2003, an OpenTP1 file system configured as a raw I/O partition can be used by the system switchover facility. Note that raw I/O partitions cannot be used by the system switchover facility in Windows Server 2008 or later.

In MSCS, raw I/O partitions cannot be specified as shared disk resources. Therefore, you must use the following procedure to set shared disk resources in such a case.

To set shared disk resources:

  1. Create a new NTFS partition on the same physical disk as the raw I/O partition.
    There is no need to configure the OpenTP1 file system in the created NTFS partition.
  2. Specify the created NTFS partition as a shared disk resource in the OpenTP1 resource group.
  3. Set the shared disk resource in the general-purpose service OpenTP1 dependencies.