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
What is whois command in linux?
What does uname command do?
Does cp overwrite?
Why echo is used in linux?
How do you run command every time a file is modified?
What is shell scripting commands?
How do you save a file in linux?
How do I check disk space in bash?
What is clang space engineers?
Which of the commands will replace all occurrences of the word rate with the word speed in the file racing?
How do I clear my run history?
How do I overclock my cpu?
why is the tar command used?
How do I stop a linux job?
Why makefile is used in linux?