Results 1 to 2 of 2

Thread: expand a filesystem

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

    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

  2. #2
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,498
    Thanks
    17
    Thanked 789 Times in 507 Posts
    Rep Power
    10

    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.
    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: 29th November 2007, 11:26 PM
  2. HP unix check filesystem for errors
    By jerry in forum HP-UX
    Replies: 0
    Last Post: 9th June 2007, 01:49 AM
  3. Replies: 2
    Last Post: 28th June 2006, 12: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
  •