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 a ulimit in unix?
How do I create a .txt file?
What is git command?
What is ls command and what it does?
What is netstat command in linux?
How do I check my cpu cores?
How to root mirror in linux?
What is top command in linux?
What are the ms dos commands?
How do I list all processes in linux?
What is build process?
Explain the ‘ls’ command in linux
How do I remove a soft link in linux?
How remove all files in a directory linux?
What is Syntax of any Linux command?