hi
i am getting some problem to create and mount lvm2 partition.help me to do so....
[root@rac-1 ~]# lvmdiskscan
/dev/ramdisk [ 16.00 MB]
/dev/root [ 10.00 GB]
/dev/ram [ 16.00 MB]
/dev/sda1 [ 101.94 MB]
/dev/VolGroup00/LogVol01 [ 5.00 GB]
/dev/ram2 [ 16.00 MB]
/dev/sda2 [ 30.00 GB] LVM physical volume
/dev/VolGroup00/LogVol03 [ 5.00 GB]
/dev/ram3 [ 16.00 MB]
/dev/VolGroup00/LogVol04 [ 7.97 GB]
/dev/ram4 [ 16.00 MB]
/dev/VolGroup00/LogVol02 [ 2.00 GB]
/dev/ram5 [ 16.00 MB]
/dev/sda5 [ 156.89 GB]
/dev/ram6 [ 16.00 MB]
/dev/ram7 [ 16.00 MB]
/dev/ram8 [ 16.00 MB]
/dev/ram9 [ 16.00 MB]
/dev/ram10 [ 16.00 MB]
/dev/ram11 [ 16.00 MB]
/dev/ram12 [ 16.00 MB]
/dev/ram13 [ 16.00 MB]
/dev/ram14 [ 16.00 MB]
/dev/ram15 [ 16.00 MB]
3 disks
20 partitions
0 LVM physical volume whole disks
1 LVM physical volume
[root@rac-1 ~]#
[root@rac-1 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
9.7G 6.4G 2.9G 70% /
/dev/mapper/VolGroup00-LogVol01
4.9G 796M 3.9G 17% /var
/dev/mapper/VolGroup00-LogVol03
4.9G 225M 4.4G 5% /opt
/dev/mapper/VolGroup00-LogVol04
7.8G 5.1G 2.3G 70% /data
/dev/sda1 99M 60M 34M 64% /boot
tmpfs 1.9G 0 1.9G 0% /dev/shm
[root@rac-1 ~]# vgdisplay
--- Volume group ---
VG Name oracle_db
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 1
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 0
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 156.89 GB
PE Size 4.00 MB
Total PE 40164
Alloc PE / Size 0 / 0
Free PE / Size 40164 / 156.89 GB
VG UUID QpDOcD-Pv7M-bzg2-BeaU-293u-5TdR-hs0FaN
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 6
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 5
Open LV 5
Max PV 0
Cur PV 1
Act PV 1
VG Size 29.97 GB
PE Size 32.00 MB
Total PE 959
Alloc PE / Size 959 / 29.97 GB
Free PE / Size 0 / 0
VG UUID NxVn7Q-Fb7O-YYso-Jb9J-qaQg-8xiD-M2etzn
[root@rac-1 ~]#
[root@rac-1 ~]# pvdisplay
--- Physical volume ---
PV Name /dev/sda5
VG Name oracle_db
PV Size 156.89 GB / not usable 1.81 MB
Allocatable yes
PE Size (KByte) 4096
Total PE 40164
Free PE 40164
Allocated PE 0
PV UUID vYK1wp-fnPN-BAJ4-fI6k-gZ4t-UM1y-2ecpa2
--- Physical volume ---
PV Name /dev/sda2
VG Name VolGroup00
PV Size 30.00 GB / not usable 30.04 MB
Allocatable yes (but full)
PE Size (KByte) 32768
Total PE 959
Free PE 0
Allocated PE 959
PV UUID AwuQDw-6Byn-McGa-40MI-h0sf-sHoF-Y6M3Re
[root@rac-1 ~]#
[root@rac-1 ~]# vgdisplay
--- Volume group ---
VG Name oracle_db
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 1
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 0
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 156.89 GB
PE Size 4.00 MB
Total PE 40164
Alloc PE / Size 0 / 0
Free PE / Size 40164 / 156.89 GB
VG UUID QpDOcD-Pv7M-bzg2-BeaU-293u-5TdR-hs0FaN
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 6
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 5
Open LV 5
Max PV 0
Cur PV 1
Act PV 1
VG Size 29.97 GB
PE Size 32.00 MB
Total PE 959
Alloc PE / Size 959 / 29.97 GB
Free PE / Size 0 / 0
VG UUID NxVn7Q-Fb7O-YYso-Jb9J-qaQg-8xiD-M2etzn
[root@rac-1 ~]# pvdisplay
--- Physical volume ---
PV Name /dev/sda5
VG Name oracle_db
PV Size 156.89 GB / not usable 1.81 MB
Allocatable yes
PE Size (KByte) 4096
Total PE 40164
Free PE 40164
Allocated PE 0
PV UUID vYK1wp-fnPN-BAJ4-fI6k-gZ4t-UM1y-2ecpa2
--- Physical volume ---
PV Name /dev/sda2
VG Name VolGroup00
PV Size 30.00 GB / not usable 30.04 MB
Allocatable yes (but full)
PE Size (KByte) 32768
Total PE 959
Free PE 0
Allocated PE 959
PV UUID AwuQDw-6Byn-McGa-40MI-h0sf-sHoF-Y6M3Re
[root@rac-1 ~]# lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID B40Hiv-tzUU-hcG9-2Whl-m3LP-nyrq-tApyP4
LV Write Access read/write
LV Status available
# open 1
LV Size 10.00 GB
Current LE 320
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID bKpT4l-3fCp-IMHG-HOhn-9oaC-1fnA-0OEEKE
LV Write Access read/write
LV Status available
# open 1
LV Size 5.00 GB
Current LE 160
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol03
VG Name VolGroup00
LV UUID 46iC0Z-AxK8-O3QD-FEe8-C1P8-pH11-Wmqz88
LV Write Access read/write
LV Status available
# open 1
LV Size 5.00 GB
Current LE 160
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol04
VG Name VolGroup00
LV UUID Ckf9Sr-eQeE-Bwb2-rs5c-lhkg-64BN-FIVcyV
LV Write Access read/write
LV Status available
# open 1
LV Size 7.97 GB
Current LE 255
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:3
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol02
VG Name VolGroup00
LV UUID dsmka7-kVem-PgtS-Muds-CwWF-g5pt-YspQr8
LV Write Access read/write
LV Status available
# open 1
LV Size 2.00 GB
Current LE 64
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:4
[root@rac-1 ~]#
[root@rac-1 ~]# fdisk -l
\
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 3929 31455270 8e Linux LVM
/dev/sda3 3930 121601 945200340 5 Extended
/dev/sda5 3930 24410 164513601 8e Linux LVM
Disk /dev/dm-0: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 5368 MB, 5368709120 bytes
255 heads, 63 sectors/track, 652 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2: 5368 MB, 5368709120 bytes
255 heads, 63 sectors/track, 652 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-2 doesn't contain a valid partition table
Disk /dev/dm-3: 8556 MB, 8556380160 bytes
255 heads, 63 sectors/track, 1040 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-3 doesn't contain a valid partition table
Disk /dev/dm-4: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-4 doesn't contain a valid partition table
[root@rac-1 ~]#
how to mount this /dev/sda5 -- new created lvm partition??
help me ...
kind regards