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?

754


What does rmdir do in linux?

731


Which command is used to check the number of files and disk space used and the each user’s defined quota?

796


Explain about system and user utilities?

751


What would be the result of the command paste -s dog cat?

757


What is devops linux?

716


What is whois command?

787


How do I check memory usage on linux?

791


What is build process?

753


What is mkdir p?

768


Why is unix used?

752


What does chmod 777 do?

846


How do you create a text file in linux?

825


Which is the required command for checking the file system?

784


What is bash linux?

766