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 / yogendra kiran kumar

1) Create 2 LVM partitions using
# fdisk /dev/sda
id for lvm --> 8e

2) # partprobe [ to update kernal ]

3) # pvcreate pv1 /dev/sda{6,7}
[ pv1 is physical volume label and 6,7 are the partition
no's it may differ in ur system ]

4) # pvdisplay
[ to display the physical volume info ]

5) # vgcreate vg1 /dev/sda{6,7}
[ to create logical volume group ]

6) # lvcreate -L 700M -n lv1 vg1
[ to create ur required size partition of lvm ]
[ lv1 is lvm label]

7) # lvdisplay
[ to know about the logical volume ]

8) # mkfs.ext3 /dev/vg1/lv1
[ to give file system ]

9) # mkdir /lv1
# mount /dev/vg1/lv1 /lv1
[ to mount the lv1 to as a seperate disk ]

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is parallel ssh?

937


If we transfer 100 files by ftp to remote server, how to know the files are successfully transfer or some file are not transferred?

961


You wish to print a file ‘draft’ with 60 lines on a page. What command would you use?

1042


You need to see the last fifteen lines of the files dog, cat and horse. What command should you use?

923


Is cmake only for c++?

943


How do I stop a linux job?

945


How do I check storage on linux?

974


What is make in linux?

951


What is a ulimit in unix?

986


How do I run a .sh file in linux?

1036


How do I know my linux shell version?

983


What are the ms dos commands?

985


How do I list directories in linux?

989


What is history command in linux?

1011


How do you copy in linux terminal?

990