Koozali.org: home of the SME Server

Help needed with this

Janm

Help needed with this
« on: April 13, 2006, 04:56:38 PM »
edited

Jan

Offline greg

  • ***
  • 51
  • +0/-0
Help needed with this
« Reply #1 on: April 15, 2006, 01:41:49 PM »
What is it you need help with?

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Help needed with this
« Reply #2 on: April 15, 2006, 02:09:32 PM »
This looks more like an advert to me


Regards,

Tib

Offline greg

  • ***
  • 51
  • +0/-0
Help needed with this
« Reply #3 on: April 15, 2006, 03:30:11 PM »
true... and it is not the SME server...
Look at this old thread:
http://forums.contribs.org/index.php?topic=27314.0

Janm

Sorry
« Reply #4 on: April 15, 2006, 08:13:37 PM »
Sorry for the misleding picture on
my site now
This was the original post i would show

SME Server 7.0rc1   Copyright (C) 1999-2006 Mitel Corporation
Disk redundancy status as of Saturday April 15, 2006 20:05:32
Current RAID status:
Personalities : [raid1] [raid5]
md2 : active raid5 sdc2[2] sdb2[1] sda2[0]
70878208 blocks level 5, 256k chunk, algorithm 2 [3/3] [UUU]
md1 : active raid1 sdc1[2] sdb1[1] sda1[0]
104320 blocks [3/3] [UUU]
unused devices: <none>
One or more devices is not RAID1
Manual intervention may be required.
<Ok>

Jan  :hammer:

By the way i have 3 different servers i test around with
thats why somtimes there is a different site comming up   :hammer:

Offline greg

  • ***
  • 51
  • +0/-0
Help needed with this
« Reply #5 on: April 16, 2006, 07:08:52 AM »
Doesn't RAID1 require an equal number of disks? you have 3.

Janm

Help needed with this
« Reply #6 on: April 16, 2006, 04:46:59 PM »
Quote from: "greg"
Doesn't RAID1 require an equal number of disks? you have 3.


I have read this

For Highest performance, the controller must be able to perform two concurrent separate Reads per mirrored pair or two duplicate Writes per mirrored pair.

RAID Level 1 requires a minimum of 2 drives to implement

One Write or two Reads possible per mirrored pair

Twice the Read transaction rate of single disks, same Write transaction rate as single disks


100% redundancy of data means no rebuild is necessary in case of a disk failure, just a copy to the replacement disk


Transfer rate per block is equal to that of a single disk


Under certain circumstances, RAID 1 can sustain multiple simultaneous drive failures


Simplest RAID storage subsystem design

Highest disk overhead of all RAID types (100%) - inefficient

Typically the RAID function is done by system software, loading the CPU/Server and possibly degrading throughput at high activity levels. Hardware implementation is strongly recommended


May not support hot swap of failed disk when implemented in "software"

Ihave 3 disks on in hardware raid adaptec 7902

[root@www ~]# hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   2588 MB in  2.00 seconds = 1294.20 MB/sec
 Timing buffered disk reads:  158 MB in  3.01 seconds =  52.50 MB/sec
[root@www ~]# hdparm -tT /dev/sdb

/dev/sdb:
 Timing cached reads:   2752 MB in  2.00 seconds = 1374.15 MB/sec
 Timing buffered disk reads:  160 MB in  3.00 seconds =  53.25 MB/sec
[root@www ~]# hdparm -tT /dev/sdc

/dev/sdc:
 Timing cached reads:   2608 MB in  2.00 seconds = 1304.20 MB/sec
 Timing buffered disk reads:  158 MB in  3.04 seconds =  52.05 MB/sec
[root@www ~]#



The real Problem is i am trying to get it working only in hardware
without any luck  :evil:

Regards Jan

Offline pfloor

  • *****
  • 889
  • +1/-0
Help needed with this
« Reply #7 on: April 16, 2006, 07:00:21 PM »
Quote from: "greg"
Doesn't RAID1 require an equal number of disks? you have 3.
No.

SME software raid is designed for any number of disks "of equal size".

2 disks will create a raid 1 pair.
3+ disks will create a raid 5
5+ disks will create a raid 6

However, the boot partition will always be a raid 1 no matter how many disks you have.  Linux can only boot off of no raid or SW raid 1.

Janm,
There is nothing wrong with your raid array.  It is reporting properly.  The reports in the console are being refined at this time and should be corrected soon.

There are at least 25 bugs regarding SW RAID in the bug tracker and probably 10 of them are about how it reports.  There is an ongoing effort to make the raid arrays more robust including but not limited to:

1-Better reporting.
2-Proper automatic rebuilding of replaced failed disks.
3-Proper conversion from SME6
4-Proper detection of existing SME6 raid pairs.

The dev team is dedicated to making upgrades from SME6 work and this RAID issue has been a challange.  SME7 added support for raid5/6 and it is VERY complicated.  Shad, Charlie and Gordon (and many others) have put in countless hours getting RAID1/5/6 to work.  It is close, but not perfect...YET!!!

Paul
In life, you must either "Push, Pull or Get out of the way!"

Offline pfloor

  • *****
  • 889
  • +1/-0
Help needed with this
« Reply #8 on: April 16, 2006, 07:15:44 PM »
Quote from: "Janm"
Ihave 3 disks on in hardware raid adaptec 7902

