Need help setting up raid 0 so i can use 2 HDD's as one.

Discussion in 'Installation/Configuration' started by husskii, Nov 26, 2009.

  1. husskii

    husskii New Member

    Hi I recently purchased a new server and am only new to linux. But with help from HowtoForge howtos Ive managed to get by in the past.

    As mentioned I just purchased a new server and have ubuntu server 9.04 installed. I have created 2user accounts plus root & each user gets rdp access to the server.
    But I have just realized that I am missing 1 of my HDD's, well its there but its setup as /dev/sda1 to /dev/sda3 and /dev/sdb1 to /dev/sdb3 and I can only access /dev/sda1 to /dev/sda3 between both users. I have read a little about others that have had this problem and I think what I need is raid 0 setup, so I can access both HDD's as one, as Im sure it wouldn't be possible to have 1 HDD per user (or would it)
    Now Im only new to Linux and have progressed quiet well with the support of easy to follow howtos, But am in a whole new world now and cant find any easy to follow tutorials relating to raid 0. I know the server has some sort of raid setup as you can see in the link(pics) below, but its not the right one as 1 HDD is unreachable, and I wouldn't know where to start in setting up raid, & most post are either talking about windows and Linux in dual boot or splitting up the HDD's for file servers (maybe I miss understood them)

    If possible can I get some help setting up my server so that I can access the both HDD's and put them to good use.

    Help is needed and much appreciated...

    If its of any help, this is what my partition table looks like..
    /dev/sda1 to /dev/sda3

    /dev/sdb1 to /dev/sdb3

    As mentioned It looks like its already been setup as raid, but am unsure what type of raid and couldn't find any options regarding raid or how to link them in the partition editor..
  2. sjau

    sjau Local Meanie Moderator

    you know what raids are what the drawbacks of each raid mode is?
  3. Mark_NL

    Mark_NL New Member

    He probably has 2 of the same discs and made a "software raid(0|1)" (in the bios) .. linux will still show you both discs, but you must use only 1!
    If you touch the other, the raid will become inconsistent.
  4. husskii

    husskii New Member

    hi sjau I dont know too much about raid, I only think they may be good for mirroring data for back up etc.. which I dnt need.. I dnt even know how to tell which raid I have... Only been using linux maybe 3 + months and havent encountered raid before.. because its either come already setup or I have setup on home pc/server which isnt raid

    hi Mark_NL
    I think you maybe right, its an ovh with 2x 750GB hdds, they come as raid 0/1 and I believe its setup as raid but dnt know which one.. it only says raid in the partition manager, but doesnt say which one... I have only 700GB available so Im only using the one hdd... should i get them to setup as no raid... would that mean I can setup as LVM and get 1.4TB available ?

  5. Lvcoyote

    Lvcoyote New Member

    If your sure you set up a raid array and only see the capacity of one of the two drives, then you set up a raid 1. A raid 0 combines the capacity of both drives. Did you enter the raid utility built in to your motherboard and set the array up?? What Raid Controller is on the motherboard?
  6. husskii

    husskii New Member

    Its an ovh server & I didnt get to actually setup bios, if it helps I can get them to setup my server for raid 0, if that means I can get the home folder to read both hdd's as one, therfor giving me the available space of 1.4TB instead of reading just one hdd and only showing 700GB available.

    another user from another forum suggested I do the following;
    and I think I found a tutorial to show me how, but Im stuck on another issue now. I followed a post before I read the whole thread, and followed a user post which ended up corrupting libc6 I think, now when I try apt-get, I get an error
    and wen I try the command dpkg --configure -a I get a libc6 error,
    I found solved post that says to
    but doesnt show how to do it, and I still think maybe reinstalling ubuntu server would be best, but I dnt know any commands on how to do so.
  7. Mark_NL

    Mark_NL New Member

    - If you created a raid from both discs (doesn't matter if it's raid 0 or 1) you should use sda only .. sdb is the mirror (in case of raid1) or the extend (in case of raid0) of sda .. so only use sda, then you'll be fine.

    - I'd rather use LVM over software raid from the bios itself, it's both software raid, but i've seen enough crap going on with bios software raid, i never have issues with LVM, it's versatile and if you spend a few hours on the how it works, you'll see it's very easy to use.

    - Remember that if you want go switch to LVM now, you should make sure the discs are on NON RAID .. so you have 2x 700GB available and during the installation create the LVM volumes.

    - "Cannot find /lib/modules/2.6.26" that means that you probably haven't installed the kernel modules. Normally a apt-get install would do that for you. Looks to me there's more going on on that server :)
  8. husskii

    husskii New Member

    Hi guys thanks heaps for all your help I like to think I learned a fair bit from this post, I went with raid 0 & now my 2nd hdd is an extended partition to my home folder (if thats how u describe it lol) and I now have 1.4TB available in my home folder.

    I have now completed the setup and have reached my goal of making both hdd's count as one, even better I explored webmin and decided to install webmin on my server and now life hasn't been easier, when it comes to hdd quotas, Im sure there is more to it and am learning more as I explore lol...

    much appreciated

    oh btw I tried to reinstall my kernel and f** up hard lol, by the end of it after trying to reboot the server, it just died on me :( now Im waiting for a reinstall from the host... I tried to find a way to reinstall ubuntu server my self thru putty but came up empty handed.. just for future preference is it possible...
    Last edited: Dec 4, 2009

Share This Page