Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FreeBSD 9.0 and Intel MatrixRAID RAID5

36 views
Skip to first unread message

Alexander Pyhalov

unread,
Jan 17, 2012, 6:13:23 AM1/17/12
to freebsd...@freebsd.org
Hello.
On my desktop I use Intel MatrixRAID RAID5 soft raid controller. RAID5
is configured over 3 disks. FreeBSD 8.2 sees this as:

ar0: 953874MB <Intel MatrixRAID RAID5 (stripe 64 KB)> status: READY
ar0: disk0 READY using ad4 at ata2-master
ar0: disk1 READY using ad6 at ata3-master
ar0: disk2 READY using ad12 at ata6-master

Root filesystem is on /dev/ar0s1.
Today I've tried to upgrade to 9.0.
It doesn't see this disk array. Here is dmesg. When I load geom_raid, it
finds something, but doesn't want to work with RAID:

GEOM_RAID: Intel-e922b201: Array Intel-e922b201 created.
GEOM_RAID: Intel-e922b201: No transformation module found for Volume0.
GEOM_RAID: Intel-e922b201: Volume Volume0 state changed from STARTING to
UNSUPPORTED.
GEOM_RAID: Intel-e922b201: Disk ada2 state changed from NONE to ACTIVE.
GEOM_RAID: Intel-e922b201: Subdisk Volume0:2-ada2 state changed from
NONE to ACTIVE.
GEOM_RAID: Intel-e922b201: Disk ada1 state changed from NONE to ACTIVE.
GEOM_RAID: Intel-e922b201: Subdisk Volume0:1-ada1 state changed from
NONE to ACTIVE.
GEOM_RAID: Intel-e922b201: Disk ada0 state changed from NONE to ACTIVE.
GEOM_RAID: Intel-e922b201: Subdisk Volume0:0-ada0 state changed from
NONE to ACTIVE.
GEOM_RAID: Intel-e922b201: Array started.

No new devices appear in /dev.
How could I solve this issue?
--
Best regards,
Alexander Pyhalov,
system administrator of Computer Center of Southern Federal University
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stabl...@freebsd.org"

Matthias Gamsjager

unread,
Jan 17, 2012, 7:27:12 AM1/17/12
to Alexander Pyhalov, freebsd...@freebsd.org
Not sure if geom_raid is implemented with cam. I remember a post a while
back about this issue to happen with defaulting cam in 9. Did not follow it
so not sure if something has been done about it.

Vinny Abello

unread,
Jan 17, 2012, 12:34:56 PM1/17/12
to Matthias Gamsjager, freebsd...@freebsd.org, Alexander Pyhalov
I had something similar on a software based RAID controller on my Intel S5000PSL motherboard when I just went from 8.2-RELEASE to 9.0-RELEASE. After adding geom_raid_load="YES" to my /boot/loader.conf, it still didn't create the device on bootup. I had to manually create the label with graid. After that it created /dev/raid/ar0 for me and I could mount the volume. Only thing which I've trying to understand is the last message below about the integrity check failed. I've found other posts on this but when I dig into my setup, I don't see the same problems that are illustrated in the post and am at a loss for why that is being stated. Also, on other posts I think it was (raid/r0, MBR) that people were getting and trying to fix. Mine is (raid/r0, BSD) which I cannot find reference to. I have a feeling it has to do with the geometry of the disk or something. Everything else seems fine... I admittedly only use this volume for scratch space and didn't have anything important stored
on it so I wasn't worried about experimenting or losing data.

ada0 at ahcich0 bus 0 scbus2 target 0 lun 0
ada0: <WDC WD4000YR-01PLB0 01.06A01> ATA-7 SATA 1.x device
ada0: 150.000MB/s transfers (SATA 1.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 381554MB (781422768 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
ada1 at ahcich1 bus 0 scbus3 target 0 lun 0
ada1: <WDC WD4000YR-01PLB0 01.06A01> ATA-7 SATA 1.x device
ada1: 150.000MB/s transfers (SATA 1.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 381554MB (781422768 512 byte sectors: 16H 63S/T 16383C)
ada1: Previously was known as ad6

GEOM_RAID: Intel-8c840681: Array Intel-8c840681 created.
GEOM_RAID: Intel-8c840681: Disk ada0s1 state changed from NONE to ACTIVE.
GEOM_RAID: Intel-8c840681: Subdisk ar0:0-ada0s1 state changed from NONE to ACTIVE.
GEOM_RAID: Intel-8c840681: Disk ada1s1 state changed from NONE to ACTIVE.
GEOM_RAID: Intel-8c840681: Subdisk ar0:1-ada1s1 state changed from NONE to ACTIVE.
GEOM_RAID: Intel-8c840681: Array started.
GEOM_RAID: Intel-8c840681: Volume ar0 state changed from STARTING to OPTIMAL.
GEOM_RAID: Intel-8c840681: Provider raid/r0 for volume ar0 created.
GEOM_PART: integrity check failed (raid/r0, BSD)

Any ideas on the integrity check anyone?

Thanks!

-Vinny

Alexander Motin

unread,
Jan 17, 2012, 4:17:03 PM1/17/12
to Alexander Pyhalov, freebsd...@freebsd.org
ataraid(4) had mostly read-only support for RAID5 because it doesn't
update parity data. I haven't thought anybody really using it in such
condition. That's why geom_raid doesn't support RAID5 now at all.

--
Alexander Motin

Alexander Motin

unread,
Jan 17, 2012, 4:32:05 PM1/17/12
to Vinny Abello, freebsd...@freebsd.org
It is not related to geom_raid, but to geom_part. There is something
wrong with your label. You may set kern.geom.part.check_integrity sysctl
to zero do disable these checks. AFAIR it was mentioned in 9.0 release
notes.

> On 1/17/2012 6:57 AM, Matthias Gamsjager wrote:
Alexander Motin

Vinny Abello

unread,
Jan 17, 2012, 4:36:02 PM1/17/12
to Alexander Motin, freebsd...@freebsd.org
Thanks for responding, Alexander. I also found that information about that sysctl variable, however I was trying to determine if something is actually wrong, how to determine what it is and ultimately how to fix it so it passes the check. I'd rather not ignore errors/warnings unless it's a bug. Again, I have no data of value on this partition, so I can do anything to fix it. Just not sure what to do or look at specifically.

Thanks!

-Vinny

Alexander Motin

unread,
Jan 17, 2012, 4:39:11 PM1/17/12
to Vinny Abello, freebsd...@freebsd.org
First thing I would check is that partition is not bigger then the RAID
volume size. If label was created before the RAID volume, that could be
the reason, because RAID cuts several sectors off the end of disk to
store metadata.

--
Alexander Motin

Vinny Abello

unread,
Jan 17, 2012, 4:46:08 PM1/17/12
to Alexander Motin, freebsd...@freebsd.org
OK, thanks for the suggestion. I will investigate.

-Vinny
0 new messages