LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   LVM resizing advice needed (http://www.linuxquestions.org/questions/linux-server-73/lvm-resizing-advice-needed-652782/)

yunusyb 07-01-2008 05:44 AM

LVM resizing advice needed
 
Hi

I have a CentOS 5 server with LVM.

/ and /home are low on disk space. I have ~12Gb available on /usr
I plan to resize /usr and add the available space to the other 2 partitions.

Please advice me on any precautions I need to take.

Any problem if you have faced doing similar stuff and how to mitigate that.

Thanks
Yunus

kenoshi 07-01-2008 06:16 PM

Depending on how your system is configured, you may need to do this (probably 90% of the time) in single user mode since its /usr you are trying to fudge with.

BTW if its ext3 you may need to delete the journal first before you run resize2fs.

syg00 07-01-2008 07:10 PM

Read this - chapter 11.

uks 07-03-2008 07:16 AM

Increasing will not be a problem if you do it right.
decreasing needs a little caution as the data is more vulnerable
Back up pleaseeeeee before anything.

yunusyb 07-05-2008 02:14 AM

Thanks for your comments and suggestions, eventually we decided to add a new HDD to the server dropping the plan to resize.


All times are GMT -5. The time now is 08:46 AM.