LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-14-2014, 09:43 AM   #1
ot15
LQ Newbie
 
Registered: Feb 2014
Posts: 2

Rep: Reputation: Disabled
Using Centos 6.4, how to inform the kernel that the /sda2 partition has increased


Am needing to enlarge the /dev/mapper/vg_xxx-lv_root size from a fixed size of 50G to 500G.
After cloning from a 300gb disk onto a 1tb disk, after using fdisk to delete the /sda2 partition & then creating that partition to end on the larger cylinder, gpartd does
see that the /sda2 partition as now being ~ 933gb in size.
The OS boots fine. How do I inform the kernel of this so that the /root can now be increased from its original limit of 50G? Using vgdisplay; shows the format is lvm2,
vg status is resizable,free pe/size is 0. When using the
resize2fs or lvextend or partprobe commands they each report that its at its maximum size? The jobs that run on these systems fill the /usr/scratch directory of 50gb real quick before completion.
What can I do to increase this volume size?
Again, Centos 6.4 is being used.

Thanks,

Wayne
 
Old 04-14-2014, 10:14 AM   #2
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Did you use pvresize yet?

--C
 
Old 04-14-2014, 11:20 AM   #3
ot15
LQ Newbie
 
Registered: Feb 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Wow.... The file system is now at 493G...

Thanks so much for your quick response. The resize2fs command just finished. You got me outta' the
dog-house with many users. Now its time to do 35 more of these systems.

Thanks again..
 
Old 04-14-2014, 01:02 PM   #4
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Glad I can help!

Remember to click the "yes" on my post if you found it helpful :-)

--C
 
  


Reply



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
partition /dev/sda2 is mounted with write permissions, cannot check it fsck.reiserfs kkgil Linux - Server 1 06-02-2012 12:21 PM
Increased running Linux partition in redhat deepak_message Linux - Server 1 06-01-2009 03:09 AM
PowerEdge 6450, Fedora Core cant inform kernel mod to partition davep911 Linux - Hardware 3 12-30-2005 11:49 AM
increased reiserfs partition size lobo78 Linux - General 1 06-18-2005 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:02 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration