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
Which of the commands will replace all occurrences of the word rate with the word speed in the file racing?
What is difference between comm and CMP command?
What is the difference between find and locate command in linux?
What does chmod 644 do?
What does cd do in linux?
What is grep command in linux with examples?
What is iptables command in linux?
Explain trap command; shift command, getopts command of linux?
What is clang space engineers?
What is file and example?
What does pwd mean in linux?
What is simple command?
What does chmod 777 do?
What does (cd dir && command) do?
what is the roles and responsibilities in linux system admin having 2yrs exp..?