3 Replies Latest reply: Nov 1, 2011 3:16 PM by ExurbsTechnologies RSS

    FileSystem is full

    ExurbsTechnologies
      Can anybody tell me how to increase the root filesystem by using space from another filesystem.
        • 1. Re: FileSystem is full
          Balkaran Brar
          Please post the output of df -h
          • 2. Re: FileSystem is full
            Catch~22
            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
              Thank you. I will these steps you outlined and let you know.