This discussion is archived
3 Replies Latest reply: Nov 1, 2011 1:16 PM by ExurbsTechnologies RSS

FileSystem is full

ExurbsTechnologies Newbie
Currently Being Moderated
Can anybody tell me how to increase the root filesystem by using space from another filesystem.
  • 1. Re: FileSystem is full
    896975 Newbie
    Currently Being Moderated
    Please post the output of df -h
  • 2. Re: FileSystem is full
    Dude! Guru
    Currently Being Moderated
    The followng will extend VolGroup00 (default root) using a new partition /dev/sdb1

    Create a backup of your LVM configuration
    # vgcfgbackup
    Create a new partiton on the disk you want to add to your system;
    # fdisk /dev/sdb
    Enter the following options: n, p, 1, Return, Return, w
    Before you can use a disk partition as a physical volume you will have to initialize it:
    # pvcreate /dev/sdb1
    Find out what Volume group is / and verify:
    # df
    # pvdisplay
    Add a physcial volume to a volume group:
    # vgextend VolGroup00 /dev/sdb1
    (You can use -L option to specify the size if you do not want to use the whole partiton.)
    Verify the new setting:
    # vgdisplay -v
    (the new partiton should be listed as allocatable)
    Extend the size of a logical volume
    # lvextend /dev/mapper/VolGroup00-LogVol00 /dev/sdb1
    Resize the file system:
    # resize2fs -pf /dev/mapper/VolGroup00-LogVol00
    Edited by: Dude on Nov 1, 2011 6:06 AM
  • 3. Re: FileSystem is full
    ExurbsTechnologies Newbie
    Currently Being Moderated
    Thank you. I will these steps you outlined and let you know.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points