Managing HP Serviceguard for Linux Ninth Edition, April 2009

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 typet
Command (m for help):
1.
Partition affected
1
Partition number (1-4):
2.
Set partition to type to Linux LVM
8e
Hex code (L to list codes):
3.
Display partition data
p
Command (m for help):
Write data to the partition table
w
Command (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
Units = cylinders of 2048 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sdc 1 4067 4164592 8e Linux LVM
Command (m for help): w
The partition table has been altered!
3. Repeat this process for each device file that you will use for shared storage.
fdisk /dev/sdd
fdisk /dev/sdf
fdisk /dev/sdg
4. If you will be creating volume groups for internal storage, make sure to create
those partitions as well, and create those volume groups before you define the
shared storage.
fdisk /dev/sddb
162 Building an HA Cluster Configuration