raid or not raid

Jerry McAllister jerrymc at msu.edu
Thu May 24 23:45:33 UTC 2007


On Thu, May 24, 2007 at 07:11:27PM -0400, kalin mintchev wrote:

> > On Thu, May 24, 2007 at 06:30:06AM -0400, kalin mintchev wrote:
> >>
> >> so nobody on this list knows anything about raid?
> >> wrong list?
> >>
> >> > hi all..
> >> >
> >> > i have a box in a remote hosting facility that claims that the machine
> >> has
> >> > two discs raided in it but df and fstab show only one disc with a
> >> bunch of
> >> > slices.
> >> > under devices there is another name - ad6 - but it's not mounted
> >> anywhere.
> >> > the one i see both in df and the fstab is ad4 with one big slice and
> >> > different partitions....
> >
> > My (VIA Tech V-RAID) raid disk shows up as ar0, although the ad4 and ad6
> > device nodes exist as well.
> >
> > Do you have the ataraid device in the kernel?
> 
> yes. but isn;t that in by default in 5.4 GENERIC?!
> 
> >> > they insist there are 2 raided discs in tha machine. the os is 5.4 and
> >> i
> >> > think at that point the raid drivers were still considered
> >> > 'experimental'.
> >
> > Then ask them how it's done.
> >
> >> > it makes sense to me that if i don't see a second drive in the fstab
> >> there
> >> > isn;t any mounting which means that there is no raid going on...
> >
> > If you're seeing an ad device, it's not RAID-ed, AFAIK.
> >
> >> > is there any other way i can make sure if raid is actually on?
> >> > would there will be any logs somewhere?
> >> > the machine has been up for about 2 years and the dmesg is long
> >> gone...
> >
> > It should be in /var/run/dmesg.boot.
> 
> thanks. i guess that solves the ad6 mistery:
> 
> atapci0: <Intel ICH5 UDMA100 controller> port
> 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
> ata0: channel #0 on atapci0
> ata1: channel #1 on atapci0
> atapci1: <Intel ICH5 SATA150 controller> port
> 0xcc80-0xcc8f,0xcc98-0xcc9b,0xcca0-0xcca7,0xccb0-0xccb3,0xccb8-0xccbf irq
> 18 at device 31.2 on pci0
> ata2: channel #0 on atapci1
> ata3: channel #1 on atapci1
> .....................................................
> ad4: 152587MB <WDC WD1600JS-75MHB0/03.01C03> [310019/16/63] at ata2-master
> SATA150
> ad6: 152587MB <WDC WD1600JS-75MHB0/03.01C03> [310019/16/63] at ata3-master
> SATA150
> Mounting root from ufs:/dev/ad4s1a
> 
> unless "at device 31.2 on pci0" points to some RAID evidence - which i
> think it's false - than i read this as the ad6 disk sits there unused.
> am i right?!

That is what this looks like.   It looks like two 150 GB drives
being handled separately.   The raids I have handled have been SCSI
or SAS, but I presume would be handled the same except switching da to ad.
I have always had SCSI and so I have never had to muck with Master/Slave
but it looks like you have the disks plugged in to channels  0 & 1 of the
second controller.  That doesn't look like it is set up for raid.
Maybe something needs to be done in BIOS.

I remember, as mentioned before, on the most recent systems I did, that 
both the individual drives and the raid device showed up in the DMESG 
output and it took a while to even notice the small single line with the 
raid device mentioned amidst the mass amount of stuff on the individual 
drives - there were 6.  I almost missed it, but once I found it and used 
it, the system treated things just right.    I don't know what would
have happened if I had tried to build a system on the individual drive 0
instead of the raid device, since, fortunately I found it and built
on the raid.


////jerry

> 
> according to pciconf the atapci0 and atapci1 are differnt conrollers -
> EIDE and SATA so they can both be on pci0 as 31.1 and 31.2?! still no RAID
> though...
> 
> thanks again...
> 
> >
> > Roland
> > --
> > R.F.Smith                                   http://www.xs4all.nl/~rsmith/
> > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
> > pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
> >
> 
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 


More information about the freebsd-questions mailing list