Find the answer to your Linux question:
Results 1 to 2 of 2
Hello I am a jr linux administrator, that manages a linux enviroment that was built before I got here so most of the management procedures are already established, I just ...
  1. #1
    Just Joined!
    Join Date
    Mar 2011
    Posts
    1

    Extend Partition

    Hello

    I am a jr linux administrator, that manages a linux enviroment that was built before I got here so most of the management procedures are already established, I just follow them. The problem is now, I was given the task to establish a working linux enviroment for our developers.

    So I'm running red hat linux kernel 2.6.18 and LVM2. They have asked me to extend the home directory from 2GB to 10GB.

    I used the following command
    LVEXTEND -L8G /dev/rootvg/home, with success

    My LVdisplay now shows 10G for /dev/rootvg/home but when I do a df -h it still shows /home as 2G.

    Is something else I should of done, thanks.

  2. #2
    Linux Newbie Nagarjuna's Avatar
    Join Date
    Feb 2011
    Posts
    122
    Once you've increased the size of your logical volume using lvextend, you'll need to then increase the size of your file system to fit the volume. The method you use to do so will depend on your file system. There are a number of command line tools, and also several GUI programs that you can boot off a disk (Gparted).

    Here is a link with some information to help you along: Extending a logical volume

    I hope this helps.

Posting Permissions

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