Managing HP Serviceguard for Linux, Tenth Edition, September 2012

Patches can be downloaded from HP Support Centre at http://www.hp.com/go/hpsc.
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.
The following example illustrates the creation of a lock LUN on a partitioned disk.
Respond to the prompts as shown in the following table to set up the lock LUN partition:
fdisk <Lock LUN Device File>
Table 6 Changing Linux Partition Types
Action PerformedResponsePrompt
Create new partitionnCommand (m for help):1.
Partition affected1Partition number (1-4):2.
Set partition to type to Linux, default83Hex code (L to list codes):3.
Define first partition1Command (m for help):
Set size to 1 cylinder
1
Command (m for help):
Display partition datapCommand (m for help):
Write data to the partition tablewCommand (m for help):
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
Command (m for help): p
Disk /dev/sdc: 64 heads, 32 sectors, 4067 cylinders
Units = cylinders of 2048 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sdc 1 1 1008 83 Linux
Command (m for help): w
The partition table has been altered!
Preparing Your Systems 167