How can i increase / folder size

Posted on 2010-03-23
Medium Priority
Last Modified: 2013-12-06

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
                      9.7G  8.9G  326M  97% /
/dev/sda1              99M   14M   81M  15% /boot
none                  6.0G     0  6.0G   0% /dev/shm
                       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
Question by:yozuzeybek
LVL 14

Accepted Solution

Monis Monther earned 2000 total points
ID: 28362288
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


Author Closing Comment

ID: 31706096
Thank you small_student

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating a Samba server for a small office. Ubuntu Linux and Samba can breathe new life into a retired PC and save an office money on new hardware/software. Our example server will have two hard disks, one exclusively for storing shared data. …
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.
Suggested Courses

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question