Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


Search this Thread
Old 07-01-2008, 05:44 AM   #1
LQ Newbie
Registered: Jul 2008
Distribution: RHEL, Debian, Fedora, Centos,Suse
Posts: 4

Rep: Reputation: 0
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.

Old 07-01-2008, 06:16 PM   #2
Registered: Sep 2007
Location: SF Bay Area, CA
Distribution: CentOS, SLES 10+, RHEL 3+, Debian Sarge
Posts: 159

Rep: Reputation: 32
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.
Old 07-01-2008, 07:10 PM   #3
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,951

Rep: Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203
Read this - chapter 11.
Old 07-03-2008, 07:16 AM   #4
Registered: Jul 2007
Posts: 68

Rep: Reputation: 16
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.
Old 07-05-2008, 02:14 AM   #5
LQ Newbie
Registered: Jul 2008
Distribution: RHEL, Debian, Fedora, Centos,Suse
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for your comments and suggestions, eventually we decided to add a new HDD to the server dropping the plan to resize.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LVM: Resizing the root partition fulat2k Linux - General 6 01-08-2012 04:35 PM
Resizing a root LVM filesystem eigoteacher Linux - Newbie 7 08-23-2007 09:36 AM
resizing non-LVM partition laggerific Linux - Software 1 11-09-2006 06:20 PM
Resizing / with LVM zivota Red Hat 2 07-12-2006 03:30 PM
Resizing an ext3 LVM Partition PenguinPwrdBox Linux - Software 1 09-04-2005 02:34 AM

All times are GMT -5. The time now is 05:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration