View Single Post

  #2 (permalink)  
Old 12-07-2006, 04:59 PM
nixcraft's Avatar
nixcraft nixcraft is offline
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,103
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Use e2fsadm command to grow or extend a partition on LVM. Use vgdisplay command to display info about LVM.

To increase /data by 5000Mb type command
Code:
# umount /data
# vgdisplay
# e2fsadm -L+5000M /dev/vg0/data
# vgdisplay
Your own /oracle example:
Code:
# umount /oracle
# vgdisplay
# e2fsadm -L+5000M /dev/VG01/lvoracle
# vgdisplay
Read man pages of e2fsadm for more info. Hope this helps! If you are doing this first time, try it in a sandbox before production box.
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote