From owner-freebsd-fs@FreeBSD.ORG Tue Apr 1 14:13:47 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC2F037B401 for ; Tue, 1 Apr 2003 14:13:47 -0800 (PST) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E11D43FA3 for ; Tue, 1 Apr 2003 14:13:47 -0800 (PST) (envelope-from mdodd@FreeBSD.ORG) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by sasami.jurai.net (8.12.9/8.12.9) with ESMTP id h31MDkEF065868 for ; Tue, 1 Apr 2003 17:13:46 -0500 (EST) (envelope-from mdodd@FreeBSD.ORG) Date: Tue, 1 Apr 2003 17:13:46 -0500 (EST) From: "Matthew N. Dodd" X-X-Sender: winter@sasami.jurai.net To: freebsd-fs@FreeBSD.ORG Message-ID: <20030401170057.L46852@sasami.jurai.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: setfstab()/getfstab() X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2003 22:13:48 -0000 ftp://ftp.jurai.net/users/winter/patches/setfstab.patch This allows you to use getfsent, getfsspec, getfsfile etc against files other than "/etc/fstab". 'mount' and 'umount' have not yet been modified to directly use this so to play with it you'll have to use the PATH_FSTAB environment variable. Comments? -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever | From owner-freebsd-fs@FreeBSD.ORG Wed Apr 2 12:30:33 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3354837B401; Wed, 2 Apr 2003 12:30:33 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A09243FAF; Wed, 2 Apr 2003 12:30:32 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.9/8.12.9) with SMTP id h32KUrYY038191; Wed, 2 Apr 2003 15:30:53 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Wed, 2 Apr 2003 15:30:53 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: "Matthew N. Dodd" In-Reply-To: <20030401170057.L46852@sasami.jurai.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-fs@FreeBSD.ORG Subject: Re: setfstab()/getfstab() X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2003 20:30:33 -0000 Hmm. Maybe an issetugid() check before using the environmental variable? Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories On Tue, 1 Apr 2003, Matthew N. Dodd wrote: > ftp://ftp.jurai.net/users/winter/patches/setfstab.patch > > This allows you to use getfsent, getfsspec, getfsfile etc against files > other than "/etc/fstab". > > 'mount' and 'umount' have not yet been modified to directly use this so to > play with it you'll have to use the PATH_FSTAB environment variable. > > Comments? > > -- > | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | > | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | > | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever | > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > From owner-freebsd-fs@FreeBSD.ORG Wed Apr 2 12:38:36 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58F1B37B401; Wed, 2 Apr 2003 12:38:36 -0800 (PST) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5833643F85; Wed, 2 Apr 2003 12:38:35 -0800 (PST) (envelope-from mdodd@FreeBSD.ORG) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by sasami.jurai.net (8.12.9/8.12.9) with ESMTP id h32KcYEF001320; Wed, 2 Apr 2003 15:38:34 -0500 (EST) (envelope-from mdodd@FreeBSD.ORG) Date: Wed, 2 Apr 2003 15:38:34 -0500 (EST) From: "Matthew N. Dodd" X-X-Sender: winter@sasami.jurai.net To: Robert Watson In-Reply-To: Message-ID: <20030402153711.U46852@sasami.jurai.net> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-fs@FreeBSD.ORG Subject: Re: setfstab()/getfstab() X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2003 20:38:36 -0000 On Wed, 2 Apr 2003, Robert Watson wrote: > Hmm. Maybe an issetugid() check before using the environmental variable? Something like this? (whitespace damaged) %%% @@ -226,7 +254,13 @@ LineNo = 0; return(1); } - if ((_fs_fp = fopen(_PATH_FSTAB, "r")) != NULL) { + if (fsp_set == 0) { + if (issetugid()) + setfstab(NULL); + else + setfstab(getenv("PATH_FSTAB")); + } + if ((_fs_fp = fopen(path_fstab, "r")) != NULL) { LineNo = 0; return(1); } %%% -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever | From owner-freebsd-fs@FreeBSD.ORG Wed Apr 2 13:38:00 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15F5F37B401; Wed, 2 Apr 2003 13:38:00 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5443D43FBD; Wed, 2 Apr 2003 13:37:59 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.9/8.12.9) with SMTP id h32LcIYY039227; Wed, 2 Apr 2003 16:38:18 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Wed, 2 Apr 2003 16:38:18 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: "Matthew N. Dodd" In-Reply-To: <20030402153711.U46852@sasami.jurai.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-fs@FreeBSD.ORG Subject: Re: setfstab()/getfstab() X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2003 21:38:00 -0000 On Wed, 2 Apr 2003, Matthew N. Dodd wrote: > On Wed, 2 Apr 2003, Robert Watson wrote: > > Hmm. Maybe an issetugid() check before using the environmental variable? > > Something like this? (whitespace damaged) Yes, that looks reasonable to me. > %%% > @@ -226,7 +254,13 @@ > LineNo = 0; > return(1); > } > - if ((_fs_fp = fopen(_PATH_FSTAB, "r")) != NULL) { > + if (fsp_set == 0) { > + if (issetugid()) > + setfstab(NULL); > + else > + setfstab(getenv("PATH_FSTAB")); > + } > + if ((_fs_fp = fopen(path_fstab, "r")) != NULL) { > LineNo = 0; > return(1); > } > %%% > > > -- > | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | > | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | > | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever | > From owner-freebsd-fs@FreeBSD.ORG Thu Apr 3 21:53:38 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EBA137B409; Thu, 3 Apr 2003 21:53:38 -0800 (PST) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id E499743FDF; Thu, 3 Apr 2003 21:53:34 -0800 (PST) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id F046C51A71; Fri, 4 Apr 2003 15:23:32 +0930 (CST) Date: Fri, 4 Apr 2003 15:23:32 +0930 From: Greg 'groggy' Lehey To: fs@FreeBSD.org, hackers@FreeBSD.org Message-ID: <20030404055332.GM60909@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hnsKUeImFCk/igEn" Content-Disposition: inline User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: Vinum Developers Mailing List Subject: Announcing a Vinum mailing list X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2003 05:53:39 -0000 --hnsKUeImFCk/igEn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I've been neglecting Vinum for some time now: I have been very busy. Times are now changing, and I hope to have time to work on Vinum in the near future. To start off, I have created a mailing list vinum-devel@lemis.com. I invite you to sign up: send a message to=20 majordomo@lemis.com with the text 'subscribe vinum-devel' if you're interested. There are a number of things to do: 1. We have a Sourceforge project (at least in name), http://sourceforge.net/projects/vinum/. There's nothing on the site, and we need somebody to set it up and put a CVS tree there. 2. Atul Kabra, Ramsubramanyam and Shajid Thirvuthodi have ported Vinum to NetBSD. I have the sources, but I haven't done anything with them yet. I know that others of you are also interested in this project; we should discuss it on the list. 3. There's also interest in Vinum on OpenBSD and Linux. I'd assume that there isn't much work involved in adapting the NetBSD port to OpenBSD. Linux is definitely a different matter. I hope to see you on the list soon. Greg -- See complete headers for address and phone numbers --hnsKUeImFCk/igEn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE+jR3cIubykFB6QiMRAqNFAKCsy0DSoJUa3bQRlT9Sgbl5NnKUmQCgkMRS 7rFJ4c4Ckm1IFuqcSa43lkw= =ojTV -----END PGP SIGNATURE----- --hnsKUeImFCk/igEn-- From owner-freebsd-fs@FreeBSD.ORG Fri Apr 4 06:14:48 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D026837B401 for ; Fri, 4 Apr 2003 06:14:48 -0800 (PST) Received: from chuggalug.clues.com (chuggalug.clues.com [194.159.1.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id F089943F3F for ; Fri, 4 Apr 2003 06:14:47 -0800 (PST) (envelope-from geoffb@chuggalug.clues.com) Received: from chuggalug.clues.com (localhost [127.0.0.1]) by chuggalug.clues.com (8.12.6/8.9.3) with ESMTP id h34Eqsvv039093 for ; Fri, 4 Apr 2003 15:52:54 +0100 (BST) (envelope-from geoffb@chuggalug.clues.com) Received: (from geoffb@localhost) by chuggalug.clues.com (8.12.6/8.12.6/Submit) id h34Eqrds039092 for freebsd-fs@freebsd.org; Fri, 4 Apr 2003 15:52:53 +0100 (BST) Date: Fri, 4 Apr 2003 15:52:53 +0100 From: Geoff Buckingham To: freebsd-fs@freebsd.org Message-ID: <20030404145253.GB39067@chuggalug.clues.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: newfs_msdos modifies BPB for bootable dos partition? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2003 14:14:49 -0000 When creating a new FAT32 filesystem withe newfs_msdos using the -B option to provide a boot sector (Larger than one sector) should newfs_msdos make all the required changes to the BPB to produce a bootable dos partition? (Provided that IO.SYS, MSDOS.SYS and COMMAND.COM corresponding to the boot secotor are copied into the fs next) I am using 28 sectors from win95sr2 and success seems dependant on using similar disk geometry to the doner fs. Do I need this much data? Most of it must be that bitmap image that gets splashed all over the screen. Am I just missing out some obscure parameter, or is work required on one of the other FAST32 specific structures? http://www.file-recovery.net/downloads/filerecovery.pdf http://msdn.microsoft.com/library/default.asp?url=/library/en-us/win9x/fat32_6re8.asp From owner-freebsd-fs@FreeBSD.ORG Fri Apr 4 12:01:36 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C1FF37B404 for ; Fri, 4 Apr 2003 12:01:36 -0800 (PST) Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFF4C43FDD for ; Fri, 4 Apr 2003 12:01:34 -0800 (PST) (envelope-from mwlucas@blackhelicopters.org) Received: from blackhelicopters.org (mwlucas@localhost [127.0.0.1]) by blackhelicopters.org (8.12.8/8.12.8) with ESMTP id h34K1YDn050838 for ; Fri, 4 Apr 2003 15:01:34 -0500 (EST) (envelope-from mwlucas@blackhelicopters.org) Received: (from mwlucas@localhost) by blackhelicopters.org (8.12.8/8.12.8/Submit) id h34K1Yu5050837 for fs@freebsd.org; Fri, 4 Apr 2003 15:01:34 -0500 (EST) Date: Fri, 4 Apr 2003 15:01:34 -0500 From: "Michael W . Lucas" To: fs@freebsd.org Message-ID: <20030404150133.A50638@blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: Fact-checking for FAQ X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2003 20:01:36 -0000 Folks, I'm double-checking any FAQ that mentions "3.0-CURRENT", as part of my "Terminate the 2.X FAQ" search. As part of this, I would like to direct your attention to the following FAQ. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/book.html#FFS-LIMITS Have these numbers changes for UFS1 filesystems since 3.0? Might we have similar numbers for UFS2 filesystems? Thanks! ==ml -- Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org http://www.BlackHelicopters.org/~mwlucas/ Absolute BSD: http://www.AbsoluteBSD.com/ From owner-freebsd-fs@FreeBSD.ORG Fri Apr 4 15:21:58 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E847937B401 for ; Fri, 4 Apr 2003 15:21:57 -0800 (PST) Received: from mx2.confluentasp.com (mx2.confluentasp.com [216.26.153.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id C428443FBF for ; Fri, 4 Apr 2003 15:21:56 -0800 (PST) (envelope-from mikej@confluenttech.com) Received: from neo.confluentasp.local (35.in-addr.arpa.confluentasp.com [216.26.153.35] (may be forged)) by mx2.confluentasp.com (8.11.6/8.11.6) with ESMTP id h34NLue88023 for ; Fri, 4 Apr 2003 18:21:56 -0500 (EST) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Fri, 4 Apr 2003 18:21:50 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Message-ID: <9D7F0DF3FB16D41184010050DA90E000BF6631@neo.confluentasp.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 5.0 Raidframe / SMP / Questions Thread-Index: AcL7APhGH93wdhtfQ22nmPqiRTPs+g== From: "Michael G. Jung" To: Subject: 5.0 Raidframe / SMP / Questions X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2003 23:21:58 -0000 First I'm new to raidframe... but I have a few questions/problems - = thanks to all in advance... --mikej Michael Jung The scenario - I have 20xFastWide 18.2 disks - would like to mirror two = for boot=20 2 hot spare and use 16 raid 5(4?).... I'm looking for drive space and = not necessarily=20 raw speed. I'm testing with:=20 FreeBSD dual-450.mikej.com 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Jan = 16 22:16:53 GMT 2003 = root@hollin.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 0) I've been reading the netbsd list and it seems problems exist with = smp... is that=20 the case with FreeBSD ???? 1) "man raidcontrol" indicates that you need to set the disklabel to = "RAID" if you want the kernel to boot from the partition but disklabel stubbornly = insists that "RAID" is not a valid type... I get this error when trying to do so with disklabel...... "line 23: Warning, unknown file system type RAID" and it kindly marks the partion type to "unknown" 2) Does RAID 4 work????? for write performance would this not be a = better option? 3) I have two drives in the chain that I get "unknown IOCTL" when they = are in my raid config... yet they are labeled exactly like the rest..... this is = when running raidctl -C myconfigfile (yeah da3s1e and da9s1e are the culprits) Here is the config file (note they are commented out.. and the drive = count is 8 active drives) START array # numRow numCol numSpare 1 8 0 START disks /dev/da0s1e /dev/da1s1e /dev/da2s1e #/dev/da3s1e /dev/da4s1e /dev/da5s1e /dev/da6s1e /dev/da7s1e /dev/da8s1e START spare #/dev/da9s1e START layout # sectPerSU SUsPerParityUnit SUsPerReconUnit RAID_level_5 32 1 1 5 START queue fifo 100 ++++++++++++++++++++ Here is a sample disklabel of a drive that complains about IOCTL ++++++++++++++++++++ # /dev/da3s1c: type: SCSI disk: da3s1 label:=20 flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 2213 sectors/unit: 35566480 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0=20 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 35566480 0 unused 0 0 # (Cyl. 0 - = 2213*) e: 35551782 0 4.2BSD 0 0 0 # (Cyl. 0 - = 2212*) (root@dual-450) /etc#=20 ++++++++++++++++++++++ Here is a drive that works in my config file ++++++++++++++++++++++ (root@dual-450) /etc# disklabel da1s1 # /dev/da1s1c: type: SCSI disk: da1s1 label:=20 flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 2213 sectors/unit: 35566480 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0=20 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 35566480 0 unused 0 0 # (Cyl. 0 - = 2213*) e: 35551782 0 4.2BSD 0 0 0 # (Cyl. 0 - = 2212*) (root@dual-450) /etc#=20 NOTE: da0 has the lowest sector count of 35551782... so I've set all e: = slices to this value From owner-freebsd-fs@FreeBSD.ORG Sat Apr 5 04:45:48 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9156F37B401 for ; Sat, 5 Apr 2003 04:45:48 -0800 (PST) Received: from magic.adaptec.com (magic-mail.adaptec.com [208.236.45.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5C0F43F85 for ; Sat, 5 Apr 2003 04:45:47 -0800 (PST) (envelope-from scottl@btc.adaptec.com) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.11.6/8.11.6) with ESMTP id h35CiBZ18741; Sat, 5 Apr 2003 04:44:11 -0800 Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [10.100.0.52]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id EAA17994; Sat, 5 Apr 2003 04:45:21 -0800 (PST) Received: from hollin.btc.adaptec.com (hollin [10.100.253.56]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id FAA00566; Sat, 5 Apr 2003 05:45:16 -0700 (MST) Received: from hollin.btc.adaptec.com (localhost [127.0.0.1]) h35CgXx8037074; Sat, 5 Apr 2003 05:42:33 -0700 (MST) (envelope-from scottl@hollin.btc.adaptec.com) Received: (from scottl@localhost) by hollin.btc.adaptec.com (8.12.8/8.12.8/Submit) id h35CgVGw037073; Sat, 5 Apr 2003 05:42:31 -0700 (MST) Date: Sat, 5 Apr 2003 05:42:31 -0700 From: Scott Long To: "Michael G. Jung" Message-ID: <20030405124231.GF36962@hollin.btc.adaptec.com> References: <9D7F0DF3FB16D41184010050DA90E000BF6631@neo.confluentasp.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9D7F0DF3FB16D41184010050DA90E000BF6631@neo.confluentasp.local> User-Agent: Mutt/1.4i cc: freebsd-fs@freebsd.org Subject: Re: 5.0 Raidframe / SMP / Questions X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2003 12:45:48 -0000 On Fri, Apr 04, 2003 at 06:21:50PM -0500, Michael G. Jung wrote: > First I'm new to raidframe... but I have a few questions/problems - thanks to all > in advance... > > --mikej > Michael Jung > > The scenario - I have 20xFastWide 18.2 disks - would like to mirror two for boot > 2 hot spare and use 16 raid 5(4?).... I'm looking for drive space and not necessarily > raw speed. > > I'm testing with: > > FreeBSD dual-450.mikej.com 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003 root@hollin.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 > > 0) I've been reading the netbsd list and it seems problems exist with smp... is that > the case with FreeBSD ???? There are a lot of issues with the locking semantics in RAIDframe that make it at risk in SMP. A lot of work needs to be done to fix it, unfortunately. > > 1) "man raidcontrol" indicates that you need to set the disklabel to "RAID" if you want > the kernel to boot from the partition but disklabel stubbornly insists that "RAID" is not a valid > type... I get this error when trying to do so with disklabel...... > > "line 23: Warning, unknown file system type RAID" > > and it kindly marks the partion type to "unknown" This broke with the disk layer and GEOM changes that happened late in the 5.0 cycle. Even if you could label it correctly, the code to automatically enumerate disks at boot time is broken an commented out. > > 2) Does RAID 4 work????? for write performance would this not be a better option? I tested RAID-4 early on in my development, but haven't touched it recently. It should still work to the best of my knowledge. > > 3) I have two drives in the chain that I get "unknown IOCTL" when they are in my raid > config... yet they are labeled exactly like the rest..... this is when running raidctl -C myconfigfile > (yeah da3s1e and da9s1e are the culprits) What is the error message? Scott