Koozali.org: home of the SME Server

SME using hardware raids ??

Offline loejf

  • ****
  • 74
  • +0/-0
SME using hardware raids ??
« on: May 06, 2009, 12:36:26 PM »
Hi.
I have installed a new system.
Before installation I installed the server with 2 x 250 GB harddrives in a hardware raid 1, and then I installed sme 7.4
It seems not to recognize the raid drive, but instead as sda & sdb, and out of this has build its own md1 & md2, and then dm-0 ??
It confuses me. Is this what it has done??

Drive sdc & sdd has been added after installation, and is also configures as a hardware raid 1, but sme doesn´t seem to recognize this either.
How do I add these 2 drives, I want it to be a raid 1 /mirror, and the mount it into an ibay.

Best regards
Loejf


fdisk -l

Disk /dev/sda: 250.0 Gb, 250059350016 byte
255 hoveder, 63 sektorer/spor, 30401 cylindre
Enheder = cylindre af 16065 * 512 = 8225280 byte

    Enhed Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   fd  Linux raid autodetekt
/dev/sda2              14       30401   244091610   fd  Linux raid autodetekt

Disk /dev/sdb: 250.0 Gb, 250059350016 byte
255 hoveder, 63 sektorer/spor, 30401 cylindre
Enheder = cylindre af 16065 * 512 = 8225280 byte

    Enhed Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          13      104391   fd  Linux raid autodetekt
/dev/sdb2              14       30401   244091610   fd  Linux raid autodetekt

Disk /dev/sdc: 1000.2 Gb, 1000204886016 byte
255 hoveder, 63 sektorer/spor, 121601 cylindre
Enheder = cylindre af 16065 * 512 = 8225280 byte

Disk /dev/sdc indeholder ikke en gyldig partitionstabel

Disk /dev/sdd: 1000.2 Gb, 1000204886016 byte
255 hoveder, 63 sektorer/spor, 121601 cylindre
Enheder = cylindre af 16065 * 512 = 8225280 byte

Disk /dev/sdd indeholder ikke en gyldig partitionstabel

Disk /dev/md1: 106 Mb, 106823680 byte
2 hoveder, 4 sektorer/spor, 26080 cylindre
Enheder = cylindre af 8 * 512 = 4096 byte

Disk /dev/md1 indeholder ikke en gyldig partitionstabel

Disk /dev/md2: 249.9 Gb, 249949716480 byte
2 hoveder, 4 sektorer/spor, 61022880 cylindre
Enheder = cylindre af 8 * 512 = 4096 byte

Disk /dev/md2 indeholder ikke en gyldig partitionstabel

Disk /dev/dm-0: 245.6 Gb, 245685551104 byte
2 hoveder, 4 sektorer/spor, 59981824 cylindre
Enheder = cylindre af 8 * 512 = 4096 byte

Disk /dev/dm-0 indeholder ikke en gyldig partitionstabel

Disk /dev/dm-1: 4227 Mb, 4227858432 byte
2 hoveder, 4 sektorer/spor, 1032192 cylindre
Enheder = cylindre af 8 * 512 = 4096 byte
...

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: SME using hardware raids ??
« Reply #1 on: May 06, 2009, 12:50:58 PM »
if your SME doesn't recognize your hw raid then you have a fake-raid (goole can tell you more about it) and you'd better disable it and use SME's sw raid.

btw, what hardware are you using?

Ciao
Stefano

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: SME using hardware raids ??
« Reply #2 on: May 06, 2009, 02:20:50 PM »
It seems not to recognize the raid drive, but instead as sda & sdb, and out of this has build its own md1 & md2, and then dm-0 ??

You don't have hardware raid.

Offline loejf

  • ****
  • 74
  • +0/-0
Re: SME using hardware raids ??
« Reply #3 on: May 06, 2009, 05:37:23 PM »
It is an HP DL160G5 ProLiant server, and the raid controller, is the HP Embedded SATA RAID-controller.
...

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: SME using hardware raids ??
« Reply #4 on: May 06, 2009, 05:47:37 PM »
It is an HP DL160G5 ProLiant server, and the raid controller, is the HP Embedded SATA RAID-controller.

It's an embedded SATA controller, and some software in BIOS which can do RAID. You should disable the RAID capability in the BIOS setup.

You should then configure your 3rd and 4th drives using linux software RAID (/dev/md3), and mount the file systems that you put onto that RAID device as your ibay.
« Last Edit: May 06, 2009, 05:49:52 PM by CharlieBrady »

Offline loejf

  • ****
  • 74
  • +0/-0
Re: SME using hardware raids ??
« Reply #5 on: May 06, 2009, 06:02:53 PM »
Ok. Thank you, I will try that.
How good is SME, if one drive fails, and you then replace it, does it rebuild raid automatically?
...

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: SME using hardware raids ??
« Reply #6 on: May 06, 2009, 06:12:38 PM »
How good is SME, if one drive fails, and you then replace it, does it rebuild raid automatically?

I think you should read the fine documentation, expecially this page

HTH
ciao
Stefano

Offline loejf

  • ****
  • 74
  • +0/-0
Re: SME using hardware raids ??
« Reply #7 on: May 06, 2009, 06:27:37 PM »
Ok. Got it :-)
Just enjoyed the conversation.

Thank you for your inputs.
...