Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: davibou on February 03, 2007, 03:01:19 AM

Title: Question about raid 5 an adding extra hard drives
Post by: davibou on February 03, 2007, 03:01:19 AM
hi all

I curently have a raid 5 configuration with 3 x 9.1G hdds .
My problem is that i need more space for an i-bay that host Kplaylist.

Can i add an 1 or more extra hdd and mount them to /home/e-smith/files/i-bays/kplaylist/mix1 and /home/e-smith/files/i-bays/kplaylist/mix2  without braking the existing raid.


Regards David
Title: Question about raid 5 an adding extra hard drives
Post by: davibou on February 03, 2007, 10:41:01 AM
Please an answer :))
Title: Question about raid 5 an adding extra hard drives
Post by: stephen noble on February 03, 2007, 01:30:45 PM
man mdadm
http://unthought.net/Software-RAID.HOWTO/Software-RAID.HOWTO.html

try it and see, if it was that easy to break it really isn't much use
Title: Question about raid 5 an adding extra hard drives
Post by: davibou on February 03, 2007, 01:58:38 PM
yes i will triy but you don't answer me  

I have a raid 5 working great and i wan't to mount to other hds but not in the array juste wan't more space on an i-bay.

I just wan't to know if it is possible to add two extra hard disks without raid and mount them to a directory

(sorry it's hard to explain  i'm french don't find the good word for)
Title: Re: Question about raid 5 an adding extra hard drives
Post by: gordonr on February 03, 2007, 11:03:41 PM
Quote from: "davibou"
hi all

I curently have a raid 5 configuration with 3 x 9.1G hdds .
My problem is that i need more space for an i-bay that host Kplaylist.

Can i add an 1 or more extra hdd and mount them to /home/e-smith/files/i-bays/kplaylist/mix1 and /home/e-smith/files/i-bays/kplaylist/mix2  without braking the existing raid.


Regards David

You can add the extra disks to the RAID set in SME 7.1 through the console.

Or, you can simply mount the extra drives under the paths you note above. To do this, you will need to temporarily rename the mix1 and mix2 directories, create new empty ones, mount the disks in those places and then "mv" the files from the temporary directories to their new disks.
Title: Question about raid 5 an adding extra hard drives
Post by: davibou on February 04, 2007, 01:05:04 AM
Ok i i have note this but it will not affect current raid configuration ?
Title: Question about raid 5 an adding extra hard drives
Post by: gordonr on February 04, 2007, 10:38:48 AM
Quote from: "davibou"
Ok i i have note this but it will not affect current raid configuration ?

If you mount them as separate devices they will not affect your current RAID configuration. If you add them to the RAID devices through the console, your RAID devices will expand to include the extra space.

Although this should be a safe operation, I always recommend a full backup prior to expanding or otherwise modifying RAID volumes.