Create Logical Volume

Create the Physical Volume

# pvcreate /dev/sda2
  Writing physical volume data to disk “/dev/sda2″
  Physical volume “/dev/sda2″ successfully created

Create a Volume Group

# vgcreate vg00 /dev/sda2
  Volume group “vg00″ successfully created

Create a Logical Volume

# lvcreate vg00 -L 10G  -n lv00
  Logical volume “lv00″ created


# lvcreate vg00 -l 60%FREE -n lv00  
  Logical volume “lv00″ created

Format your partitions with your favorite File System

# mkfs.ext3 /dev/vg00/lv00
mke2fs 1.39 (29-May-2006)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
1310720 inodes, 2621440 blocks
131072 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=2684354560
80 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 22 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.