Managing HP Serviceguard for Linux, Tenth Edition, September 2012

Action PerformedResponsePrompt
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 configured as one partition, and appears as follows:
fdisk /dev/sdc
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 1Last 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/sdc 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:
Action PerformedResponsePrompt
Set the partition typetCommand (m for help):1.
Partition affected1Partition number (1-4):2.
Set partition to type to Linux LVM8eHex code (L to list codes):3.
Display partition datapCommand (m for help):
Write data to the partition tablewCommand (m for help):
The following example of the fdisk dialog describes 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): t
Partition number (1-4): 1
HEX code (type L to list codes): 8e
Command (m for help): p
Disk /dev/sdc: 64 heads, 32 sectors, 4067 cylinders
172 Building an HA Cluster Configuration