Managing HP Serviceguard for Linux, Seventh Edition, July 2007

Building an HA Cluster Configuration
Creating the Logical Volume Infrastructure
Chapter 5166
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:
The following example of the fdisk dialog shows that the disk on the
device file /dev/sdc is configured as one partition, and appears as
follows:
fdisk /dev/sdc1
Command (m for help):
n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-4067, default 1): Enter
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-4067, default
4067):
Enter
Using default value 4067
Command (m for help):
p
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
Command (m for help):
w Write data to the partition
table