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
Brief about the command nn?
What daemon is used for scheduling of the commands?
How do I find the umask value in linux?
What does touch do in linux?
The command ‘umask -S’
What are the basic dos commands?
If the programmer wishes to execute an instruction at the specified time. Which command is used?
How use linux command line?
What is difference between comm and CMP command?
you wish to create a link to the /data directory in bob's home directory so you issue the command ln /data /home/bob/datalink but the command fails. What options hould you use in this command line to be successful.
What is the use of finger command in linux?
How do I move to root in linux?
How many interfaces(ethernet cards) are working using single command?
How do I know my shell?
Why makefile is used in linux?