Step-1: Open Terminal
- Go to Text mode by using Ctrl+Alt+f1
- For Graphics mode - Ctrl+Alt+f7
- Enter Username and Root Password.
Step-2:
- Check Mount points using - $fdisk –l
- Add a new partition on 1st HD using - $fdisk /dev/hda
- Then enter Hex cod for new partition using “ t “ (for Linux LVM = 8e).
- Save this partition using “ w “.
Step 3:
- Do same step 2 for 2nd HD - $fdisk /dev/hdc
- Save this settings into kernel by using - $partprobe
Step 4:
- PV creation using- $pvcreate /dev/hda11 /dev/hdc1
- To Display use - $pvdisplay
- Save this to kernel using - $partprobe
Step 5:
- VG creation using - $vgcreate oravg /dev/hda11 /dev/hdc1
- To Display - $vgdisplay
Step 6:
- Create lvm using - $lvcreate -L +45GB -n oralvm oravg
- To display - $lvdisplay
Step 7:
- Format this partition(/dev/oravg/oralvm) using - $mkfs.ext3 /dev/oravg/oralvm
Step 8:
- Make new directory –
-$cd /
-$mkdir apps12i
- Then mount this using –
-$mount /dev/oravg/oralvm /apps12i
-$df –Th
Step 9:
- Add this mount point entry by using - $vim /etc/fstab
This will mount the LVM Logical Volume automatically after reboot
Step 10:
- Linux LVM created successfully and ready to use :)
No comments:
Post a Comment