can some one tell me the steps(with commands) to create LVM
in RHEL 5????
Answer Posted / prabin kumar
# fidk /dev/hda or /dev/hdb
id from 8e
# partprobe
# pvcreate pv1 /dev/hda1 /dev/hda2
# pv scan
# vgcreate vg1 /dev/hda1 /dev/hdb2
# vgscan
# lvcreate -l 50 -n lv1 vg1
# lvdisplay
# mke2fs -j /dev/vg1/lv1
# mkdir /data
# mount /dev/vg1/lv1 /data
# vi /etc/fstab
/dev/vg1/lv1 /data ext3 defualt 0 0
# df -ht
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Who is unix command?
How can I create a file with cmd?
How do you open a command prompt when issuing a command?
What does f mean linux?
What is command line in unix?
How do I check my system performance?
What does cd – command do?
What is type command in linux?
Explain about the command lynx?
What is parallel ssh?
How to recover /etc/passwd file and /etc/shadow file?
How to root mirror in linux?
Write a command that will display all .txt files, including its individual permission.
What is the difference between locating and locate command?
How do you insert comments in the command line prompt?