Managing HP Serviceguard for Linux, Seventh Edition, July 2007

Building an HA Cluster Configuration
Setting up the Lock LUN
Chapter 5154
Setting up the Lock LUN
The lock LUN requires a partition of one cylinder of at least 100K
defined (via the fdisk command) as type Linux (83). You will need the
pathnames for the lock LUN as it is seen on each cluster node. On one
node, use the fdisk command to define a partition of 1 cylinder, type 83,
on this LUN. Here is an example:
Respond to the prompts as shown in the following table to set up the lock
LUN partition:
fdisk <Lock LUN Device File>
The following example of the fdisk dialog shows that the disk on the
device file /dev/sdc is set to Smart Array type partition, and appears as
follows:
fdisk /dev/sdc
Command (m for help): n
Partition number (1-4): 1
HEX code (type L to list codes): 83
Command (m for help): 1
Command (m for help): 1
Table 5-1 Changing Linux Partition Types
Prompt Response Action Performed
1. Command (m for help):
n Create new partition
2. Partition number (1-4):
1 Partition affected
3. Hex code (L to list codes):
83 Set partition to type to Linux,
default
Command (m for help):
1 Define first partition
Command (m for help):
1 Set size to 1 cylinder
Command (m for help): p Display partition data
Command (m for help):
w Write data to the partition
table