Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 is whois command in linux?

1075


What does uname command do?

1144


Does cp overwrite?

1049


Why echo is used in linux?

1017


How do you run command every time a file is modified?

956


What is shell scripting commands?

1164


How do you save a file in linux?

1106


How do I check disk space in bash?

944


What is clang space engineers?

1001


Which of the commands will replace all occurrences of the word rate with the word speed in the file racing?

1079


How do I clear my run history?

1065


How do I overclock my cpu?

939


why is the tar command used?

1048


How do I stop a linux job?

981


Why makefile is used in linux?

1069