Koozali.org: home of the SME Server

Question about raid 5 an adding extra hard drives

Offline davibou

  • ****
  • 79
  • +0/-0
Question about raid 5 an adding extra hard drives
« 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

Offline davibou

  • ****
  • 79
  • +0/-0
Question about raid 5 an adding extra hard drives
« Reply #1 on: February 03, 2007, 10:41:01 AM »
Please an answer :))

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Question about raid 5 an adding extra hard drives
« Reply #2 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

Offline davibou

  • ****
  • 79
  • +0/-0
Question about raid 5 an adding extra hard drives
« Reply #3 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)

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Re: Question about raid 5 an adding extra hard drives
« Reply #4 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.
............

Offline davibou

  • ****
  • 79
  • +0/-0
Question about raid 5 an adding extra hard drives
« Reply #5 on: February 04, 2007, 01:05:04 AM »
Ok i i have note this but it will not affect current raid configuration ?

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Question about raid 5 an adding extra hard drives
« Reply #6 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.
............