Managing HP Serviceguard for Linux, Eighth Edition, March 2008

Building an HA Cluster Configuration
Preparing Your Systems
Chapter 5160
Disk /dev/sdd: 255 heads, 63 sectors, 1106 cylinders
Units = cylinders of 16065 * 512 bytes
In this example, the disk described by device file /dev/sda has already
been partitioned for Linux, into partitions named /dev/sda1 -
/dev/sda7. The second internal device /dev/sdb and the two external
devices /dev/sdc and /dev/sdd have not been partitioned.
NOTE fdisk may not be available for SUSE on all platforms. In this case, using
YAST2 to set up the partitions is acceptable.
Creating Partitions
You must define a partition on each disk device (individual disk or LUN
in an array) that you want to use for your shared storage. Use the fdisk
command for this.
The following steps create the new partition:
1. Run fdisk, specifying your device file name in place of
<DeviceName>:
# fdisk <DeviceName>
Respond to the prompts as shown in the following table, to define a
partition:
Prompt Response Action Performed
1. Command (m for help):
n Create a new partition
2. Command action
e extended
p primary partition (1-4)
p Creation a primary partition
3. Partition number (1-4):
1 Create partition 1
4. First cylinder (1-nn, default
1):
Enter Accept the default starting
cylinder 1
5. Last cylinder or +size or +sizeM
or +sizeK (1-nn, default nn):
Enter Accept the default, which is the
last cylinder number
Command (m for help):
p Display partition data