LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   Stuck in increasing the size of root partition by taking space from XEN LVM (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/stuck-in-increasing-the-size-of-root-partition-by-taking-space-from-xen-lvm-845451/)

aligator007 11-20-2010 02:40 AM

Stuck in increasing the size of root partition by taking space from XEN LVM
 
0 down vote favorite


Hi, I am stuck in pretty weird situation. I hope somebody here will help me.

I have one centOS server with XEN installed on it. XEN has 3-4 virtual machines running on it. As required by XEN, this server has LVM implemented. The structure of Disk System is as following ( Kindly click on this image link) :

http://yfrog.com/72sh01nov191726j

This server has two disks of 750 GB each, and RAID implemented. MD2 partition is / (root) filesystem. It has only 10 GB of space. Now i have to increase the space of / filesystem. It is running short on space. Some more information about server is following:

1. It has 1 volume group named xen in its LVM and its size is 682 GB.
2. Their is a physical volume named md3 in volume group xen and its size is 682 GB.
3. This physical volume has 5 logical volumes which are used for XEN virtual machines.

This volume group has 400 GB of free disk space. So i want to extract some space (200 GB)from it and use this space for / (root) partition.root partition ( '/' ) is the boot partition and is holding all the system files of CentOS.
Output of pvdisplay is : img29.imageshack.us/i/sh02nov192131.jpg
output (shortened, its big list)lvdisplay is: img831.imageshack.us/i/sh03nov192132.jpg
output of mount is : img269.imageshack.us/i/sh04nov192132.jpg

I have webmin installed n this server along with hyperVM. In webmin i can see LVM and partitions. There is one option in which we can add any logical volume to any Raid device partition. Doyou think that will an good idea and risk free. Kindly look at the attachd screenshot yfrog.com/jysh05nov201208j

This is a live server and i can not take risk of testing some test methods on it. I have searched for 4-5 hours for this issue but i was not able to get the proper and authentic answer. So i thought i should post my question here so that i can get a authentic answer.

This is very urgent, my client is shouting on me. .

one more thing i have no physical access this server as it is located in another country.

Kindly help me to solve this.


All times are GMT -5. The time now is 04:09 AM.