Setting up DA on a System with 2 Raid Volumes?

fusionhosting

Verified User
Joined
Dec 30, 2005
Messages
10
I have a system with a split backplane with 2 36GB in Raid 1, and 4 36GB in Raid 10, anyway to make DA recognize both for storage/backup?

This system is intended primarily for MySQL use, so I really want to keep the MySQL data files on the Raid 10 volume.

I did install DA and it's using just the 2 36GB's.
 
It depends on what exactly you want to run on both. DirectAdmin can currently only handle one partition (when creating accounts) without manually switching between them.
If you only want MySQL data on the 4 36GB's it would just be a matter linking to the mysql data directory on that partition.
 
Is there a post or page with instructions for doing that and updating DA? I tried doing a symlink before when trying to make litespeed work, had to just use a actual directory due to errors.
 
Information on doing this has been covered on these forums, at least the concepts and probable instructions.

I would have to search to find links, which anybody with a computer can easily do.
 
I'm no expert in this area (so be warned!) but can't you simply mount the RAID 10 as /var/lib/mysql *?

ie halt mysql, rename /var/lib/mysql to /var/lib/mysqlold,
mount the RAID as /var/lib/mysql then move the data from /var/lib/mysqlold to /var/lib/mysql then restart mysql.

[ edit ] * see note below by jmstacey
 
Last edited:
It should be able to be done.

What OS are you running, RedHat?
mysql data is usually stored in /home/mysql now.
 
jmstacey... thanks for the qualification. Just for the record. var/lib/mysql is where the mysql data is stored on my DA box running RH 7.3 / MySQL 4.016
 
Doh. Looks like that'll work just fine, couldn't figure out why the mapping kept erroring out until I checked and saw the server had been setup with LVM on both raid sets... :(

Gonna have to reformat without LVM.
 
Back
Top