[root@www ~]# hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   2588 MB in  2.00 seconds = 1294.20 MB/sec
 Timing buffered disk reads:  158 MB in  3.01 seconds =  52.50 MB/sec
[root@www ~]# hdparm -tT /dev/sdb

/dev/sdb:
 Timing cached reads:   2752 MB in  2.00 seconds = 1374.15 MB/sec
 Timing buffered disk reads:  160 MB in  3.00 seconds =  53.25 MB/sec
[root@www ~]# hdparm -tT /dev/sdc

/dev/sdc:
 Timing cached reads:   2608 MB in  2.00 seconds = 1304.20 MB/sec
 Timing buffered disk reads:  158 MB in  3.04 seconds =  52.05 MB/sec
[root@www ~]#


If you have a "hardware" raid then SME should only see 1 disk regardless of how many are attached to the controller. SME has detected the 3 disks and set them up properly as software raid5.  Either your controller card is not supported and/or is a "Fake Raid" card.

Quote from: "Janm"
take a look at the pic

http://design.jm-data.dk/

The real Problem is i am trying to get it working only in hardware
without any luck  :evil:

Regards Jan


This link still does not contain anything (especially a pic) about your problem.
In life, you must either "Push, Pull or Get out of the way!"

Janm

Thanks pflor
« Reply #9 on: April 16, 2006, 07:45:42 PM »
Thanks Pflor for your reply
the server i use is
Ibm :  eServ 226 Xseries 226 tower
Model :MT-M 8488-5AY
dual xeon 3.2 ghz 2 mb cache
with factory build adaptec scsi Aic 7902b raidbus controller
and scsi u320 interupt controller

Hope i will understand it better after your reply
i am reading all i can get for now thanks again
for all the patient

Jan

Offline greg

  • ***
  • 51
  • +0/-0
Help needed with this
« Reply #10 on: April 16, 2006, 08:02:11 PM »
pfloor wrote:
Quote
No.

SME software raid is designed for any number of disks "of equal size".

2 disks will create a raid 1 pair.
3+ disks will create a raid 5
5+ disks will create a raid 6


pfloor, true - but real raid1 requires an equal number of disks.


janm wrote:

Quote


dev/sda:
Timing cached reads: 2588 MB in 2.00 seconds = 1294.20 MB/sec
Timing buffered disk reads: 158 MB in 3.01 seconds = 52.50 MB/sec
[root@www ~]# hdparm -tT /dev/sdb

/dev/sdb:
Timing cached reads: 2752 MB in 2.00 seconds = 1374.15 MB/sec
Timing buffered disk reads: 160 MB in 3.00 seconds = 53.25 MB/sec
[root@www ~]# hdparm -tT /dev/sdc

/dev/sdc:
Timing cached reads: 2608 MB in 2.00 seconds = 1304.20 MB/sec
Timing buffered disk reads: 158 MB in 3.04 seconds = 52.05 MB/sec
[root@www ~]#



Here it looks to me that your adaptec 7902 has not been properly configured in the system.
If it should work as a true hardware raid - you should only see one disk.
Could you try to enlarge the picture on your page - it is difficult to see the details..

/G

Janm

Help needed with this
« Reply #11 on: April 16, 2006, 08:39:28 PM »
What picture do you want made bigger the console or phpsysinfo
Jan

Offline pfloor

  • *****
  • 889
  • +1/-0
Help needed with this
« Reply #12 on: April 16, 2006, 08:58:17 PM »
Quote
pfloor, true - but real raid1 requires an equal number of disks.
I don't quite understand what you mean by "equal number of disks"..."Equal" to what?  Do you mean "even number of disks" as in 2, 4, 6?

RAID1 can be set up on 2 or more disks of equal size.  If you use different size disks, your array will be the size of the smallest disk.  You can use 3, 4, 5, 11, 99 disks, it doesn't matter as they will all just mirror each other.  Adding disks only adds redundancy and not storage space.

Traditionally RAID1 is set up on a pair of drives but can be set up on any number of drives and using any of the disks above the initial 2 disks as either "active" disks or "spare" disks in any combination.
In life, you must either "Push, Pull or Get out of the way!"

Janm

Help needed with this
« Reply #13 on: April 16, 2006, 09:20:21 PM »
i just tried this command
login as: root
root@www's password:
Last login: Sun Apr 16 21:13:56 2006 from pc-00146.design.jm-data.dk
CentOS release 4.2 (Final) - SME Server 7.0rc1
[root@www ~]# cat /proc/mdstat
Personalities : [raid1] [raid5]
md2 : active raid5 sdc2[1] sda2[0]
      70878208 blocks level 5, 256k chunk, algorithm 2 [3/2] [UU_]

md1 : active raid1 sdc1[1] sda1[0]
      104320 blocks [3/2] [UU_]

unused devices: <none>
[root@www ~]#

jan

Offline pfloor

  • *****
  • 889
  • +1/-0
Help needed with this
« Reply #14 on: April 16, 2006, 09:44:41 PM »
You have lost sdb in your raid array.

Also, I don't think your raid adapter is supported.  At least it was not supported in SME6 and may still dot be supported.

Paul
In life, you must either "Push, Pull or Get out of the way!"