LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Resize LVM and Extend root volume (https://www.linuxquestions.org/questions/linux-newbie-8/resize-lvm-and-extend-root-volume-911010/)

nileshdmore 10-31-2011 01:36 AM

Resize LVM and Extend root volume
 
Hi Everyone,

Please help me for following issues.

I have installed Xenserver 5.6 in 500GB HDD. Xenserver itself set 4GB disk space for root (/) volume and created LVM partition (i.e. sda3) as 457GB during the installation. Now Xenserver's root partition has very less space left. So please let me know how can I extend root partition size.

Thanks,
Nilesh More

ongte 10-31-2011 02:06 AM

The root partition is not on LVM so there is no way to expand it. The space used in the root partition should not grow significantly. The most likely causes are crash dumps and huge logs generated by errors.
Check /var/log, /tmp and /var/tmp. Look for 'core' files, check the size of the logs. Looks for errors in the logs & check if logrotate is running.

nileshdmore 10-31-2011 02:13 AM

Hi ongte,

Thanks for your reply. This mean there is no any chance to reduce LVM partition and merge that free space in root volume?

Thanks,
Nilesh More

EricTRA 10-31-2011 02:21 AM

Hello and Welcome to LinuxQuestions,

If you've got your /boot separated from root (/) it's perfectly possible to have root in an LVM (although it's not advised since it might result in complications when upgrading or in case recovery is needed). Post output of
Code:

vgdisplay
lvdisplay

so that we at least know how your system is set up.

Looking forward to your participation in the forums. Have fun with Linux.

Kind regards,

Eric


All times are GMT -5. The time now is 03:17 PM.