-   Linux - Server (
-   -   LVM resizing advice needed (

yunusyb 07-01-2008 06:44 AM

LVM resizing advice needed

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.


kenoshi 07-01-2008 07: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 08:10 PM

Read this - chapter 11.

uks 07-03-2008 08: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 03: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 12:04 AM.