Managing HP Serviceguard for Linux, Eighth Edition, March 2008

Building an HA Cluster Configuration
Preparing Your Systems
Chapter 5 161
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
Disk /dev/sdc: 64 heads, 32 sectors, 4067 cylinders
Units = cylinders of 2048 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 4067 4164592 83 Linux
Command (m for help): w
The partition table has been altered!
2. Respond to the prompts as shown in the following table to set a
partition type:
Command (m for help):
w Write data to the partition
table
Prompt Response Action Performed
Prompt Response Action Performed
1. Command (m for help): t Set the partition type
2. Partition number (1-4):
1 Partition affected