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
What would be the result of the command paste -s dog cat?
How do I find the linux version?
Which command is used to see the online manual?
What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc in Linux?
How use linux command line?
What happens to hard link when file is deleted?
Why makefile is used in linux?
What does uname command do?
Is llvm a virtual machine?
How do I permanently set ulimit in linux?
What does && mean in bash?
What is mkdir p?
Suppose you try to delete a file using the rm command and the deletion fails. What could be the possible reason?
What is bash command?
What file type is a makefile?