HP Serviceguard for Linux Version A.11.19 Release Notes, April 2009

1. Choose from the list of disks to be configured for shared storage:
fdisk -l
Output such as the following appears. Choose a disk accessible from all the
members of the cluster. The Id should be 8e and the System should be Linux
LVM. For example, in this case it could be either /dev/sda1 or /dev/sdb1. This
example uses /dev/sda1.
Disk /dev/cciss/c0d0: 72.8 GB, 72833679360 bytes
255 heads, 63 sectors/track, 8854 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 33 265041 83 Linux
/dev/cciss/c0d0p2 34 546 4120672+ 82 Linux swap
/dev/cciss/c0d0p3 547 8854 66734010 83 Linux
Disk /dev/sda: 104 MB, 104448000 bytes
4 heads, 50 sectors/track, 1020 cylinders
Units = cylinders of 200 * 512 = 102400 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1020 101975 8e Linux LVM
Disk /dev/sdb: 104 MB, 104448000 bytes
4 heads, 50 sectors/track, 1020 cylinders
Units = cylinders of 200 * 512 = 102400 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1020 101975 8e Linux LVM
2. Create the physical volume:
pvcreate -ff /dev/sda1
3. Create the volume group:
vgcreate /dev/vgclog /dev/sda1
4. Create a logical volume:
lvcreate L 96M n lvol1 vgclog
5. Check that the Volume group was created successfully:
vgdisplay /dev/vgclog
6. Create an ext3 file system:
mke2fs v j /dev/vgclog/lvol1
7. Create a mount point /clog:
mkdir /clog
8. Back up the configuration of the volume group:
vgcfgbackup /dev/vgclog
9. Deactivate the volume group:
vgchange a n vgclog
46 Serviceguard for Linux Version A.11.19 Release Notes