LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

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

Rep: Reputation: 0
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
 
Old 07-01-2008, 06:16 PM   #2
kenoshi
Member
 
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
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,353

Rep: Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042
Read this - chapter 11.
 
Old 07-03-2008, 07:16 AM   #4
uks
Member
 
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
yunusyb
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.
 
  


Reply

Tags
lvm


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 01:02 PM.

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