Managing HP Serviceguard A.11.20.20 for Linux, May 2013

Table 7 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!
NOTE: Follow these rules:
Do not try to use LVM to configure the lock LUN.
The partition type must be 83.
Do not create any filesystem on the partition used for the lock LUN.
Do not use md to configure multiple paths to the lock LUN.
HP recommends that you can configure the same multipath device name for all the LUNs on
various nodes of a cluster, so that the administration of the cluster can be made easier.
To transfer the disk partition format to other nodes in the cluster use the command:
sfdisk -R <device>
where <device> corresponds to the same physical device as on the first node. For example, if
/dev/sdc is the device name on the other nodes use the command:
sfdisk -R /dev/sdc
You can check the partition table by using the command:
fdisk -l /dev/sdc
NOTE: fdisk may not be available for SUSE on all platforms. In this case, using YAST2 to set
up the partitions is acceptable.
144 Building an HA Cluster Configuration