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

Possible Duplicate:
Increase Linux Partition dynamically?

There are 3 lvm volume on Science Linux 6.1 x86. I want to remove one volume and give the amount to /dev/mapper/VolGroup-lv_root.

[root@localhost /]# df -h
Filesystem            Size  Used Avail Use% Mounted on
                       50G   38G  9.1G  81% /
tmpfs                 504M  924K  503M   1% /dev/shm
/dev/sda1             485M   68M  392M  15% /boot
                       96G  7.7G   83G   9% /home

umount /dev/mapper/VolGroup-lv_home
lvremove /dev/mapper/VolGroup-lv_home
umount /dev/mapper/VolGroup-lv_root
lvextend -L +96G /dev/mapper/VolGroup-lv_root

Please let me know these command work correctly.

share|improve this question

marked as duplicate by Holocryptic, sysadmin1138 Feb 3 '12 at 21:56

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

You are going to need to do something to resize your root filesystem. – Zoredache Feb 3 '12 at 18:06

You don't have to unmount your root filesystem (and in fact, you can't). After you have resized the LV on which it resides, you can simply do resize2fs on it.

share|improve this answer
Teddy/ I booted with Livecd – WindStory Feb 3 '12 at 19:17
Teddy/ Thanks a lot resolved. – WindStory Feb 3 '12 at 19:38
@WindStory, mark this as the answer by clicking the check mark underneath the grey "1" above. We don't edit titles here, that's not how we play. – tombull89 Feb 3 '12 at 19:44

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