Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-09-2006, 02:11 AM   #1
Registered: Oct 2005
Posts: 123

Rep: Reputation: 15
What is the procedure for adding hard drives and moving things around?

I have a server in my office running Suse 10.0 and we currently have 3 hard drives installed in the box.

We are only using 1 hard drive and it contains everything for the server including the /home directory.

What I would like to do is to be able to move the current /home directory to a hard drive of it's own and still have the server work correctly to put out the hosted accounts websites.

I would also like to have the MySQL databases stored on the 3rd hard drive instead of the primary hard drive that contains everything.

Is it possible to move these things around even though we now have websites on the server? If so, what would be the procedure to do so. I've been trying to find this information in all the Linux books that I have and can't seem to find a procedure for moving a home directory and or all the mysql databases to their own hard drives. I do know that when I initially setup this server, I did have the option to put /home on it's own hard drive but at the time chose not to.

The second part of this would be:
Can I leave the /home drive on the primary hard drive and have the server use one of the other hard drives that is installed on the server as a sort of overflow, so that when the first home directory fills up then it starts to write the data to the next hard drive? If so, how would I go about doing this.

Thanks if you can help me out. Keep in mind that I am a Newbie, so I pretty much need specific instructions to accomplish things that I've never done on the server before.
Old 08-09-2006, 02:39 AM   #2
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Q: I want to move /home to its own drive
A: Make one partition on the second drive and start copying /home to that new drive. I suggest using rsync for this process. Once that is done, modify /etc/fstab accordingly.

Q: I would like to have MySQL databases on the 3rd drive.
A: Same thing as above. Make one partition on the 3rd drive and move all your data to that one.

Old 08-09-2006, 04:31 AM   #3
Registered: Oct 2005
Posts: 123

Original Poster
Rep: Reputation: 15
Thank you, that seems easy enough.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
adding hard drives to exising raid1 ccross Linux - Hardware 4 10-26-2005 08:36 PM
Hard Drives moving from one PC to another 88guy Linux - Hardware 5 12-30-2004 07:39 PM
Moving hard drives st00 Linux - Hardware 7 07-20-2004 11:45 AM
Adding Hard drives from former XP o/s theonlylivinggo Linux - Hardware 8 02-09-2004 10:29 PM
E-Smith 5.6 adding Hard Drives mickboda Linux - Networking 0 01-26-2004 10:56 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:32 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