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
How do I change directories in linux command line?
What are the mv command options?
Which of the following tasks cannot be accomplished with the touch command?
Write a command that will do the following: -look for all files in the current and subsequent directories with an extension c,v -strip the,v from the result (you can use sed command) -use the result and use a grep command to search for all occurrences of the word orange in the files.
What are whois tools?
How do I run a command in linux?
Enlist some linux to file content commands?
How do I find cpu in linux?
What would be the result of the command paste -s dog cat?
What is p command?
What is mkdir?
How do I stop a linux job?
What is command grouping?
What is the difference between clang and llvm?
How do I run a script in linux?