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 a makefile in c?

768


What are system commands?

819


How commands work in linux?

766


How do you copy in terminal?

801


How do you create a text file in linux terminal?

748


You are required to restore the file memo.ben. It was backed up in the tar file MyBackup.tar. Which command would you use to do it?

767


Explain getopts command of linux?

874


What is lsof command in linux?

832


What does f mean linux?

740


Is python faster than bash?

786


What are vim commands?

748


What is the difference between find and locate command in linux?

785


what is the fastest way to enter a series of commands from the command-line in linux

804


How can we increase disk read performance in single command in Linux operating system?

930


List the three main parts of an operating system command?

729