shrinking lvm
gaurav
gauravp at hclcomnet.co.in
Mon Mar 21 11:02:07 UTC 2005
Hi Paul,
I think logical partition will suffice for oracle installation,
Here is info you asked for
# vgdisplay
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 38.16 GB
PE Size 32.00 MB
Total PE 1221
Alloc PE / Size 1220 / 38.12 GB
Free PE / Size 1 / 32.00 MB
VG UUID xmHw2k-SVQS-lnIQ-u0z5-8E9E-vHAy-YEYXj4
# lvscan
ACTIVE '/dev/VolGroup00/LogVol00' [37.12 GB] inherit
ACTIVE '/dev/VolGroup00/LogVol01' [1.00 GB] inherit
# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
38317560 14124468 22246676 39% /
/dev/hda1 101086 9125 86742 10% /boot
none 257336 0 257336 0% /dev/shm
//172.28.62.169/m 31312896 17075712 14237184 55% /opt/music
Regards,
gaurav
Paul Howarth wrote:
> gaurav wrote:
>
>> Hi list,
>> I am installing oracle on fc 3, i need to create two
>> partition for oracle .
>> Problem is I have already allocated to Linux partition (as lvm)
>> how I can shrink the existing lvm partition and create two extra
>> partion .. i dont know much abt lvm
>
>
> Are you sure you need to create actual partitions for Oracle, not just
> additional logical volumes? It would be much easier to do the latter,
>
> Please post the output of:
>
> # vgdisplay
> # lvscan
> # df
>
> And state where you want to get the extra space from that you intend
> to "give" to Oracle.
>
> Paul.
>
More information about the users
mailing list