Extending u01 FileSystem on Exadata Machine

This will demonstrate, how to extend Exadata Volume /u01. Same can be applied to root (/) volume as long as you have space available. Extending Volume (/u01) will not require any downtime. I strongly recommend extending (/u01) to 500GB right after the deployment to avoid any storage issues during patching or any other maintenance activities.

Step 1 : df -h /u01  (Check Exisintg Mount)

[root@exa2 ~]# df -h /u01 .

Filesystem            Size  Used Avail Use% Mounted on

/dev/mapper/VGExaDb-LVDbOra1

                       99G   19G   75G  21% /u01

Step 2 : vgdisplay VGExaDb -s ( Check Avilable Stroage ) 

[root@exa2 ~]# vgdisplay VGExaDb -s

  "VGExaDb" 1.63 TiB  [185.00 GiB used / 1.45 TiB free]

Step 3 : lvextend -L +200G /dev/VGExaDb/LVDbOra1  ( Extend Volume ) 

[root@exa2 ~]# lvextend -L +200G /dev/VGExaDb/LVDbOra1

  Size of logical volume VGExaDb/LVDbOra1 changed from 100.00 GiB (25600 extents) to 300.00 GiB (76800 extents).

  Logical volume LVDbOra1 successfully resized.

Step 4 : resize2fs /dev/VGExaDb/LVDbOra1    ( Resize ) 

[root@exa2 ~]# resize2fs /dev/VGExaDb/LVDbOra1

resize2fs 1.43-WIP (20-Jun-2013)

Filesystem at /dev/VGExaDb/LVDbOra1 is mounted on /u01; on-line resizing required

old_desc_blocks = 7, new_desc_blocks = 19

The filesystem on /dev/VGExaDb/LVDbOra1 is now 78643200 blocks long.

Step 5 : Validate

[root@exa2 ~]# df -h /u01

Filesystem            Size  Used Avail Use% Mounted on

/dev/mapper/VGExaDb-LVDbOra1

                      296G   20G  264G   7% /u01