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

What is $$ in shell script?

513


What is du -s * | sort -k1,1rn | head command used for?

530


Write about an internal command.

593


Why is unix used?

546


How do I run a bash script in linux?

503






Write a command that will do the following: -look for all files in the current and subsequent directories with an extension c,v -strip the,v from the result (you can use sed command) -use the result and use a grep command to search for all occurrences of the word orange in the files.

827


How do I know my shell?

531


What do you mean by directory?

550


What does uname do in linux?

535


Which of the commands will replace all occurrences of the word rate with the word speed in the file racing?

490


How do I know my linux shell version?

507


How many types of dos commands are there?

573


Explain about lpr filename?

598


What does r mean linux?

597


What does in makefile do?

557