Since we do not have more than one drive, we need to
create partitions that we will join together to form the volume group.
Each of the partitions are part of the physical volume.
Use fdisk to create the partitions. Use type 8e to
represent a logical volume.
[root@localhost ~]# fdisk -l
Disk /dev/hda:
40.0 GB, 40020664320 bytes
255 heads, 63
sectors/track, 4865 cylinders
Units =
cylinders of 16065 * 512 = 8225280 bytes
Device
Boot
Start
End Blocks Id System
/dev/hda1
*
1 4865
39078081 c W95 FAT32 (LBA)
Disk /dev/hdb:
61.4 GB, 61492838400 bytes
255 heads, 63
sectors/track, 7476 cylinders
Units =
cylinders of 16065 * 512 = 8225280 bytes
Device
Boot
Start
End Blocks Id System
/dev/hdb1
*
1
13 104391 83 Linux
/dev/hdb2
14 1925
15358140 83 Linux
/dev/hdb3
1926
2690 6144862+ 83 Linux
/dev/hdb4
2691 7476
38443545 f W95 Ext'd (LBA)
/dev/hdb5
2691
2958 2152678+ 82 Linux swap
/dev/hdb6
2959 7476
36290803+ 8e Linux LVM
Make sure you reboot or use partprobe after writing the
new partition table.