Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

increase file system space

Status
Not open for further replies.

m2001331

Technical User
May 29, 2002
73
MY
Hi,

How do i increase file system space in linux server?
I have a filesystem /oracle that needs to be increased from 2GB to 4GB.I have the free space but i do not know how to extend it.In Aix, I could use smit to increase the size , is there any similar tool for linux.otherwise please give me the command to increase a file system.

thanks,
linux newbie
 

# lvextend -l +<number_of_PPs> /dev/<vg_name>/<lv_name>

or -L +<size_increase>

then

# resize_reaiserfs /dev/<vg_name>/<lv_name>

if you're using reiserfs. If ext2/3 you have to unmount and do resize2fs /dev/<vg_name>/<lv_name>

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top