can some one tell me the steps(with commands) to create LVM
in RHEL 5????

Answer Posted / d.dileep kumar

To Create LVM in RHEL5 the following steps are to be followed
You should create a Partion in the hard disk using /dev/hda
giving LVM id as 8e.Then

step1: pvcreate /dev/hda6
step2: vgcreate /dev/vg0 /dev/hda6 /dev/hda7
step3: lvcreate -l 1000 /dev/vg0 -n lvm0
step4:lvdisplay /dev/vg0/lvm0
step5:mkfs -j /dev/vg0/lvm0
step6:mkdir /database
step7:mount /dev/vg0/lvm0 /database
step8: df -hT

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is command grouping and how does it work?

651


Which command is used to clear the screen?

546


Who linux commands?

558


What is command line in unix?

511


Which command is used to see the online manual?

610






How do I check memory usage on linux?

566


How many cmd commands are there?

535


What is the difference between diff and cmp command in unix?

481


What is build process?

568


How do I check my system performance?

569


What is ls command and what it does?

556


In order to improve your system’s security you decide to implement shadow passwords. What command should you use?

536


How do I permanently set ulimit in linux?

521


What does execute mean in linux?

544


Why do we use cmake?

533