Creating Partitions and Raid1

Discussion in 'Installation/Configuration' started by mbascombe, Nov 7, 2008.

  1. mbascombe

    mbascombe Member

    I'm in the process of backing up my websites and data and will be starting the server set up from scratch and will like to know how do I go about setting my hard drive in partitions. i got two identical hard drive and will like to one partition for the OS another for the web site data and another for my FTP data and then raid it to the 2nd drive. I intend to follow the prefect setup for Ubuntu 8.10
     
  2. Ben

    Ben Active Member Moderator

    what do you mean by "raid it to the second drive"?
    Softwareraid (md), Fakeraid (like most all onboard SATA Raidcontrollers, that are no "real" raidcontrollers) in combination with softwareraid, or real hardwareraid?

    in the last case it is quite easy as you just tell your raidcontroller what to do, that's it. In case of md you just create raid partitions, combine them to a raid and "inside" you create your whatever filesystem. That also means you can deside what you want to "raid". So you could say you will hava a parition "storage" where you do store everything important, except OS stuff (as far as possible) and only this partition shall be raided, the other OS and SWAP partition, e.g. not.
    I did it more easy to just create two raid 1 partitons with md, one for the whole OS and one for SWAP, as my personal experience showed that there is no real need (for my usecases) to have the stuff splitted in x partitions.

    With the real hardware raid you may think about paritioning more freely, as the raidcontroller links all the selected disks no matter on the content. But be aware, that breaking the raid controller, you won't really be able to recover you data, except using the same raid controller. That's another positive thing about the software raid, just boot it up on another hw and that's it.
     

Share This Page