Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-11-2014, 08:21 AM   #1
LQ Newbie
Registered: May 2012
Posts: 1

Rep: Reputation: Disabled
Expandind Size of Centos P

I have a pc installed with CENTOS 6.3 as a mail server. Postfix with mysql is installed but it is running out of size now. I want to add another hard disk to extend the size of /usr/bin/mysql.
Before doing it I want to backup my mysql database with dum which is not a proble. I need an assisstance on how to add another HD for i believe there are some work to be done not just to plug the HD.
Old 02-11-2014, 08:50 AM   #2
Senior Member
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Welcome to LQ!

You could just move and mount the /usr/bin/mysql to the new drive, make a big enough partition for your needs or the entire disk, do backup the data first. You could also add another swap partition in the new disk if your system swap a lot.

After the drive is plugged and running you will have to create and format partition(s) and then determine the mount point(s).

Old 02-11-2014, 04:27 PM   #3
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,395

Rep: Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395
We need some specifics; how big is each HDD, how big is the DB, how much bigger do you anticipate it'll get (DB)?
You may have to resort to LVM
Old 02-11-2014, 06:02 PM   #4
Senior Member
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,208

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
Centos defaults to setting up volume groups. In this case it is SUPER easy to add a new drive and add the space to that volume group.


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
Keeping size of VM file down - QEMU/KVM guest running Centos 6, inside Centos 6 host rylan76 Linux - Virtualization and Cloud 2 01-24-2013 03:22 PM
centos 6.3 gnome font size vtwinracersp2 Red Hat 1 12-31-2012 02:54 PM
[SOLVED] Expand disk size on centos VM? jbennett Linux - Newbie 37 07-17-2012 11:43 AM
Increase /tmp size in centos 5.7 newbie16 Linux - General 8 05-10-2012 09:37 AM
CentOS iSCSI MTU size shaticus Linux - Networking 5 11-21-2011 03:30 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:38 PM.

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