Results 1 to 2 of 2

Thread: expand a filesystem

  1. #1
    Junior Member
    Join Date
    Dec 2006
    Thanked 0 Times in 0 Posts
    Rep Power

    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.

  2. #2
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Thanked 822 Times in 511 Posts
    Rep Power


    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
    # umount /data
    # vgdisplay
    # e2fsadm -L+5000M /dev/vg0/data
    # vgdisplay
    Your own /oracle example:
    # 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.
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. mounting an NFS filesystem with iptables
    By natashak in forum Networking, Firewalls and Security
    Replies: 2
    Last Post: 30th November 2007, 12:26 AM
  2. HP unix check filesystem for errors
    By jerry in forum HP-UX
    Replies: 0
    Last Post: 9th June 2007, 02:49 AM
  3. Replies: 2
    Last Post: 28th June 2006, 01:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts