Managing HP Serviceguard for Linux, Eighth Edition, March 2008

Building an HA Cluster Configuration
Preparing Your Systems
Chapter 5156
fdisk <Lock LUN Device File>
The following example of the fdisk dialog shows 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):
n
Partition number (1-4): 1
HEX code (type L to list codes): 83
Command (m for help): 1
Command (m for help): 1
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 1 1008 83 Linux
Command (m for help): w
The partition table has been altered!
Table 5-1 Changing Linux Partition Types
Prompt Response Action Performed
1. Command (m for help):
n Create new partition
2. Partition number (1-4):
1 Partition affected
3. Hex code (L to list codes):
83 Set partition to type to Linux,
default
Command (m for help):
1 Define first partition
Command (m for help):
1 Set size to 1 cylinder
Command (m for help): p Display partition data
Command (m for help):
w Write data to the partition
table