From owner-freebsd-questions@FreeBSD.ORG Thu May 24 23:45:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1262B16A46B for ; Thu, 24 May 2007 23:45:33 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id C1F9213C484 for ; Thu, 24 May 2007 23:45:32 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l4ONfV23008677; Thu, 24 May 2007 19:41:31 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l4ONfV4W008676; Thu, 24 May 2007 19:41:31 -0400 (EDT) (envelope-from jerrymc) Date: Thu, 24 May 2007 19:41:31 -0400 From: Jerry McAllister To: kalin mintchev Message-ID: <20070524234131.GA8638@gizmo.acns.msu.edu> References: <54316.74.2.36.140.1179892303.squirrel@mail.el.net> <61733.74.64.6.149.1180002606.squirrel@mail.el.net> <20070524152750.GB20309@slackbox.xs4all.nl> <62361.74.64.6.149.1180048287.squirrel@mail.el.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <62361.74.64.6.149.1180048287.squirrel@mail.el.net> User-Agent: Mutt/1.4.2.2i Cc: rsmith@xs4all.nl, freebsd-questions@freebsd.org Subject: Re: raid or not raid X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2007 23:45:33 -0000 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: 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: 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 [310019/16/63] at ata2-master > SATA150 > ad6: 152587MB [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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >