Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Feb 2005 21:47:24 -0700
From:      Chad Leigh -- Shire.Net LLC <chad@shire.net>
To:        "Spades" <spades@galaxynet.org>
Cc:        List Free Bsd <freebsd-questions@freebsd.org>
Subject:   Re: raid1
Message-ID:  <7aa7839bec01936ea3c064a84ad69178@shire.net>
In-Reply-To: <008201c516f4$d9e78ff0$0a01a8c0@astral>
References:  <421467C0.9060801@ant.uni-bremen.de><d9175cad05021715128228c00@mail.gmail.com><42159B2C.3000000@ant.uni-bremen.de> <200502181015.44103.karelj@kayjay.nl><00b301c5164e$ae86b0d0$162dc2cb@astral><5895876136a642eb60e73d6ebe87729c@shire.net><16918.60595.297759.953364@szamoca.krvarr.bc.ca> <6463233752496ef9dc7301fd33c035c9@shire.net> <008201c516f4$d9e78ff0$0a01a8c0@astral>

next in thread | previous in thread | raw e-mail | index | archive | help

On Feb 19, 2005, at 6:39 PM, Spades wrote:

> How do we check if FreeBSD recorgnises it as individual drives or=20
> Hardware RAID array.

Your raid chip appears to  be a software ATA raid.  man ata

The raid appears as arN according to man ata

look in the dmesg   to see what happened at boot -- this will tell you=20=

how the controller and drives were found by FreeBSD

/var/run/dmesg.boot

Chad

>
> ----- Original Message ----- From: "Chad Leigh -- Shire.Net LLC"=20
> <chad@shire.net>
> To: "Sandy Rutherford" <sandy@krvarr.bc.ca>
> Cc: <freebsd-questions@freebsd.org>; "Spades" <spades@galaxynet.org>
> Sent: Saturday, February 19, 2005 5:46 PM
> Subject: Re: raid1
>
>
>
> On Feb 19, 2005, at 12:37 AM, Sandy Rutherford wrote:
>
>>>>>>> On Fri, 18 Feb 2005 23:51:53 -0700,
>>>>>>> "Chad Leigh -- Shire.Net LLC" <chad@shire.net> said:
>>
>>> On Feb 18, 2005, at 11:39 PM, Spades wrote:
>>
>>>> hi, my server hardware supports hardware raid, i installed it
>>>> as per normal freebsd 5.3, however i see no difference
>>>> in df. its using 2 x 160GB, what do i do during the installation
>>>> to enable the raid?
>>>>
>>>> mobo:
>>>> http://www.supermicro.com/products/motherboard/Xeon800/E7320/X6DVL-
>>>> EG.cfm
>>>>
>>>> -bash-2.05b$ df
>>>> Filesystem  1K-blocks   Used    Avail Capacity  Mounted on
>>>> /dev/ad4s1a  66008394  35424 60692300     0%    /
>>>> devfs               1      1        0   100%    /dev
>>>> ...
>>
>>> What do you expect to see?
>>
>>> A raid1 is a mirror set and to the OS would probably look like a=20
>>> single
>>> drive if it truly is a HW raid
>>
>> This should be true of any hardware RAID level, not just RAID1.  The
>> HW RAID presents logical drives to the OS, which look like real =
drives
>> to it.  The caveat is that the RAID driver will appear as the disk
>> type.  I don't have any experience with SATA RAID, but on my server,
>> which has a Mylex ExtremeRAID 1100 SCSI RAID card, a df gives:
>>
>> Filesystem              1K-blocks    Used   Avail Capacity  Mounted =
on
>> /dev/mlxd0s1a           ...
>> /dev/mlxd0s1d           ...
>> /dev/mlxd0s1h           ...
>> /dev/mlxd0s1e           ...
>> /dev/mlxd0s1f           ...
>> /dev/mlxd0s1g           ...
>> /dev/mlxd1s1e           ...
>> /dev/mlxd1s1f           ...
>> /dev/mlxd1s1g           ...
>> /dev/mlxd2s1e           ...
>>
>> mlx(4) is the driver for this card.  The underlying hard drive
>> structure doesn't look anything like the above, but this is =
irrelevant
>> to the OS.
>>
>> Regarding your situation, I believe that your MB uses an Adaptec SATA
>> controller.  You should find out exactly what the controller is and =
if
>> it is supported in "Hardware Notes".  I would expect that if your
>> controller is supported and found, then "ad" should be replaced by =
the
>> relevant driver.  Also, have a look at the dmesg output.  There =
should
>> be some sign that the OS is recognizing your RAID controller.
>>
>
> According to the MB specs at the URL given by the OP, the SATA is an
> Intel 6300ESB (part of a more general IO chip)
>
> " =95 6300ESB (Hance Rapids) SATA Controller (2x Drive support)
> =95 2x SATA Ports
> =95 RAID 0, 1, JBOD support"
>
>
> I don't see any specific mention of this in any of the HW notes for
> 5.3.  I would be interested to see the dmesg output at boot time to =
see
> what the system sees for devices and controllers.  If it is an ATA =
raid
> (pseudo HW RAID) then it would show as arX devices and not adX
> according to the handbook.
>
> Chad
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to=20
> "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7aa7839bec01936ea3c064a84ad69178>