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 / karan

First create 2 partition by using
fdisk /dev/hda
and give id =8e
now "w" to write partition and "partprobe" for update the
kernel for new partition

now
#pvcreate /dev/hda{7,8}
#vgcreate vg0 /dev/hda{7,8}
#lvcreate --name HR --size +3000M /dev/vg0

now make a directory named "HR"
#mkdir /HR
#mkfs.ext3 /dev/vg0/HR
now make entry in /etc/fstab, like
# vi /etc/fstab

/dev/vg0/HR /HR ext3 defaults 1 2
now save and exit
and
#mount /dev/vg0/HR /HR
#mount -a
now you can check all by these commands
#pvdisplay
#vgdisplay
you scan also like these command
#pvscan
#vgscan


karan_pratapsingh@yahoo.co.in

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the default number of shell commands saved in the history list of .cshrc file?

986


What is the difference between rmdir and rm r?

1152


How to know linux os is 32 bit or 64 bit?

1003


How do I list all processes in linux?

985


How do I run a command in linux?

1067


What is Data Command?

1178


Why echo is used in linux?

1038


What is $@ in shell?

959


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

967


What does umask 022 mean?

1141


How do you create a file in linux?

1060


Which Command used to lock user password in Linux?

1063


Which of the Commands delete the files from the /tmp directory, issued by non-root user?

1080


Which command puts a script to sleep untill a signal is recieved?

1077


What is the difference between clang and llvm?

1049