3. Use LVM to create a physical volume on the RAID device. For example, if the RAID array is
/dev/md0, then use the following command to create a physical volume:
pvcreate /dev/md0
4. Create a volume group from the physical volume you just set up. For example, create the
volume group using the command:
vgcreate lvm-raid /dev/md0
In this case, a volume group called lvm-raid is created from the device /dev/md0.
5. Logical volumes can now be created using the following command:
lvcreate ñl 57235 lvm-raid ñn lvm0
This creates a logical volume called lvm0 of size 57235 from the lvm-raid volume group.
As many partitions as necessary can be created in this way. The lvdisplay command can
be used to check the status of logical volumes; the vgdisplay command provides status
about the volume group as a whole. The available space can be seen using the vgdisplay
command.
Setup of the filesystem can now continue as normal.
For More Information
http://h10018.www1.hp.com/wwsolutions/linux/index.html
http://h20331.www2.hp.com/hpsub/cache/286526-0-0-225-121.html
http://linux.corp.hp.com/
19