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

Answer Posted / ron

just making few essential additions to the above steps to
make it work.....
Create a Partition in the hard disk using fdisk /dev/hda
giving LVM id as 8e.Then save it frm ram to HDD using wq
cmd.

step0: then use "partprobe" cmd
step1: pvcreate /dev/hda10
step2: vgcreate /dev/vg0 /dev/hda10 /dev/hda6
step3: vgchange -ay (to active the volume group)
step4: lvcreate -L 1000M /dev/vg0 -n lvm0
step5: lvdisplay /dev/vg0/lvm0
step6: mke2fs -j /dev/vg0/lvm0
step7: mkdir /database
step8: mount /dev/vg0/lvm0 /database
step9: df -hT
step10: e2label /dev/vg0/lvm0 /ron
step11: to automount it..make changes/add/edit in the /etc/
fstab

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I check terminal history?

672


What is env command in linux?

712


How do I run a script in linux?

743


What does chmod do in linux?

710


What is the command to calculate the size of a folder?

721






What is command example?

737


Why is linux cpu usage so high?

721


Write a command that will display all .txt files, including its individual permission.

2524


Suppose you try to delete a file using the rm command and the deletion fails. What could be the possible reason?

731


You issue the command head * what would the resulting output be?

720


What is linux load average?

802


What are whois tools?

678


Explain about communication features in UNIX?

774


What language is clang written in?

657


why is the tar command used?

734