Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Below is the partial output from the df -h command. Notice /var is setup as its own filesystem but has reached 100% of its 2GB size.

How can I increase the size of the /dev/mapper/rootVG-var file system? There is definitely much more space available on the physical disk itself. This is Redhat release 5.8.

Filesystem            Size  Used Avail Use% Mounted on


                  2.0G  977M  876M  53% /


                  9.7G  2.7G  6.6G  29% /home


                  9.7G  1.2G  8.1G  13% /opt


                  3.4G   53M  3.2G   2% /tmp

                  2.0G  1.9G     0 100% /var
share|improve this question
up vote 3 down vote accepted

Questioner was able to solve this with the following commands:

  1. Extend the size of the underlying volume lvextend -L10G /dev/mapper/rootVG-var
  2. Resize the filesystem to the new size of the underlying volume resize2fs /dev/mapper/rootVG-var

Originally posted as a comment by dabayl. Stealing in these situations is explicitly allowed and encouraged on SE sites.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.