LinuxQuestions.org
Register a domain and help support LQ
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 02-11-2014, 09:21 AM   #1
kilaza
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.
Thanx
 
Old 02-11-2014, 09:50 AM   #2
ukiuki
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).

Cheers
 
Old 02-11-2014, 05:27 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
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 http://www.linuxtopia.org/online_boo...storage_admin/
 
Old 02-11-2014, 07:02 PM   #4
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,811
Blog Entries: 1

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


Reply


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 04:22 PM
centos 6.3 gnome font size vtwinracersp2 Red Hat 1 12-31-2012 03:54 PM
[SOLVED] Expand disk size on centos VM? jbennett Linux - Newbie 37 07-17-2012 12:43 PM
Increase /tmp size in centos 5.7 newbie16 Linux - General 8 05-10-2012 10:37 AM
CentOS iSCSI MTU size shaticus Linux - Networking 5 11-21-2011 04:30 PM


All times are GMT -5. The time now is 06:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration