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


Please Help Members By Posting Answers For Below Questions

What language is a makefile written in?

691


What are the 7 types of sentences?

785


What is finger command in linux?

734


What is the difference between find and locate command in linux?

735


What is du -s * | sort -k1,1rn | head command used for?

693


What is the command can be used to check for file corruption?

784


How do I list directories in linux?

751


What is the use of cp p command?

777


What is command line in unix?

699


What is the use of finger command in linux?

685


How do you do nslookup?

710


What is df command in unix?

695


What command do you type to find help about the command who?

737


How remove all files in a directory linux?

695


How do I use nslookup in linux?

722