nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

expand a filesystem

This is a discussion on expand a filesystem within the Linux software forums, part of the Linux Getting Started category; We are running 2.4.21-27.ELsmp redhat linux. I have ext3 filesystems on this box and I have two logical volumes. My ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 12-07-2006, 04:13 AM
Junior Member
 
Join Date: Dec 2006
Posts: 1
Rep Power: 0
indiresh
Default expand a filesystem

We are running 2.4.21-27.ELsmp redhat linux.
I have ext3 filesystems on this box and I have two logical volumes.
My task is to expand the filesystems. There is no online expanding package on this server. How do I find ... 1.If I have the space I am looking for? 2. What commands to expand the required filesystems

part of the 'mount' command gives...
/dev/VG01/lvoracle on /oracle type ext3 (rw)
/dev/VG01/lvora00 on /ora00 type ext3 (rw)
/dev/VG01/lvora01 on /ora01 type ext3 (rw)
/dev/VG01/lvora02 on /ora02 type ext3 (rw)
/dev/VG01/lvora03 on /ora03 type ext3 (rw)
/dev/VG01/lvora04 on /ora04 type ext3 (rw)

Any help with this is appreciated.
-Indiresh
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-07-2006, 04:59 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,060
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
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
mounting an NFS filesystem with iptables natashak Networking, Firewalls and Security 2 11-30-2007 12:26 AM
HP unix check filesystem for errors jerry HP-UX 0 06-09-2007 02:49 AM
Unable to unmount a filesystem because of zombie processes toor Linux software 2 06-28-2006 01:13 PM


All times are GMT +5.5. The time now is 11:35 PM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36