How can i increase / folder size

Hi,

I have Redhat 4 Update 6 server. This server working as Oracle Application server.

I have a bottleneck  about / size. you can see at below. I dont have free size / folder. But I create / folder as LVM. And I have Free size for LVM folders.

Can you tell me, how can i increase / folder size?


[root@appsrv /]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVolRoot
                      9.7G  8.9G  326M  97% /
/dev/sda1              99M   14M   81M  15% /boot
none                  6.0G     0  6.0G   0% /dev/shm
/dev/mapper/VolGroup00-LogVolU01
                       15G   13G  1.6G  89% /u01
[root@appsrv /]#


[root@appsrv /]# vgdisplay -v VolGroup00
    Using volume group(s) on command line
    Finding volume group "VolGroup00"
  --- 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                4
  Open LV               4
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               29.88 GB
  PE Size               32.00 MB
  Total PE              956
  Alloc PE / Size       909 / 28.41 GB
  Free  PE / Size       47 / 1.47 GB
  VG UUID               JS7XZ9-pyZO-ImA4-ngQb-O4fM-gn0v-CtHdzc
yozuzeybekAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Monis MontherSystem ArchitectCommented:
It seems you only have 1.47 GB of free space to expand on your / , but you can add physical volumes later and extend both VG then your partition , meanwhile lets use your 1.47 GB


 lvextend -L+1.4G /dev/VolGroup00/LogVolRoot

This will extend your LV , make sure of the name I might have typed it wrong.

Now you need to extend the file system ocupying this new space

resize2fs /dev/VolGroup00/LogVol00

Now do a df -h and check the new size

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
yozuzeybekAuthor Commented:
Thank you small_student
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.