From owner-freebsd-fs@FreeBSD.ORG Sun Jun 10 00:24:26 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2FD5616A41F for ; Sun, 10 Jun 2007 00:24:26 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.freebsd.org (Postfix) with ESMTP id 6A5EC13C44B for ; Sun, 10 Jun 2007 00:24:25 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: by zoraida.natserv.net (Postfix, from userid 58) id 1077FC2EC; Sat, 9 Jun 2007 20:24:22 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on zoraida.natserv.net X-Spam-Level: X-Spam-Status: No, score=-1.4 required=4.0 tests=ALL_TRUSTED, DK_POLICY_SIGNSOME autolearn=disabled version=3.1.8 X-Spam-Report: * 0.0 DK_POLICY_SIGNSOME Domain Keys: policy says domain signs some mails * -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP Received: from zoraida.natserv.net (zoraida.natserv.net [66.114.65.147]) by zoraida.natserv.net (Postfix) with ESMTP id C8306C2E3 for ; Sat, 9 Jun 2007 20:24:18 -0400 (EDT) Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Francisco Reyes To: FreeBSD Filesystem Date: Sat, 09 Jun 2007 20:24:18 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit Subject: Filesystems larger than 2TB? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2007 00:24:26 -0000 I many postings I have seen references of filesystems greater than 2TB, yet I have tried several times to create them and have had problems. Is there a way to create slices and filesystems greater than 2TB in 6.2? Perhaps one needs to do it outside sysinstall? From owner-freebsd-fs@FreeBSD.ORG Sun Jun 10 11:56:33 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EF45716A41F; Sun, 10 Jun 2007 11:56:33 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id A91B113C45A; Sun, 10 Jun 2007 11:56:33 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id D26E68BDF4B; Sun, 10 Jun 2007 13:56:31 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H3YTmxnyzh9y; Sun, 10 Jun 2007 13:56:30 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id BC39D65B769; Sun, 10 Jun 2007 13:56:30 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l5ABuUUh028544; Sun, 10 Jun 2007 13:56:30 +0200 (CEST) (envelope-from rdivacky) Date: Sun, 10 Jun 2007 13:56:30 +0200 From: Roman Divacky To: Ivan Voras Message-ID: <20070610115630.GA28518@freebsd.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: file(1) cannot detect UFS2? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2007 11:56:34 -0000 On Sun, Jun 10, 2007 at 12:41:31AM +0200, Ivan Voras wrote: > Hi! > > I'm trying to use file(1) to detect file system type on partitions, and > so far it's working for any file system I've cared to try (the usual MS > and Linux list) *except* UFS2. > > Detecting UFS1 works, though much more verbosely than it needs to be, > but UFS2 isn't detected at all. > > I'd like to ask someone familiar with UFS2 to take a quick peak and add > the appropriate rules to the file(1) magic database, if anyone's interested. > > At the very least, I need someone to commit this patch: well... yeah but not to freebsd :) I guess you want to forward the patch upstream to the maintainers of file. thnx for the work though From owner-freebsd-fs@FreeBSD.ORG Sun Jun 10 13:25:03 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A230416A421 for ; Sun, 10 Jun 2007 13:25:03 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 5902113C4AD for ; Sun, 10 Jun 2007 13:25:03 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1HxNPi-0000RQ-2l for freebsd-fs@freebsd.org; Sun, 10 Jun 2007 15:25:02 +0200 Received: from 78-0-92-215.adsl.net.t-com.hr ([78.0.92.215]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Jun 2007 15:25:02 +0200 Received: from ivoras by 78-0-92-215.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Jun 2007 15:25:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Ivan Voras Date: Sun, 10 Jun 2007 15:21:57 +0200 Lines: 38 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD7208B62C65236E4F7D89822" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 78-0-92-215.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) In-Reply-To: X-Enigmail-Version: 0.94.3.0 Sender: news Subject: Re: Filesystems larger than 2TB? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2007 13:25:03 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD7208B62C65236E4F7D89822 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Francisco Reyes wrote: > I many postings I have seen references of filesystems greater than 2TB,= > yet I have tried several times to create them and have had problems. >=20 > Is there a way to create slices and filesystems greater than 2TB in 6.2= ? > Perhaps one needs to do it outside sysinstall? Yes, you need to do it outside of sysinstall. There are two ways: 1. don't use partitions/slices at all and create the file system on the raw device (i.e. newfs /dev/da0) 2. use GPT partitions. The first one is recommended in 6.x. --------------enigD7208B62C65236E4F7D89822 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGa/r1ldnAQVacBcgRAg7FAKDs4SPrG7lKY2g+hZfTlxLFtZUaTACeOCtf 3NFdInzxepla1ifAB2Npovc= =5KtC -----END PGP SIGNATURE----- --------------enigD7208B62C65236E4F7D89822-- From owner-freebsd-fs@FreeBSD.ORG Sun Jun 10 13:50:22 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 05AB616A468; Sun, 10 Jun 2007 13:50:22 +0000 (UTC) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id 7F35D13C448; Sun, 10 Jun 2007 13:50:21 +0000 (UTC) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: from ednmsw510.dsto.defence.gov.au (ednmsw510.dsto.defence.gov.au [131.185.68.11]) by digger1.defence.gov.au (8.13.8/8.13.8) with ESMTP id l5ADOog0020363; Sun, 10 Jun 2007 22:54:50 +0930 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw510.dsto.defence.gov.au (Clearswift SMTPRS 5.2.9) with ESMTP id ; Sun, 10 Jun 2007 23:04:40 +0930 Received: from obelix.dsto.defence.gov.au ([203.6.60.208]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.1830); Sun, 10 Jun 2007 23:04:40 +0930 Received: from obelix.dsto.defence.gov.au (localhost [127.0.0.1]) by obelix.dsto.defence.gov.au (8.13.8/8.13.8) with ESMTP id l5ADYRLp024033; Sun, 10 Jun 2007 21:34:27 +0800 (WST) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by obelix.dsto.defence.gov.au (8.13.8/8.13.8/Submit) id l5ADYRKj024032; Sun, 10 Jun 2007 21:34:27 +0800 (WST) (envelope-from wilkinsa) Date: Sun, 10 Jun 2007 21:34:27 +0800 From: "Wilkinson, Alex" To: freebsd-hackers@freebsd.org, freebsd-fs@freebsd.org Message-ID: <20070610133427.GA24008@obelix.dsto.defence.gov.au> Mail-Followup-To: freebsd-hackers@freebsd.org, freebsd-fs@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: Organisation: Defence Science Technology Organisation User-Agent: Mutt/1.5.15 (2007-04-06) X-OriginalArrivalTime: 10 Jun 2007 13:34:40.0849 (UTC) FILETIME=[1909A410:01C7AB64] X-TM-AS-Product-Ver: SMEX-7.0.0.1526-3.6.1039-15226.001 X-TM-AS-Result: No-1.528400-8.000000-31 Content-Transfer-Encoding: 7bit Cc: Subject: Re: file(1) cannot detect UFS2? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2007 13:50:22 -0000 0n Sun, Jun 10, 2007 at 12:41:31AM +0200, Ivan Voras wrote: >I'm trying to use file(1) to detect file system type on partitions, and >so far it's working for any file system I've cared to try (the usual MS >and Linux list) *except* UFS2. Not sure if what you're doing *has* to be done with file(1). However, you can what you want like so: #dumpfs ad0s1a | head -1 magic 19540119 (UFS2) time Sun Jun 10 21:30:45 2007 -aW IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. From owner-freebsd-fs@FreeBSD.ORG Sun Jun 10 14:13:45 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B81CF16A46E for ; Sun, 10 Jun 2007 14:13:45 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.freebsd.org (Postfix) with ESMTP id 783D013C44C for ; Sun, 10 Jun 2007 14:13:45 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: by zoraida.natserv.net (Postfix, from userid 58) id 8F9EFC2EC; Sun, 10 Jun 2007 10:13:44 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on zoraida.natserv.net X-Spam-Level: X-Spam-Status: No, score=-1.4 required=4.0 tests=ALL_TRUSTED, DK_POLICY_SIGNSOME autolearn=disabled version=3.1.8 X-Spam-Report: * 0.0 DK_POLICY_SIGNSOME Domain Keys: policy says domain signs some mails * -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP Received: from zoraida.natserv.net (zoraida.natserv.net [66.114.65.147]) by zoraida.natserv.net (Postfix) with ESMTP id 2A598C2AF; Sun, 10 Jun 2007 10:13:42 -0400 (EDT) References: Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Francisco Reyes To: Ivan Voras Date: Sun, 10 Jun 2007 10:13:41 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: Filesystems larger than 2TB? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2007 14:13:45 -0000 Ivan Voras writes: > 1. don't use partitions/slices at all and create the file system on the > raw device (i.e. newfs /dev/da0) But how would one do this on a new machine? i.e. If I am setting up a new machine with a 6.2 Stable CD.. isn't the install program basically sysinstall? Do I setup my smaller partitions such as /, /usr, /var, /tmp and leave the end blank and then use "newfs -s /dev/da0s1 ? Or perhaps creating a second slice for the remaining space over 2TB? Any man pages or URLs you know off that I can read? So far the only thing I found was the "-s" parameter to newfs. > 2. use GPT partitions. What is the drawback of using that approach? Thanks much for your help. From owner-freebsd-fs@FreeBSD.ORG Sun Jun 10 14:51:36 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EB6ED16A469 for ; Sun, 10 Jun 2007 14:51:35 +0000 (UTC) (envelope-from mashtizadeh@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.230]) by mx1.freebsd.org (Postfix) with ESMTP id A865F13C44C for ; Sun, 10 Jun 2007 14:51:35 +0000 (UTC) (envelope-from mashtizadeh@gmail.com) Received: by nz-out-0506.google.com with SMTP id 14so893351nzn for ; Sun, 10 Jun 2007 07:51:35 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=mCUfEtSlVXxS7Ylh+3qebo6dc+fBId47qLGthhSvvd7Kw9+2N7wpMBPo22vh9k5xGcS/130zLnfOSGRaN1TwATvW+PB8ZRoDRXDQJ+ZrsfSmxzIsISAxez9Dedzs5bDTgOxPMvx17MF9tqz+yY23q6F/B6m80ZYAMrexYGvl2tQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=unEkpwT5Q7ngWWyqVNZpmvoWUTXjzVIIl3HyUDrn/lljANfpiZCBrWbs9egR/TvcbsGn182an1fkjEFsslGReBjcDKStPBCn77n1G2TdpegNhahPZyXuYX8g+Zc6QKNOhNWATqlmUUgLgjJkElqt/YaFNaaaT8m1Kk9oOXPxwjg= Received: by 10.143.162.8 with SMTP id p8mr235463wfo.1181487094454; Sun, 10 Jun 2007 07:51:34 -0700 (PDT) Received: by 10.142.251.8 with HTTP; Sun, 10 Jun 2007 07:51:34 -0700 (PDT) Message-ID: <440b3e930706100751s1e44ecb3j4b9d7515e5a447d1@mail.gmail.com> Date: Sun, 10 Jun 2007 10:51:34 -0400 From: "Ali Mashtizadeh" To: "Francisco Reyes" In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org, Ivan Voras Subject: Re: Filesystems larger than 2TB? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2007 14:51:36 -0000 SGkgRXZlcnlvbmUsCgpHUFQgcGFydGl0aW9ucyBhZmFpayBhcmUgbm90IGJvb3RhYmxlIGV4Y2Vw dCBvbiBFRkkgZmlybXdhcmUgKEl0YW5pdW0pLAp1bmxlc3MgeW91IG1ha2UgYSBNQlIrR1BUIGxh YmVsLiBJIHRoaW5rIHNvbWUgbWFjaGluZXMgbGlrZSBtYWMncyBkbyB0aGlzPwoKLS0gCkFsaSBN YXNodGl6YWRlaArYudmE24wg2YXYtNiq24wg2LLYp9iv2YcKCk9uIDYvMTAvMDcsIEZyYW5jaXNj byBSZXllcyA8bGlzdHNAc3RyaW5nc3V0aWxzLmNvbT4gd3JvdGU6Cj4KPiBJdmFuIFZvcmFzIHdy aXRlczoKPgo+ID4gMS4gZG9uJ3QgdXNlIHBhcnRpdGlvbnMvc2xpY2VzIGF0IGFsbCBhbmQgY3Jl YXRlIHRoZSBmaWxlIHN5c3RlbSBvbiB0aGUKPiA+IHJhdyBkZXZpY2UgKGkuZS4gbmV3ZnMgL2Rl di9kYTApCj4KPiBCdXQgaG93IHdvdWxkIG9uZSBkbyB0aGlzIG9uIGEgbmV3IG1hY2hpbmU/Cj4g aS5lLiBJZiBJIGFtIHNldHRpbmcgdXAgYSBuZXcgbWFjaGluZSB3aXRoIGEgNi4yIFN0YWJsZSBD RC4uIGlzbid0IHRoZQo+IGluc3RhbGwgcHJvZ3JhbSAgYmFzaWNhbGx5IHN5c2luc3RhbGw/Cj4K PiBEbyBJIHNldHVwIG15IHNtYWxsZXIgcGFydGl0aW9ucyBzdWNoIGFzIC8sIC91c3IsIC92YXIs IC90bXAgYW5kIGxlYXZlIHRoZQo+IGVuZCBibGFuayBhbmQgdGhlbiB1c2UgIm5ld2ZzIC1zIC9k ZXYvZGEwczE8bGV0dGVyPiA/Cj4gT3IgcGVyaGFwcyBjcmVhdGluZyBhIHNlY29uZCBzbGljZSBm b3IgdGhlIHJlbWFpbmluZyBzcGFjZSBvdmVyIDJUQj8KPgo+IEFueSBtYW4gcGFnZXMgb3IgVVJM cyB5b3Uga25vdyBvZmYgdGhhdCBJIGNhbiByZWFkPwo+Cj4gU28gZmFyIHRoZSBvbmx5IHRoaW5n IEkgZm91bmQgd2FzIHRoZSAiLXMiIHBhcmFtZXRlciB0byBuZXdmcy4KPgo+ID4gMi4gdXNlIEdQ VCBwYXJ0aXRpb25zLgo+Cj4gV2hhdCBpcyB0aGUgZHJhd2JhY2sgb2YgdXNpbmcgdGhhdCBhcHBy b2FjaD8KPgo+IFRoYW5rcyBtdWNoIGZvciB5b3VyIGhlbHAuCj4gX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18KPiBmcmVlYnNkLWZzQGZyZWVic2Qub3JnIG1h aWxpbmcgbGlzdAo+IGh0dHA6Ly9saXN0cy5mcmVlYnNkLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2Zy ZWVic2QtZnMKPiBUbyB1bnN1YnNjcmliZSwgc2VuZCBhbnkgbWFpbCB0byAiZnJlZWJzZC1mcy11 bnN1YnNjcmliZUBmcmVlYnNkLm9yZyIKPgo= From owner-freebsd-fs@FreeBSD.ORG Sun Jun 10 15:50:29 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A84FA16A468; Sun, 10 Jun 2007 15:50:29 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 6390A13C4B9; Sun, 10 Jun 2007 15:50:28 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id AF2778BDF3B; Sun, 10 Jun 2007 17:50:27 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jRcmzXHf0M64; Sun, 10 Jun 2007 17:50:26 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 6873065B769; Sun, 10 Jun 2007 17:50:26 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l5AFoPip034066; Sun, 10 Jun 2007 17:50:25 +0200 (CEST) (envelope-from rdivacky) Date: Sun, 10 Jun 2007 17:50:25 +0200 From: Roman Divacky To: Ivan Voras Message-ID: <20070610155025.GA34035@freebsd.org> References: <20070610115630.GA28518@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: file(1) cannot detect UFS2? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2007 15:50:29 -0000 > Now there's only the matter of importing it :) > you mean... like was done 2 weeks ago? :) From owner-freebsd-fs@FreeBSD.ORG Sun Jun 10 16:02:06 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2702916A468 for ; Sun, 10 Jun 2007 16:02:06 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id A1FF513C489 for ; Sun, 10 Jun 2007 16:02:05 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HxPre-0002XR-FZ for freebsd-fs@freebsd.org; Sun, 10 Jun 2007 18:02:02 +0200 Received: from 78-0-92-215.adsl.net.t-com.hr ([78.0.92.215]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Jun 2007 18:02:02 +0200 Received: from ivoras by 78-0-92-215.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Jun 2007 18:02:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Ivan Voras Date: Sun, 10 Jun 2007 18:01:37 +0200 Lines: 68 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5A4A22D384CFC68AB191E63D" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 78-0-92-215.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) In-Reply-To: X-Enigmail-Version: 0.94.3.0 Sender: news Subject: Re: Filesystems larger than 2TB? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2007 16:02:06 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5A4A22D384CFC68AB191E63D Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Francisco Reyes wrote: > Ivan Voras writes: >=20 >> 1. don't use partitions/slices at all and create the file system on th= e >> raw device (i.e. newfs /dev/da0) >=20 > But how would one do this on a new machine? > i.e. If I am setting up a new machine with a 6.2 Stable CD.. isn't the > install program basically sysinstall? If you have a single storage device (RAID array?) on which you want to install FreeBSD, which is larger than 2 GB, and you want to use up all the space in it, you cannot do it using sysinstall because sysinstall only knows about MSDOS partitions and BSD partitions ("bsdlabels"). In fact, since you can only boot from raw drives, MSDOS and BSD partitions, your only option is not to use any partitioning, make one huge file system directly on the device and install FreeBSD manually on it, but this course of action is absurd. > Do I setup my smaller partitions such as /, /usr, /var, /tmp and leave > the end blank and then use "newfs -s /dev/da0s1 ? > Or perhaps creating a second slice for the remaining space over 2TB? > Any man pages or URLs you know off that I can read? No, if you use *any* partitioning scheme except GPT you're limited to 2 TB "total" usable space covered by the partitions. And you can't use GPT.= =2E. > So far the only thing I found was the "-s" parameter to newfs. It doesn't apply to your case. The only reasonable (well, as far as circumstances permit) thing you can do is get a smaller drive into the machine, install and partition it "normally" using sysinstall, MSDOS and BSD partitions, boot from it, and then use GPT to partition the big device, mount it, etc. >> 2. use GPT partitions. >=20 > What is the drawback of using that approach? You can't boot from it, it's not supported by sysinstall. This might change in 7.0, but there are no enthusiastic volunteers to do the work as of yet so don't count on it :( --------------enig5A4A22D384CFC68AB191E63D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGbCBnldnAQVacBcgRAlpJAKDVYmj5rQ39zbQLTvTBSXy1vO5S7wCgxKAB BhF/VWZ0PJov72v2BG+i/dU= =nZSN -----END PGP SIGNATURE----- --------------enig5A4A22D384CFC68AB191E63D-- From owner-freebsd-fs@FreeBSD.ORG Sun Jun 10 16:15:17 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 87FE016A468 for ; Sun, 10 Jun 2007 16:15:17 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 3E77C13C447 for ; Sun, 10 Jun 2007 16:15:17 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1HxQ4E-0004wv-HB for freebsd-fs@freebsd.org; Sun, 10 Jun 2007 18:15:02 +0200 Received: from 78-0-92-215.adsl.net.t-com.hr ([78.0.92.215]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Jun 2007 18:15:02 +0200 Received: from ivoras by 78-0-92-215.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Jun 2007 18:15:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Ivan Voras Date: Sun, 10 Jun 2007 18:06:00 +0200 Lines: 34 Message-ID: References: <20070610115630.GA28518@freebsd.org> <20070610155025.GA34035@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA5D3066BB03791E52F317BE0" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 78-0-92-215.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) In-Reply-To: <20070610155025.GA34035@freebsd.org> X-Enigmail-Version: 0.94.3.0 Sender: news Cc: freebsd-hackers@freebsd.org Subject: Re: file(1) cannot detect UFS2? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2007 16:15:17 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA5D3066BB03791E52F317BE0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Roman Divacky wrote: >> Now there's only the matter of importing it :) >> >=20 > you mean... like was done 2 weeks ago? :) Aargh. (it was done a few minutes after I've last cvsupped and started buildworld, so I've just missed it). Thanks and sorry for bogosity. --------------enigA5D3066BB03791E52F317BE0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGbCFoldnAQVacBcgRAgRgAKCx7jes8aVOC2tEglWcZgN+oT+/VgCfV5yb 9C0GoudeT7BBDYKrbYuFmsE= =Mtg6 -----END PGP SIGNATURE----- --------------enigA5D3066BB03791E52F317BE0-- From owner-freebsd-fs@FreeBSD.ORG Sun Jun 10 18:58:36 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8460316A41F for ; Sun, 10 Jun 2007 18:58:36 +0000 (UTC) (envelope-from SRS0=tyW4Ee=LK=vvelox.net=v.velox@yourhostingaccount.com) Received: from mailout07.yourhostingaccount.com (mailout07.yourhostingaccount.com [65.254.253.60]) by mx1.freebsd.org (Postfix) with ESMTP id 560EE13C46A for ; Sun, 10 Jun 2007 18:58:36 +0000 (UTC) (envelope-from SRS0=tyW4Ee=LK=vvelox.net=v.velox@yourhostingaccount.com) Received: from mailscan36.yourhostingaccount.com ([10.1.15.36] helo=mailscan36.yourhostingaccount.com) by mailout07.yourhostingaccount.com with esmtp (Exim) id 1HxS94-0002u2-Ob for freebsd-fs@freebsd.org; Sun, 10 Jun 2007 14:28:10 -0400 Received: from authsmtp08.yourhostingaccount.com ([10.1.18.8] ident=exim) by mailscan36.yourhostingaccount.com with spamscanlookuphost (Exim) id 1HxS94-0007jC-BR for freebsd-fs@freebsd.org; Sun, 10 Jun 2007 14:28:10 -0400 Received: from authsmtp08.yourhostingaccount.com ([10.1.18.8] helo=authsmtp08.yourhostingaccount.com) by mailscan36.yourhostingaccount.com with esmtp (Exim) id 1HxS92-0007iW-EE; Sun, 10 Jun 2007 14:28:08 -0400 Received: from cpe-24-93-100-44.columbus.res.rr.com ([24.93.100.44] helo=vixen42) by authsmtp08.yourhostingaccount.com with esmtpa (Exim) id 1HxS8z-0002AT-Lh; Sun, 10 Jun 2007 14:28:06 -0400 Date: Sun, 10 Jun 2007 14:28:32 -0400 From: "Zane C.B." To: Francisco Reyes Message-ID: <20070610142832.11ecfaff@vixen42> In-Reply-To: References: X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.12; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EN-UserInfo: 0d1ca1697cdb7a831d4877828571b7ab:1570f0de6936c69fef9e164fffc541bc X-EN-AuthUser: vvelox2 Sender: "Zane C.B." X-EN-OrigIP: 24.93.100.44 X-EN-OrigHost: cpe-24-93-100-44.columbus.res.rr.com Cc: freebsd-fs@freebsd.org, Ivan Voras Subject: Re: Filesystems larger than 2TB? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2007 18:58:36 -0000 On Sun, 10 Jun 2007 10:13:41 -0400 Francisco Reyes wrote: > Ivan Voras writes: > > > 1. don't use partitions/slices at all and create the file system > > on the raw device (i.e. newfs /dev/da0) > > But how would one do this on a new machine? > i.e. If I am setting up a new machine with a 6.2 Stable CD.. isn't > the install program basically sysinstall? > > Do I setup my smaller partitions such as /, /usr, /var, /tmp and > leave the end blank and then use "newfs -s /dev/da0s1 ? > Or perhaps creating a second slice for the remaining space over > 2TB? > > Any man pages or URLs you know off that I can read? > > So far the only thing I found was the "-s" parameter to newfs. > > > 2. use GPT partitions. > > What is the drawback of using that approach? In such a situation, I would seperate the data drives and the OS drives, instead of having them in one big raid. This makes it a lot more manageable. From owner-freebsd-fs@FreeBSD.ORG Sun Jun 10 22:56:29 2007 Return-Path: X-Original-To: fs@freebsd.org Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 54F2516A468 for ; Sun, 10 Jun 2007 22:56:29 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (bitblocks.com [64.142.15.60]) by mx1.freebsd.org (Postfix) with ESMTP id 4393613C4AE for ; Sun, 10 Jun 2007 22:56:27 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost.bitblocks.com [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 35EBC5B3B; Sun, 10 Jun 2007 15:31:59 -0700 (PDT) To: current@freebsd.org Date: Sun, 10 Jun 2007 15:31:58 -0700 From: Bakul Shah Message-Id: <20070610223159.35EBC5B3B@mail.bitblocks.com> Cc: fs@freebsd.org Subject: zfs problem X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2007 22:56:29 -0000 I rebuilt and installed -current as of last night (10:30PM PST or so). Now both zfs & zpool croak out the following message as they die: link_elf: symbol sysctl_handle_quad undefined internal error: failed to initialized zfs library So I am trying to recover from losing /usr. Trying to run older zfs/zpool doesn't help. Trying to compile them statically on another system doesn't work either (libgeom and libzfs have undefined references). I can't even locate where sysct_handle_quad is defined! I suppose I can rebuild everything but it would be nice to know what broke and if there is a work around. Looks like zfs/zpool need to be added to /rescue. From owner-freebsd-fs@FreeBSD.ORG Sun Jun 10 23:11:29 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7101A16A400 for ; Sun, 10 Jun 2007 23:11:29 +0000 (UTC) (envelope-from lists.freebsd@gmail.com) Received: from qb-out-0506.google.com (qb-out-0506.google.com [72.14.204.235]) by mx1.freebsd.org (Postfix) with ESMTP id 1680F13C447 for ; Sun, 10 Jun 2007 23:11:28 +0000 (UTC) (envelope-from lists.freebsd@gmail.com) Received: by qb-out-0506.google.com with SMTP id b14so2228699qbc for ; Sun, 10 Jun 2007 16:11:28 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=NmhEoo/mQSqO8YM4n4csvKmfilezZpEAz/NypKz5GTjlE7FhV/aBUE/d7nlaxR5xBp6ilaE5AY1BEPt9gGA2mIXCejTX+1/kOKYfaVwo6a6kB95c+tQuzn8i6D1sPLme7JleTD9D2H3LNLg+kYmKD6OaPxMxyawK1TQFROelAuM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=cpnJFHy8+DdgfuRYUFpuqgnMbsSk3wTuR+/VM+OFju8ZY0nwnlmOAAidsyhnvaWDtcuyoL0hmPZ4QwiFDzkXBmLdDZfV+mcJ+PiL3VGKG5WL4msYbNDJr0YV/eWlGwlA5nVrFvC2R/YqkeiHxnC9W4jXpCoOlNYf83ZI085QIsQ= Received: by 10.143.162.8 with SMTP id p8mr252764wfo.1181517087516; Sun, 10 Jun 2007 16:11:27 -0700 (PDT) Received: by 10.143.155.17 with HTTP; Sun, 10 Jun 2007 16:11:27 -0700 (PDT) Message-ID: <99c92b5f0706101611w3cb84a1fo7ac03940afac3782@mail.gmail.com> Date: Mon, 11 Jun 2007 01:11:27 +0200 From: "Richard Noorlandt" To: freebsd-fs@freebsd.org In-Reply-To: <20070609020208.GA38821@keira.kiwi-computer.com> MIME-Version: 1.0 References: <99c92b5f0706070804p42da0881kfc866b192be60ed5@mail.gmail.com> <20070607164116.GA95991@keira.kiwi-computer.com> <99c92b5f0706081530t454ed9cfp4f95b9afd19e7ed5@mail.gmail.com> <20070609020208.GA38821@keira.kiwi-computer.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: tunefs question X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2007 23:11:29 -0000 2007/6/9, Rick C. Petty : > > On Sat, Jun 09, 2007 at 12:30:04AM +0200, Richard Noorlandt wrote: > > Large filesystems don't seem to be very well > > supported at the moment. > > Where do you arrive at this conclusion? UFS2 supports large filesystems > very well. The only known problems have to do with snapshots and full > filesystems, and these affect large filesystems as well as small. It seems true that UFS itself supports large filesystems quite well. What I actually meant here is the fact that may other parts of the system don't support it very well. In particular, using growfs poses a bit of a problem. At the moment one can easily create and operate a large filesystem. But once you want to grow it, boot from it (ok, true... why would someone want that?) or perhaps want to do something non-standard with it, you'll tend to run into trouble. Though I have the idea that this is the case in most current operating systems and/or programs. > I hope (and believe) ZFS will settle this. It > > Then you are mistaken. ZFS has large memory requirements, and as you grow > the filesystem you require more memory. UFS has a small memory > footprint... it only requires memory for one cylinder group (superblock > plus free bitmaps), plus all indirect blocks, in addition to the > referenced > blocks for each file open. This might be true, but when you use ZFS on a dedicated fileserver this is less of an issue. Though I haven't really looked into the ZFS details yet. Using it on FreeBSD in its current state is no option for me anyway. I also don't see ZFS as a replacement for UFS, but in certain situations I think they could complement eachother quite well. It's all about picking the right filesystem for the task at hand, and I'm happy that ZFS adds something completely different to choose from. This is not meant to critical to ZFS.. each file system has its own perks > and problems. UFS has been tested and used for much longer, at least with > the default newfs parameters. Also, it's called fast file system for a > reason. A name doesn't define characteristics. The name Fast Filesystem was given to it years ago, and things change. Though the fact that it was never replaced could be an indication that it must be a solid performer. > And when you change the number of inodes at filesystem creation, what > effect > > will it have when you run growfs later on? Will it expand the filesystem > > with an equal inode density, or is it expanded with the default density? > > growfs currently doesn't look at inode density. If you run growfs on a > filesystem without modifying the size, it will allocate extra metadata > blocks and could end up failing if the filesystem is nearly full. growfs > wasn't developed at the same time as newfs, and the authors decided to > ignore inode density as an option. IMO, this is a bug. Although the > density is not stored as a parameter in the superblock, it is trivial to > compute. Someday I'll probably get around to sending them a patch. That's bad news, since I was planning to use growfs in the future. From various growfs related discussions I started to wonder if there is any coordinated effort to completely revise it. All I see is a bunch of not very well tested patches, making growfs a very risky tool to use. It would be great if it was to be completely fixed and debugged, especially because it is part of the base system. Too bad that I don't have time to delve into it myself. I guess I'll refrain from tweaking the filesystem that has to grow in the future. Too bad for the wasted space, but at the moment I think there are too many issues involved. For all the other filesystems, your inode advice is of great help. Best regards, Richard From owner-freebsd-fs@FreeBSD.ORG Mon Jun 11 03:01:59 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 61B6B16A480 for ; Mon, 11 Jun 2007 03:01:59 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.freebsd.org (Postfix) with ESMTP id 2634F13C45A for ; Mon, 11 Jun 2007 03:01:58 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: by zoraida.natserv.net (Postfix, from userid 58) id A8095C2F2; Sun, 10 Jun 2007 23:01:57 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on zoraida.natserv.net X-Spam-Level: X-Spam-Status: No, score=-1.4 required=4.0 tests=ALL_TRUSTED, DK_POLICY_SIGNSOME autolearn=disabled version=3.1.8 X-Spam-Report: * 0.0 DK_POLICY_SIGNSOME Domain Keys: policy says domain signs some mails * -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP Received: from zoraida.natserv.net (zoraida.natserv.net [66.114.65.147]) by zoraida.natserv.net (Postfix) with ESMTP id F2CECC2AF; Sun, 10 Jun 2007 23:01:54 -0400 (EDT) References: <20070610142832.11ecfaff@vixen42> Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Francisco Reyes To: Zane =?ISO-8859-1?B?Qy5CLg==?= Date: Sun, 10 Jun 2007 23:01:54 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, Ivan Voras Subject: Re: Filesystems larger than 2TB? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2007 03:01:59 -0000 Zane C.B. writes: > In such a situation, I would seperate the data drives and the OS > drives, instead of having them in one big raid. This makes it a lot > more manageable. Ok. Let me see if I understand. So I could take say 2 drives and make it raid 1. T hen make another raid with the rest of the drives and I would then newfs -s the raw partition? I also think 3ware controllers allow to take part of a raid display it separately, but still only have one raid. Will check before I do my next "large" machine. Thanks for all the feedback. From owner-freebsd-fs@FreeBSD.ORG Mon Jun 11 03:11:24 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AA0F116A468 for ; Mon, 11 Jun 2007 03:11:24 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.freebsd.org (Postfix) with ESMTP id 765D213C483 for ; Mon, 11 Jun 2007 03:11:24 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: by zoraida.natserv.net (Postfix, from userid 58) id D7E37C2E9; Sun, 10 Jun 2007 23:11:23 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on zoraida.natserv.net X-Spam-Level: X-Spam-Status: No, score=-1.4 required=4.0 tests=ALL_TRUSTED, DK_POLICY_SIGNSOME autolearn=disabled version=3.1.8 X-Spam-Report: * 0.0 DK_POLICY_SIGNSOME Domain Keys: policy says domain signs some mails * -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP Received: from zoraida.natserv.net (zoraida.natserv.net [66.114.65.147]) by zoraida.natserv.net (Postfix) with ESMTP id A7E8FC2AF for ; Sun, 10 Jun 2007 23:11:21 -0400 (EDT) Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Francisco Reyes To: FreeBSD Filesystem Date: Sun, 10 Jun 2007 23:11:21 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit Subject: Inode density for database machines - newfs -i X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2007 03:11:24 -0000 For my mailstore machines I usually do "newfs -i 32768" to decrease fsck time in case of problems. For database machines, postgresql in particular, would it help to have a number larger than 65536? I am aware that ZFS and gjournal are in the horizon, but I am looking at the next 3 months and neither of those two may be mature enough to even get approval to install them. Looking at one of my existing database machines, I have a filesystem using 1.2TB and only 2053 inodes. There are 3,539,385 free inodes. If I recall correctly I used "newfs -i 65536" for that filesystem. Will fsck be significantly faster in case of crash if I used say 131072(128K) or even 256K? What is the best list to find the current status of gjournal? This list of geom? Looking at archives most of the gjournal posts seem to be in current. From owner-freebsd-fs@FreeBSD.ORG Mon Jun 11 04:47:20 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 736AD16A469 for ; Mon, 11 Jun 2007 04:47:20 +0000 (UTC) (envelope-from SRS0=QtkB+t=LL=vvelox.net=v.velox@yourhostingaccount.com) Received: from mailout17.yourhostingaccount.com (mailout17.yourhostingaccount.com [65.254.253.140]) by mx1.freebsd.org (Postfix) with ESMTP id 43D5613C44B for ; Mon, 11 Jun 2007 04:47:20 +0000 (UTC) (envelope-from SRS0=QtkB+t=LL=vvelox.net=v.velox@yourhostingaccount.com) Received: from mailscan12.yourhostingaccount.com ([10.1.15.12] helo=mailscan12.yourhostingaccount.com) by mailout17.yourhostingaccount.com with esmtp (Exim) id 1HxbKq-000798-DH for freebsd-fs@freebsd.org; Mon, 11 Jun 2007 00:16:56 -0400 Received: from authsmtp10.yourhostingaccount.com ([10.1.18.10] ident=exim) by mailscan12.yourhostingaccount.com with spamscanlookuphost (Exim) id 1HxbKq-0006UJ-8D for freebsd-fs@freebsd.org; Mon, 11 Jun 2007 00:16:56 -0400 Received: from authsmtp10.yourhostingaccount.com ([10.1.18.10] helo=authsmtp10.yourhostingaccount.com) by mailscan12.yourhostingaccount.com with esmtp (Exim) id 1HxbKn-0006TT-UJ; Mon, 11 Jun 2007 00:16:53 -0400 Received: from cpe-24-93-100-44.columbus.res.rr.com ([24.93.100.44] helo=vixen42) by authsmtp10.yourhostingaccount.com with esmtpa (Exim) id 1HxbKm-0000FY-R9; Mon, 11 Jun 2007 00:16:53 -0400 Date: Mon, 11 Jun 2007 00:17:23 -0400 From: Vulpes Velox To: Francisco Reyes Message-ID: <20070611001723.5956b21c@vixen42> In-Reply-To: References: <20070610142832.11ecfaff@vixen42> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.12; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EN-UserInfo: 0d1ca1697cdb7a831d4877828571b7ab:1570f0de6936c69fef9e164fffc541bc X-EN-AuthUser: vvelox2 Sender: Vulpes Velox X-EN-OrigIP: 24.93.100.44 X-EN-OrigHost: cpe-24-93-100-44.columbus.res.rr.com Cc: freebsd-fs@freebsd.org, Ivan Voras Subject: Re: Filesystems larger than 2TB? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2007 04:47:20 -0000 On Sun, 10 Jun 2007 23:01:54 -0400 Francisco Reyes wrote: > Zane C.B. writes: > > > In such a situation, I would seperate the data drives and the OS > > drives, instead of having them in one big raid. This makes it a > > lot more manageable. > > Ok. Let me see if I understand. > So I could take say 2 drives and make it raid 1. T > hen make another raid with the rest of the drives and I would then > newfs -s the raw partition? > > I also think 3ware controllers allow to take part of a raid display > it separately, but still only have one raid. Will check before I do > my next "large" machine. Yeah, something along those lines. I've found it really makes things nicer in the long run. That way you can easily move the data drives around seperate of OS. It makes upgrading a lot smoother process as well. From owner-freebsd-fs@FreeBSD.ORG Mon Jun 11 09:41:56 2007 Return-Path: X-Original-To: fs@freebsd.org Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8C0E316A400 for ; Mon, 11 Jun 2007 09:41:56 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.236]) by mx1.freebsd.org (Postfix) with ESMTP id 4CC6413C4AD for ; Mon, 11 Jun 2007 09:41:56 +0000 (UTC) (envelope-from kometen@gmail.com) Received: by nz-out-0506.google.com with SMTP id 14so1025788nzn for ; Mon, 11 Jun 2007 02:41:55 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=J0YJZoA0kTe3DZFu+vekfujdR/02ZIzVyKqPFYfNdAi7oPvp0sKk9QTqGv2ACbRUa/W5R/xzBP7SrRL6yugBTNGEB4hFUjuPgE3oUeHtxQ6gNkvK/83yiQ3qCJj0kJBm5cr2SH3KjaMUO1GBwwbaVcAqy7A1Wi4nUW1yoZmkHP4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=X3SEz0kAQcPcHLhDs421F60I26Vd5vqpOAOUwLwRKXxhFORgDdXMtn4yYZp+JINC1h4ha1GnNpmu6JZZj+upBT6ig7pICRfqiVe4p21Q7nyYxKqi7u/2+952wEMCggz1W+nQlmypFaotIhD+prWutkIRXiD8rKoO2PpI2G2nJzE= Received: by 10.114.176.1 with SMTP id y1mr5303918wae.1181553310206; Mon, 11 Jun 2007 02:15:10 -0700 (PDT) Received: by 10.114.194.12 with HTTP; Mon, 11 Jun 2007 02:15:10 -0700 (PDT) Message-ID: Date: Mon, 11 Jun 2007 11:15:10 +0200 From: "Claus Guttesen" To: "Bakul Shah" In-Reply-To: <20070610223159.35EBC5B3B@mail.bitblocks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070610223159.35EBC5B3B@mail.bitblocks.com> Cc: current@freebsd.org, fs@freebsd.org Subject: Re: zfs problem X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2007 09:41:56 -0000 > I rebuilt and installed -current as of last night (10:30PM > PST or so). Now both zfs & zpool croak out the following > message as they die: > > link_elf: symbol sysctl_handle_quad undefined > internal error: failed to initialized zfs library I have just updated to current as of June 11'th 2007 10 am gmt +1 and it came up fine. Did you do a make buildworld, -kernel, mergemaster etc.? -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare From owner-freebsd-fs@FreeBSD.ORG Mon Jun 11 09:43:05 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DD5D416A46B for ; Mon, 11 Jun 2007 09:43:05 +0000 (UTC) (envelope-from micron@bglug.it) Received: from jack.tiscali.it (jack.tiscali.it [213.205.33.53]) by mx1.freebsd.org (Postfix) with ESMTP id 6DD0D13C45A for ; Mon, 11 Jun 2007 09:43:05 +0000 (UTC) (envelope-from micron@bglug.it) Received: from [10.8.0.10] (84.220.187.231) by jack.tiscali.it (7.2.079) id 465A9B1300243038; Mon, 11 Jun 2007 11:42:57 +0200 From: Flavio Castelli To: Kris Kennaway Date: Mon, 11 Jun 2007 11:42:51 +0200 User-Agent: KMail/1.9.5 References: <200706011557.13769.micron@bglug.it> <200706081058.02229.micron@bglug.it> <20070608090121.GA40524@rot13.obsecurity.org> In-Reply-To: <20070608090121.GA40524@rot13.obsecurity.org> X-Face: $Txq`+~>k4|^/-x\@oJeZW!JU; 1g78H("lLgtOyrD\&:=?utf-8?q?uz=3AGv=7E=0A=09=5DHV/7cx=3DTaNUwE?=>(tllad(pN*f+LRB(:{k~/[R00SWX@=?utf-8?q?=5DywcKa=0A=094=7DX?=(}gp/P"nfEAUQL(:G1a]n\'bQUC MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200706111142.51481.micron@bglug.it> Cc: freebsd-fs@freebsd.org Subject: Re: file system notifications X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2007 09:43:05 -0000 On Friday 08 June 2007 11:01, you wrote: > Not currently. forgive me, maybe I'm going to say an heresy (since I never used *bsd=20 before)... isn't it possible to port darwin's fsevents interface to freebsd? As I said before fsevents' source code is public available (see [1] and [2]) Thanks in advance Flavio [1] http://fxr.watson.org/fxr/source/bsd/sys/fsevents.h?v=3DDARWIN8 [2] http://fxr.watson.org/fxr/source/bsd/vfs/vfs_fsevents.c?v=3DDARWIN8 =2D-=20 |=A7 micron<- ICQ #118796665 |=A7 GPG Key: |=A7 ~ Keyserver: pgp.mit.edu |=A7 ~ KeyID: 6D632BED ~ "Progress is merely a realisation of utopias" ~ From owner-freebsd-fs@FreeBSD.ORG Mon Jun 11 16:11:52 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 16A0316A468 for ; Mon, 11 Jun 2007 16:11:52 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (keira.kiwi-computer.com [63.224.10.3]) by mx1.freebsd.org (Postfix) with SMTP id AE23813C45A for ; Mon, 11 Jun 2007 16:11:51 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: (qmail 19556 invoked by uid 2001); 11 Jun 2007 16:11:48 -0000 Date: Mon, 11 Jun 2007 11:11:48 -0500 From: "Rick C. Petty" To: Francisco Reyes Message-ID: <20070611161148.GA19299@keira.kiwi-computer.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: FreeBSD Filesystem Subject: Re: Inode density for database machines - newfs -i X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd@kiwi-computer.com List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2007 16:11:52 -0000 On Sun, Jun 10, 2007 at 11:11:21PM -0400, Francisco Reyes wrote: > For my mailstore machines I usually do "newfs -i 32768" to decrease fsck > time in case of problems. > > For database machines, postgresql in particular, would it help to have a > number larger than 65536? It depends on the average size of the files, which is what the inode density refers to (actually it means "create an inode for every N bytes of filesystem" which amounts to the same thing). Look at the average file size of those machines. An easy computation can be performed by using a combination of "df" and "find | wc". > Looking at one of my existing database machines, I have a filesystem using > 1.2TB and only 2053 inodes. There are 3,539,385 free inodes. If I recall > correctly I used "newfs -i 65536" for that filesystem. Then you guessed incorrectly. Try a much larger number.. in your case you want: "-i 20132659". Note that specifying an inode density means newfs will minimize the number of inodes in each cylinder group. It tries to create precisely the inode density you give it, but the density is adjusted as the number of cylinder groups increases. Basically there's a loop in newfs which increases the number of cylinder groups until the free bitmap for each CG can fit into a single filesystem block. Because of that loop, you won't always get the inode density you specify, but you will minimize the number of inodes created. > Will fsck be significantly faster in case of crash if I used say > 131072(128K) or even 256K? Of course, but it also depends on the number of cylinder groups. Specifying any number for the inode density will minimize the number of cylinder groups and also minimize the number of inodes per CG. Both of these will reduce fsck time. Using a higher inode density means fewer inodes will likely be created, meaning faster fsck time. However, make sure you have enough inodes for your filesystem... running out is no fun either. "newfs" tells you how many inodes it creates per cylinder group and how many CGs it creates. Multiply the two together, and make sure that number is larger than the number of inodes you need. Remember: every directory entry and almost every file entry uses 1 inode. Hard links don't use an inode but each symbolic link does. > What is the best list to find the current status of gjournal? freebsd-geom. > This list of geom? Looking at archives most of the gjournal posts seem to > be in current. Then that is a mistake, or it's cross-posted. -- Rick C. Petty From owner-freebsd-fs@FreeBSD.ORG Mon Jun 11 18:11:36 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AB1EC16A46C for ; Mon, 11 Jun 2007 18:11:36 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.freebsd.org (Postfix) with ESMTP id 75AB713C4BC for ; Mon, 11 Jun 2007 18:11:36 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: by zoraida.natserv.net (Postfix, from userid 58) id DFFBEC2EC; Mon, 11 Jun 2007 14:11:35 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on zoraida.natserv.net X-Spam-Level: X-Spam-Status: No, score=-1.4 required=4.0 tests=ALL_TRUSTED, DK_POLICY_SIGNSOME autolearn=disabled version=3.1.8 X-Spam-Report: * 0.0 DK_POLICY_SIGNSOME Domain Keys: policy says domain signs some mails * -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP Received: from 35st.simplicato.com (static-71-249-233-130.nycmny.east.verizon.net [71.249.233.130]) by zoraida.natserv.net (Postfix) with ESMTP id 35E2FC2AF; Mon, 11 Jun 2007 14:11:33 -0400 (EDT) References: <20070611161148.GA19299@keira.kiwi-computer.com> Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Francisco Reyes To: rick-freebsd@kiwi-computer.com Date: Mon, 11 Jun 2007 14:11:32 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit Cc: FreeBSD Filesystem Subject: Re: Inode density for database machines - newfs -i X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2007 18:11:36 -0000 Rick C. Petty writes: > It depends on the average size of the files, which is what the inode > density refers to (actually it means "create an inode for every N bytes of Given that I have a machine very simmilar to the next DB machine I have a good idea of how many inodes I need. > sure you have enough inodes for your filesystem... running out is no fun > either. "newfs" tells you how many inodes it creates per cylinder group Will do. The current machine is using 2056 inodes for 1.2TB.. with 3,539,382 inodes free. For the next machine I will use a higher number in newfs until I get the number of free Inodes close to 100K. That will give the machine plenty of free inodes. Thanks for your feedback. From owner-freebsd-fs@FreeBSD.ORG Mon Jun 11 20:15:58 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1679A16A41F for ; Mon, 11 Jun 2007 20:15:58 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id C0AC113C46E for ; Mon, 11 Jun 2007 20:15:57 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HxqID-0000aZ-5i for freebsd-fs@freebsd.org; Mon, 11 Jun 2007 22:15:13 +0200 Received: from 78-1-108-42.adsl.net.t-com.hr ([78.1.108.42]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jun 2007 22:15:13 +0200 Received: from ivoras by 78-1-108-42.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jun 2007 22:15:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Ivan Voras Date: Mon, 11 Jun 2007 22:13:27 +0200 Lines: 39 Message-ID: References: <20070611161148.GA19299@keira.kiwi-computer.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig07DF6E2D9D74F0296333BBEE" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 78-1-108-42.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) In-Reply-To: X-Enigmail-Version: 0.94.3.0 Sender: news Subject: Re: Inode density for database machines - newfs -i X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2007 20:15:58 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig07DF6E2D9D74F0296333BBEE Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Francisco Reyes wrote: > The current machine is using 2056 inodes for 1.2TB.. with 3,539,382 > inodes free. For the next machine I will use a higher number in newfs > until I get the number of free Inodes close to 100K. That will give the= > machine plenty of free inodes. How long fsck takes depends on the number of used inodes, not the total number. Barring a bug in UFS, you should be able to have as little inodes as you want, especially if you know for sure what number to expect= =2E The only thing that might bite you is if the machine is (sometime in the future) reassigned to some other duty that suddely requires a lot of inod= es. --------------enig07DF6E2D9D74F0296333BBEE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGbaztldnAQVacBcgRAjRIAJ90QWDuLUJLJDV8Yse6i+PnMLyopgCcCOZT ctB3kKTmo+QZLa0uAH+CdI8= =T5Md -----END PGP SIGNATURE----- --------------enig07DF6E2D9D74F0296333BBEE-- From owner-freebsd-fs@FreeBSD.ORG Mon Jun 11 20:44:14 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CCF4116A400 for ; Mon, 11 Jun 2007 20:44:14 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (keira.kiwi-computer.com [63.224.10.3]) by mx1.freebsd.org (Postfix) with SMTP id 55D4613C545 for ; Mon, 11 Jun 2007 20:44:13 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: (qmail 25639 invoked by uid 2001); 11 Jun 2007 20:44:13 -0000 Date: Mon, 11 Jun 2007 15:44:13 -0500 From: "Rick C. Petty" To: Ivan Voras Message-ID: <20070611204413.GA25491@keira.kiwi-computer.com> References: <20070611161148.GA19299@keira.kiwi-computer.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-fs@freebsd.org Subject: Re: Inode density for database machines - newfs -i X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd@kiwi-computer.com List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2007 20:44:14 -0000 On Mon, Jun 11, 2007 at 10:13:27PM +0200, Ivan Voras wrote: > Francisco Reyes wrote: > > > The current machine is using 2056 inodes for 1.2TB.. with 3,539,382 > > inodes free. For the next machine I will use a higher number in newfs > > until I get the number of free Inodes close to 100K. That will give the > > machine plenty of free inodes. > > How long fsck takes depends on the number of used inodes, not the total > number. That's only true if using UFS2, softupdates, and if the cylinder groups were properly sync'd before shutdown. Otherwise fsck will scan all inodes. > Barring a bug in UFS, you should be able to have as little > inodes as you want, especially if you know for sure what number to expect. > > The only thing that might bite you is if the machine is (sometime in the > future) reassigned to some other duty that suddely requires a lot of inodes. In which case, use growfs to reallocate the default number of inodes. -- -- Rick C. Petty From owner-freebsd-fs@FreeBSD.ORG Mon Jun 11 20:51:30 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DC93716A400 for ; Mon, 11 Jun 2007 20:51:30 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.freebsd.org (Postfix) with ESMTP id A66FF13C48A for ; Mon, 11 Jun 2007 20:51:30 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: by zoraida.natserv.net (Postfix, from userid 58) id 13FF5C2EE; Mon, 11 Jun 2007 16:51:29 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on zoraida.natserv.net X-Spam-Level: X-Spam-Status: No, score=-1.4 required=4.0 tests=ALL_TRUSTED, DK_POLICY_SIGNSOME autolearn=disabled version=3.1.8 X-Spam-Report: * 0.0 DK_POLICY_SIGNSOME Domain Keys: policy says domain signs some mails * -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP Received: from 35st.simplicato.com (static-71-249-233-130.nycmny.east.verizon.net [71.249.233.130]) by zoraida.natserv.net (Postfix) with ESMTP id 0B03CC2AF; Mon, 11 Jun 2007 16:51:26 -0400 (EDT) References: <20070611161148.GA19299@keira.kiwi-computer.com> Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Francisco Reyes To: Ivan Voras Date: Mon, 11 Jun 2007 16:51:26 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: Inode density for database machines - newfs -i X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2007 20:51:30 -0000 Ivan Voras writes: > How long fsck takes depends on the number of used inodes, not the total > number. Barring a bug in UFS, you should be able to have as little > inodes as you want, especially if you know for sure what number to expect. "man tuning" says otherwise. >Decreasing the number of i-nodes in a file system can greatly reduce >fsck(8) recovery times after a crash. That man page was one of the reasons I was trying to get my inodes as little as possible. It is the same area where they mention to use "newfs -i" to reduce the number of inodes. The second reason I am doing it, is to get some space back since I will not be needing so many inodes anyway. From owner-freebsd-fs@FreeBSD.ORG Mon Jun 11 21:40:43 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C621116A46D for ; Mon, 11 Jun 2007 21:40:43 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 8020613C484 for ; Mon, 11 Jun 2007 21:40:43 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Hxrco-0006c5-JW for freebsd-fs@freebsd.org; Mon, 11 Jun 2007 23:40:34 +0200 Received: from 78-1-108-42.adsl.net.t-com.hr ([78.1.108.42]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jun 2007 23:40:34 +0200 Received: from ivoras by 78-1-108-42.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jun 2007 23:40:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Ivan Voras Date: Mon, 11 Jun 2007 23:40:22 +0200 Lines: 40 Message-ID: References: <20070611161148.GA19299@keira.kiwi-computer.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigADF7CCE2CDB56F9FE8B3CDBF" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 78-1-108-42.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) In-Reply-To: X-Enigmail-Version: 0.94.3.0 Sender: news Subject: Re: Inode density for database machines - newfs -i X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2007 21:40:43 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigADF7CCE2CDB56F9FE8B3CDBF Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Francisco Reyes wrote: > Ivan Voras writes: >=20 >> How long fsck takes depends on the number of used inodes, not the tota= l >> number. Barring a bug in UFS, you should be able to have as little >> inodes as you want, especially if you know for sure what number to >> expect. >=20 > "man tuning" says otherwise. As Rick already clarified, this is a side-effect of UFS2. Actually, fsck for UFS2 will need to check all "initialized" inodes, e.g. if you had a file, then deleted it, that inode will still need to be checked, but never-initialized nodes won't. tuning(7) probably wasn't updated. --------------enigADF7CCE2CDB56F9FE8B3CDBF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGbcFGldnAQVacBcgRAhU2AJ9tYpUkcP0gEkcDOOEv5zM2T29oeACg8kiX 1+EFOIWAaw1Fj47TQz5KJ2U= =gOxX -----END PGP SIGNATURE----- --------------enigADF7CCE2CDB56F9FE8B3CDBF-- From owner-freebsd-fs@FreeBSD.ORG Mon Jun 11 21:58:24 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6B07E16A473 for ; Mon, 11 Jun 2007 21:58:24 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 5447113C45E for ; Mon, 11 Jun 2007 21:58:24 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id D3A141A4D84; Mon, 11 Jun 2007 14:58:07 -0700 (PDT) Received: from rot13.obsecurity.org (rot13.obsecurity.org [192.168.1.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 9BB79512A6; Mon, 11 Jun 2007 17:58:23 -0400 (EDT) Received: by rot13.obsecurity.org (Postfix, from userid 1001) id 9143ABE79; Mon, 11 Jun 2007 17:58:23 -0400 (EDT) Date: Mon, 11 Jun 2007 17:58:23 -0400 From: Kris Kennaway To: Flavio Castelli Message-ID: <20070611215823.GA4183@rot13.obsecurity.org> References: <200706011557.13769.micron@bglug.it> <200706081058.02229.micron@bglug.it> <20070608090121.GA40524@rot13.obsecurity.org> <200706111142.51481.micron@bglug.it> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NzB8fVQJ5HfG6fxh" Content-Disposition: inline In-Reply-To: <200706111142.51481.micron@bglug.it> User-Agent: Mutt/1.4.2.3i Cc: freebsd-fs@freebsd.org, Kris Kennaway Subject: Re: file system notifications X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2007 21:58:24 -0000 --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 11, 2007 at 11:42:51AM +0200, Flavio Castelli wrote: > On Friday 08 June 2007 11:01, you wrote: > > Not currently. > forgive me, maybe I'm going to say an heresy (since I never used *bsd=20 > before)... isn't it possible to port darwin's fsevents interface to freeb= sd? >=20 > As I said before fsevents' source code is public available (see [1] and [= 2]) Yes, but the APSL license is a barrier to enabling it in FreeBSD by default. A clean BSDL implementation is a better way for you to proceed. Kris --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGbcV/Wry0BWjoQKURAincAJ9dttKWlmjQwFl0PqbTFmpYEYvaFwCfbOnx 6MquKor1I6R91TWbYzSjKTc= =XmMX -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh-- From owner-freebsd-fs@FreeBSD.ORG Tue Jun 12 14:08:04 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9891716A46E for ; Tue, 12 Jun 2007 14:08:04 +0000 (UTC) (envelope-from mckusick@mckusick.com) Received: from chez.mckusick.com (dsl081-247-049.sfo1.dsl.speakeasy.net [64.81.247.49]) by mx1.freebsd.org (Postfix) with ESMTP id 7830813C480 for ; Tue, 12 Jun 2007 14:08:04 +0000 (UTC) (envelope-from mckusick@mckusick.com) Received: from chez.mckusick.com (localhost.mckusick.com [127.0.0.1]) by chez.mckusick.com (8.13.8/8.13.6) with ESMTP id l5CDnLDN096045; Tue, 12 Jun 2007 06:49:44 -0700 (PDT) (envelope-from mckusick@chez.mckusick.com) Message-Id: <200706121349.l5CDnLDN096045@chez.mckusick.com> To: "Vlad GURDIGA" Date: Tue, 12 Jun 2007 06:49:21 -0700 From: Kirk McKusick Cc: freebsd-fs@freebsd.org, Enrique Ayesta Perojo , Kris Kennaway Subject: Re: Fwd: Installing FreeBSD on large disk >2TB X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2007 14:08:04 -0000 I believe that there are some limitations on booting FreeBSD from filesystems bigger than 2Tb, but I know of no limitations on building non-root filesystems bigger than 2Tb. I have copied Kris Kennaway and the FreeBSD filesystem mailing list in the hope that someone can give a more precise answer than me. Kirk McKusick ---------- Forwarded message ---------- Date: Mon, 11 Jun 2007 17:16:45 +0300 From: "Vlad GURDIGA" To: mckusick@mckusick.com Subject: Fwd: Installing FreeBSD on large disk >2TB X-ASK-Info: Message Queued (2007/06/11 07:17:40) X-ASK-Info: Confirmed by User (2007/06/11 07:20:20) Hello, Wikipedia says that you contributed to development of FFS and I thought you might give a sure answer to a question about it. These days I saw a question on freebsd-questions mailing list that was left without a solution till now [see below]. Is there any chance that FFS can be extended to handle larger disks? Best regards. ---------- Forwarded message ---------- From: Enrique Ayesta Perojo Date: 11-Jun-2007 11:13 Subject: Installing FreeBSD on large disk >2TB To: freebsd-questions@freebsd.org Hello I'm trying to install FreeBSD 6.2 on a HP DL320s. This server has a P400 RAID controller with 12 SATA disk drives attached to it. The RAID controller is supported in FreeBSD through the ciss driver. The problem happens when i try to use a RAID larger in size to 2 Terabyte, then the install program freezes and the machine reboots (it cannot find the disk). If the array is smaller than 2 Terabytes then there is no problem, the controller detects the disk and i can install FreeBSD on it. I have tried with i386 and AMD64 versions (the server has a Xeon processor supported by AMD64) Any clue on how to solve it? FreeBSD can't be installed on disks larger than 2 TB? Thanks _______________________________________________ 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" From owner-freebsd-fs@FreeBSD.ORG Tue Jun 12 15:50:56 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4194C16A41F for ; Tue, 12 Jun 2007 15:50:56 +0000 (UTC) (envelope-from kramer@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id 18A0713C458 for ; Tue, 12 Jun 2007 15:50:55 +0000 (UTC) (envelope-from kramer@centtech.com) Received: from [127.0.0.1] (roddick.centtech.com [10.177.171.221]) by mh2.centtech.com (8.13.8/8.13.8) with ESMTP id l5CFV0YB064964 for ; Tue, 12 Jun 2007 10:31:01 -0500 (CDT) (envelope-from kramer@centtech.com) Message-ID: <466EBC35.4030808@centtech.com> Date: Tue, 12 Jun 2007 10:31:01 -0500 From: Kevin Kramer User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/3409/Tue Jun 12 09:08:04 2007 on mh2.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh2.centtech.com Subject: ZFS bonnie++ testing X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2007 15:50:56 -0000 I wanted to know what bonnie++ testing (give me the command line) would someone like me to try. I am current updating source, so I don't have the latest commits that increase speed. ZFS using the following: 3 - Jetstor SATA disk arrays containing 16 disks (750g) in RAID6, connected with 2G fiber to a Qlogic fabric. 1 - Dell 1850 connected to the fabric with Qlogic HBA 2g. FreeBSD-7 amd64. [root@snapshot1 ~]# zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT mammoth 28.5T 699K 28.5T 0% ONLINE - [root@snapshot1 ~]# zpool status pool: mammoth state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM mammoth ONLINE 0 0 0 raidz1 ONLINE 0 0 0 da1 ONLINE 0 0 0 da11 ONLINE 0 0 0 da13 ONLINE 0 0 0 From owner-freebsd-fs@FreeBSD.ORG Tue Jun 12 21:23:13 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B249016A473 for ; Tue, 12 Jun 2007 21:23:13 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 3B53013C4B9 for ; Tue, 12 Jun 2007 21:23:13 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HyDoH-00071F-5p for freebsd-fs@freebsd.org; Tue, 12 Jun 2007 23:21:53 +0200 Received: from 78-1-117-197.adsl.net.t-com.hr ([78.1.117.197]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Jun 2007 23:21:53 +0200 Received: from ivoras by 78-1-117-197.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Jun 2007 23:21:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Ivan Voras Date: Tue, 12 Jun 2007 23:20:04 +0200 Lines: 50 Message-ID: References: <466EBC35.4030808@centtech.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig0C01153432D506562820E5BE" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 78-1-117-197.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) In-Reply-To: <466EBC35.4030808@centtech.com> X-Enigmail-Version: 0.94.3.0 Sender: news Subject: Re: ZFS bonnie++ testing X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2007 21:23:13 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0C01153432D506562820E5BE Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Kevin Kramer wrote: > I wanted to know what bonnie++ testing (give me the command line) would= > someone like me to try. I am current updating source, so I don't have > the latest commits that increase speed. Do a chdir to /mammoth, go to a directory your current user (which isn't root) can write to, and do Probably bonnie++ -s 2*your_memory -d. -n64 the 2*your_memory is in megabytes so if you have 4 GB memory do: bonnie++ -s8192 -d. -n64 If you notice that file operations field in the results gets printed as stars (***), double the "64" argument (measured in thousands of files) and try again. > ZFS using the following: >=20 > 3 - Jetstor SATA disk arrays containing 16 disks (750g) in RAID6, > connected with 2G fiber to a Qlogic fabric. So you're doing software RAID5 over three hardware RAID6 arrays? Nice :) I hope your physical setup can make use of such redundancy. It will be interesting to see this results! --------------enig0C01153432D506562820E5BE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGbw4EldnAQVacBcgRAjHvAJ4ojPx3hSAPB2mUfUodIvPpLg5haQCePJwA Bddu2iBeFFCvGqzqGHkmnZc= =FTMg -----END PGP SIGNATURE----- --------------enig0C01153432D506562820E5BE-- From owner-freebsd-fs@FreeBSD.ORG Tue Jun 12 21:29:37 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F0E2916A468 for ; Tue, 12 Jun 2007 21:29:37 +0000 (UTC) (envelope-from kramer@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id C6B9313C45A for ; Tue, 12 Jun 2007 21:29:37 +0000 (UTC) (envelope-from kramer@centtech.com) Received: from [127.0.0.1] (roddick.centtech.com [10.177.171.221]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l5CLTXmu041201; Tue, 12 Jun 2007 16:29:34 -0500 (CDT) (envelope-from kramer@centtech.com) Message-ID: <466F1042.4010809@centtech.com> Date: Tue, 12 Jun 2007 16:29:38 -0500 From: Kevin Kramer User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Ivan Voras References: <466EBC35.4030808@centtech.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/3411/Tue Jun 12 09:55:03 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: freebsd-fs@freebsd.org Subject: Re: ZFS bonnie++ testing X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2007 21:29:38 -0000 I can do this test tomorrow. I've changed the hardware raids to 0+1 and am waiting on that re-config to finish. I'll post results tomorrow. Ivan Voras wrote: > Kevin Kramer wrote: >> I wanted to know what bonnie++ testing (give me the command line) would >> someone like me to try. I am current updating source, so I don't have >> the latest commits that increase speed. > > Do a chdir to /mammoth, go to a directory your current user (which isn't > root) can write to, and do > > Probably bonnie++ -s 2*your_memory -d. -n64 > > the 2*your_memory is in megabytes so if you have 4 GB memory do: > > bonnie++ -s8192 -d. -n64 > > If you notice that file operations field in the results gets printed as > stars (***), double the "64" argument (measured in thousands of files) > and try again. > >> ZFS using the following: >> >> 3 - Jetstor SATA disk arrays containing 16 disks (750g) in RAID6, >> connected with 2G fiber to a Qlogic fabric. > > So you're doing software RAID5 over three hardware RAID6 arrays? Nice :) > I hope your physical setup can make use of such redundancy. > > It will be interesting to see this results! > From owner-freebsd-fs@FreeBSD.ORG Wed Jun 13 00:42:20 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5AF9716A400 for ; Wed, 13 Jun 2007 00:42:20 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.freebsd.org (Postfix) with ESMTP id 24E6713C43E for ; Wed, 13 Jun 2007 00:42:20 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: by zoraida.natserv.net (Postfix, from userid 58) id E31EBC2F2; Tue, 12 Jun 2007 20:42:18 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on zoraida.natserv.net X-Spam-Level: X-Spam-Status: No, score=-1.4 required=4.0 tests=ALL_TRUSTED, DK_POLICY_SIGNSOME autolearn=disabled version=3.1.8 X-Spam-Report: * 0.0 DK_POLICY_SIGNSOME Domain Keys: policy says domain signs some mails * -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP Received: from zoraida.natserv.net (zoraida.natserv.net [66.114.65.147]) by zoraida.natserv.net (Postfix) with ESMTP id 573A0C2AF; Tue, 12 Jun 2007 20:42:16 -0400 (EDT) References: <200706121349.l5CDnLDN096045@chez.mckusick.com> Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Francisco Reyes To: gurdiga@gmail.com Date: Tue, 12 Jun 2007 20:42:16 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, Enrique Ayesta Perojo , Kris Kennaway Subject: Re: Installing FreeBSD on large disk >2TB X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2007 00:42:20 -0000 There is a simmilar thread related to filesystems greater than 2TB. The subject is: Filesystems larger than 2TB I started the thread and from what I can gather you can not have a filesystem greater than 2TB on your boot device. Also you can not use sysinstall to create the partition if it is greater than 2TB. > The problem happens when i try to use a RAID larger in size to 2 Terabyte, > then the install program freezes and the machine reboots (it cannot find the > disk). Split your drives. Make a RAID1 with 2 drives and install / /usr /var /tmp swap The second raid with the rest of the drives you should be able to create the partition manually, not from sysinstall. > Any clue on how to solve it? FreeBSD can't be installed on disks larger than 2 > TB? As far as I can tell no. As for creating the partition after you have a working system there were two methods mentioned. Was was using newfs against the raw device like newfs -s /dev/da0s2 The other one involves something called GPT, but seems like it is a more difficult method and it also seems like there is ongoing discussion about GPT. I also think, but am not sure, that it will be easier to have partitions greater than 2TB when ZFS is incorporated into the OS. From owner-freebsd-fs@FreeBSD.ORG Thu Jun 14 16:07:43 2007 Return-Path: X-Original-To: fs@freebsd.org Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 419D516A41F; Thu, 14 Jun 2007 16:07:43 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (ns1.bitblocks.com [64.142.15.60]) by mx1.freebsd.org (Postfix) with ESMTP id 28B5F13C487; Thu, 14 Jun 2007 16:07:43 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost.bitblocks.com [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id D20965B40; Thu, 14 Jun 2007 09:07:42 -0700 (PDT) To: "Claus Guttesen" In-reply-to: Your message of "Mon, 11 Jun 2007 11:15:10 +0200." Date: Thu, 14 Jun 2007 09:07:42 -0700 From: Bakul Shah Message-Id: <20070614160742.D20965B40@mail.bitblocks.com> Cc: current@freebsd.org, fs@freebsd.org Subject: Re: zfs problem X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2007 16:07:43 -0000 "Claus Guttesen" wrote: > > I rebuilt and installed -current as of last night (10:30PM > > PST or so). Now both zfs & zpool croak out the following > > message as they die: > > > > link_elf: symbol sysctl_handle_quad undefined > > internal error: failed to initialized zfs library > > I have just updated to current as of June 11'th 2007 10 am gmt +1 and > it came up fine. > > Did you do a make buildworld, -kernel, mergemaster etc.? Thanks for the suggestion. Just to close this "bug", this turned out to be an operator error - I had forgotten I had moved /boot to a different partition. I need a zfs for my brain (a spare brain would be good too). From owner-freebsd-fs@FreeBSD.ORG Fri Jun 15 08:45:30 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9441E16A469 for ; Fri, 15 Jun 2007 08:45:30 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 4FF2313C44B for ; Fri, 15 Jun 2007 08:45:30 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Hz7Qj-0004F5-8G for freebsd-fs@freebsd.org; Fri, 15 Jun 2007 10:45:17 +0200 Received: from firewall.andxor.it ([195.223.2.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Jun 2007 10:45:17 +0200 Received: from lapo by firewall.andxor.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Jun 2007 10:45:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Lapo Luchini Date: Fri, 15 Jun 2007 10:45:06 +0200 Lines: 30 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: firewall.andxor.it User-Agent: Thunderbird 2.0.0.0 (X11/20070602) X-Enigmail-Version: 0.95.0 OpenPGP: id=C8F252FB Sender: news Subject: ZFS panic on mdX-based raidz X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2007 08:45:30 -0000 I have a vmcore, a couple of them in fact, but they don't seem to have a valid bt in them.. dunno why, I'm not really into kgdb yet 0=) (only backtrace visible is kern_shutdown, then only ??) This is the list of operations with whom I can reproduce the panic at will (or, at the very least, with whom I reproduced it three times): rm data0 data1 data2 truncate -s 64M data0 truncate -s 128M data1 truncate -s 256M data2 mdconfig -f data0 -u 0 mdconfig -f data1 -u 1 mdconfig -f data2 -u 2 zpool create prova raidz md0 md1 md2 zfs create -o mountpoint=/usr/tmp/p prova/p dd if=/dev/zero of=/usr/tmp/p/file bs=1M zpool status sysctl kern.geom.debugflags=16 dd if=/dev/zero of=/dev/md0 bs=1M dd if=/dev/zero of=/dev/md1 bs=1M zpool scrub prova zpool status Follows the status with two invalid disks (I wonder why :P) and a scrub in progress; but the host will panic before the scrub ends. 7.0-CURRENT of June 11 2007 (with added destroy_dev_sched.6.patch and destroy_dev_sched_addon.2.patch from the "smb wedges" thread). Lapo From owner-freebsd-fs@FreeBSD.ORG Fri Jun 15 14:25:04 2007 Return-Path: X-Original-To: fs@freebsd.org Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C3D0816A46B for ; Fri, 15 Jun 2007 14:25:04 +0000 (UTC) (envelope-from tutatnhamon@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.freebsd.org (Postfix) with ESMTP id 5190713C448 for ; Fri, 15 Jun 2007 14:25:04 +0000 (UTC) (envelope-from tutatnhamon@gmail.com) Received: by py-out-1112.google.com with SMTP id a29so1638504pyi for ; Fri, 15 Jun 2007 07:25:03 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=MpTJlR6XKTVVy1W1/D35EU8rbOvxvKrCmGCH8gikdT5NTblBRuaNO1VjQ+TDnpQa0Ot3YofRjzedcFNOH5pIapWxh9j5SB/W5Zhnzevc/vWOibDGn4VsBdlQCJ3uo4O8hcYaIhB2uiQFYFWfyPlWKmZM7NAAHQRCvwY/VVFuAp4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=gKJ9UGACR3q/3jBud8WpDeB/R4xzHmgFnJCVY1lJucA3kPAZJkO232X2OjHudocr/+SoTUp2KQlqp+XBqv5iVea+EpSyVOqmV3nYVdRj38UliLdg5SKlZvjqYmD+M0ahqnRcYMlNsK/k2jmBmfENjD0prNqVRZO2NuMd8dlSVsk= Received: by 10.64.10.2 with SMTP id 2mr5245487qbj.1181915804475; Fri, 15 Jun 2007 06:56:44 -0700 (PDT) Received: by 10.65.180.5 with HTTP; Fri, 15 Jun 2007 06:56:44 -0700 (PDT) Message-ID: <65dfa4fc0706150656h508ddaacq9dabdc5f5319cb67@mail.gmail.com> Date: Fri, 15 Jun 2007 16:56:44 +0300 From: "Artem Naluzhny" Sender: tutatnhamon@gmail.com To: fs@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: eb86a3c76826e6e6 Cc: Subject: fstab: gjournal over geli X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2007 14:25:04 -0000 Hi I need to mount /dev/ad4s1f.eli.journal at /protected. What should I add into /etc/fstab file? -- /tut From owner-freebsd-fs@FreeBSD.ORG Fri Jun 15 14:52:37 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2311116A46B for ; Fri, 15 Jun 2007 14:52:37 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id BBD9F13C448 for ; Fri, 15 Jun 2007 14:52:36 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 044FD48806; Fri, 15 Jun 2007 16:52:35 +0200 (CEST) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 2444D487F0; Fri, 15 Jun 2007 16:52:26 +0200 (CEST) Date: Fri, 15 Jun 2007 16:52:24 +0200 From: Pawel Jakub Dawidek To: Lapo Luchini Message-ID: <20070615145224.GA39202@garage.freebsd.pl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline In-Reply-To: X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: ZFS panic on mdX-based raidz X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2007 14:52:37 -0000 --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 15, 2007 at 10:45:06AM +0200, Lapo Luchini wrote: > I have a vmcore, a couple of them in fact, but they don't seem to have a > valid bt in them.. dunno why, I'm not really into kgdb yet 0=3D) > (only backtrace visible is kern_shutdown, then only ??) >=20 > This is the list of operations with whom I can reproduce the panic at > will (or, at the very least, with whom I reproduced it three times): > rm data0 data1 data2 > truncate -s 64M data0 > truncate -s 128M data1 > truncate -s 256M data2 > mdconfig -f data0 -u 0 > mdconfig -f data1 -u 1 > mdconfig -f data2 -u 2 > zpool create prova raidz md0 md1 md2 > zfs create -o mountpoint=3D/usr/tmp/p prova/p > dd if=3D/dev/zero of=3D/usr/tmp/p/file bs=3D1M > zpool status > sysctl kern.geom.debugflags=3D16 > dd if=3D/dev/zero of=3D/dev/md0 bs=3D1M > dd if=3D/dev/zero of=3D/dev/md1 bs=3D1M > zpool scrub prova > zpool status >=20 > Follows the status with two invalid disks (I wonder why :P) and a scrub > in progress; but the host will panic before the scrub ends. You corrupted two components in configuration with accepts only one disk failure. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --Qxx1br4bt0+wmkIi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGcqeoForvXbEpPzQRAsY1AKDFe9SFX46F+cBXlQpmC+3fYMHoUACgoSEA BKDdsKgTWG0z77GnamAnbbg= =nUkq -----END PGP SIGNATURE----- --Qxx1br4bt0+wmkIi-- From owner-freebsd-fs@FreeBSD.ORG Fri Jun 15 15:24:00 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8613F16A469 for ; Fri, 15 Jun 2007 15:24:00 +0000 (UTC) (envelope-from lapo@lapo.it) Received: from andxor.it (relay.andxor.it [195.223.2.3]) by mx1.freebsd.org (Postfix) with SMTP id 657C413C46A for ; Fri, 15 Jun 2007 15:23:59 +0000 (UTC) (envelope-from lapo@lapo.it) Received: (qmail 54177 invoked from network); 15 Jun 2007 14:57:17 -0000 Received: from unknown (HELO lapo.andxor.it) (192.168.2.22) by andxor.it with SMTP; 15 Jun 2007 14:57:17 -0000 Message-ID: <4672A8CD.5060009@lapo.it> Date: Fri, 15 Jun 2007 16:57:17 +0200 From: Lapo Luchini User-Agent: Thunderbird 2.0.0.4 (X11/20070615) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20070615145224.GA39202@garage.freebsd.pl> In-Reply-To: <20070615145224.GA39202@garage.freebsd.pl> X-Enigmail-Version: 0.95.1 OpenPGP: id=15046F78 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: ZFS panic on mdX-based raidz X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2007 15:24:00 -0000 Pawel Jakub Dawidek wrote: >> Follows the status with two invalid disks (I wonder why :P) and a scrub >> in progress; but the host will panic before the scrub ends. >> > > You corrupted two components in configuration with accepts only one disk > failure. Yes, I'm well aware of that (it was intentional, in fact), and the "invalid" state of the pool was fully expected.. while the kernel panic short thereafter was a bit less so ;-) Not a very urgent or pressing issue, I do agree, I reported it mainly for completeness sake. Lapo -- Lapo Luchini lapo@lapo.it (OpenPGP & X.509) www.lapo.it (Jabber, ICQ, MSN) From owner-freebsd-fs@FreeBSD.ORG Fri Jun 15 15:40:20 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D8EC616A4A1 for ; Fri, 15 Jun 2007 15:40:20 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 613E113C4FA for ; Fri, 15 Jun 2007 15:40:20 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 9937F48802; Fri, 15 Jun 2007 17:40:16 +0200 (CEST) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 5F6EC4880E; Fri, 15 Jun 2007 17:40:11 +0200 (CEST) Date: Fri, 15 Jun 2007 17:40:09 +0200 From: Pawel Jakub Dawidek To: Lapo Luchini Message-ID: <20070615154009.GB39202@garage.freebsd.pl> References: <20070615145224.GA39202@garage.freebsd.pl> <4672A8CD.5060009@lapo.it> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GRPZ8SYKNexpdSJ7" Content-Disposition: inline In-Reply-To: <4672A8CD.5060009@lapo.it> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: ZFS panic on mdX-based raidz X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2007 15:40:21 -0000 --GRPZ8SYKNexpdSJ7 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 15, 2007 at 04:57:17PM +0200, Lapo Luchini wrote: > Pawel Jakub Dawidek wrote: > >> Follows the status with two invalid disks (I wonder why :P) and a scrub > >> in progress; but the host will panic before the scrub ends. > >> =20 > > > > You corrupted two components in configuration with accepts only one disk > > failure. > Yes, I'm well aware of that (it was intentional, in fact), and the > "invalid" state of the pool was fully expected.. while the kernel panic > short thereafter was a bit less so ;-) > Not a very urgent or pressing issue, I do agree, I reported it mainly > for completeness sake. But this is very expected behaviour of ZFS. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --GRPZ8SYKNexpdSJ7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGcrLZForvXbEpPzQRArmNAKC0hqDOEHoSN5D5SVDVXjbQ9AyAtACfb/Ic O0Iky4eOkVxDtU5vQlC+RY8= =1BRY -----END PGP SIGNATURE----- --GRPZ8SYKNexpdSJ7-- From owner-freebsd-fs@FreeBSD.ORG Fri Jun 15 20:00:09 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9852A16A46C for ; Fri, 15 Jun 2007 20:00:09 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.234]) by mx1.freebsd.org (Postfix) with ESMTP id 3139213C4B9 for ; Fri, 15 Jun 2007 20:00:09 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so824287wra for ; Fri, 15 Jun 2007 13:00:08 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tUdXxT3BxBp5ws0PuhzrazLXn3zXahNmrAlRTS2GGYwqqTtTpWjKvzJwUrQgQpfo7v1miLNseL1H9kAid01eQ8xnRms3yr4puNedy7dRiFheMQKOm8TiwF/xnv/Mkafb/6qsv8ojXYczJCd7R2x6nBf/374MdqxZTQ7bi46ZIWk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Iw7YSjW6ZEPFMqF2EXw/EuaOLIl4yonBVCWxAP5LYKsF4mPbisi/yhwb6ncre+RkdwThPIZhPH/cEq9i1t+0J6Z9dRBaVyxFszojc684mwr+9mO4IlJyNlIMGSk4Iz8FXYFGgV3HikBX+J1LovdS7U5aCOlvj+tDzxsVmVTVgM0= Received: by 10.78.178.5 with SMTP id a5mr1477776huf.1181937607800; Fri, 15 Jun 2007 13:00:07 -0700 (PDT) Received: by 10.78.163.2 with HTTP; Fri, 15 Jun 2007 13:00:07 -0700 (PDT) Message-ID: <70e8236f0706151300l72e48e03r40d09f09c6d0ff9d@mail.gmail.com> Date: Fri, 15 Jun 2007 21:00:07 +0100 From: "Joao Barros" To: "Pawel Jakub Dawidek" In-Reply-To: <20070615154009.GB39202@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070615145224.GA39202@garage.freebsd.pl> <4672A8CD.5060009@lapo.it> <20070615154009.GB39202@garage.freebsd.pl> Cc: freebsd-fs@freebsd.org, Lapo Luchini Subject: Re: ZFS panic on mdX-based raidz X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2007 20:00:09 -0000 On 6/15/07, Pawel Jakub Dawidek wrote: > On Fri, Jun 15, 2007 at 04:57:17PM +0200, Lapo Luchini wrote: > > Pawel Jakub Dawidek wrote: > > >> Follows the status with two invalid disks (I wonder why :P) and a scrub > > >> in progress; but the host will panic before the scrub ends. > > >> > > > > > > You corrupted two components in configuration with accepts only one disk > > > failure. > > Yes, I'm well aware of that (it was intentional, in fact), and the > > "invalid" state of the pool was fully expected.. while the kernel panic > > short thereafter was a bit less so ;-) > > Not a very urgent or pressing issue, I do agree, I reported it mainly > > for completeness sake. > > But this is very expected behaviour of ZFS. Let's suppose I have 2 raidz, one volume using disks on one enclosure and another volume using disks on another enclosure. One of the enclosures is disconnected, doesn't matter why. Is ZFS going to panic the machine thus rendering the other volume unavailable? From what I've seen the volume is marked as failed and that's what's supposed to happen. Or when you say intentional was just for md backed devices? -- Joao Barros From owner-freebsd-fs@FreeBSD.ORG Sat Jun 16 11:55:19 2007 Return-Path: X-Original-To: fs@freebsd.org Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 273FD16A4CB for ; Sat, 16 Jun 2007 11:55:19 +0000 (UTC) (envelope-from tutatnhamon@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.freebsd.org (Postfix) with ESMTP id C8FD813C468 for ; Sat, 16 Jun 2007 11:55:18 +0000 (UTC) (envelope-from tutatnhamon@gmail.com) Received: by py-out-1112.google.com with SMTP id p76so2165146pyb for ; Sat, 16 Jun 2007 04:55:18 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=b+oCsie2dF49Z4gFTDsuremJhT58PcFSpkG6fcR3NZhGrCG8DIL23Sk1s16mbNWr9TmOLqCZ/7hH6PLTEWjQczNqwiNnS6v8A5acf4YcxuNfomqIyX/poO0zbtmJhM2+IyEzxQoqPYlFJeZW0cTPj141sj9U0FoABJy0nkdAZJU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=OaBipV1gqrbft8b+/cG29w8eA0zsKtKAiN2Fj+6E67jPdptxdfby/da7OmgEO7b9DMJpzQhBfZDxRlQNvi+g8zr53+KJhE+uWIIEK4QOOIRVktTPHbvmP2v+8xXqakkPNSC84NNUX9USfYE/Qw5AbhqSQIAupywiK17Y+B794bI= Received: by 10.65.95.12 with SMTP id x12mr6576307qbl.1181994918244; Sat, 16 Jun 2007 04:55:18 -0700 (PDT) Received: by 10.65.180.5 with HTTP; Sat, 16 Jun 2007 04:55:18 -0700 (PDT) Message-ID: <65dfa4fc0706160455s77d2e8b7tc8175252c20af781@mail.gmail.com> Date: Sat, 16 Jun 2007 14:55:18 +0300 From: "Artem Naluzhny" Sender: tutatnhamon@gmail.com To: fs@freebsd.org In-Reply-To: <65dfa4fc0706150656h508ddaacq9dabdc5f5319cb67@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <65dfa4fc0706150656h508ddaacq9dabdc5f5319cb67@mail.gmail.com> X-Google-Sender-Auth: 81bc713df5d4d203 Cc: Subject: Re: fstab: gjournal over geli X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jun 2007 11:55:19 -0000 2007/6/15, Artem Naluzhny : > I need to mount /dev/ad4s1f.eli.journal at /protected. What should I > add into /etc/fstab file? Here is a solution for history (/fake does not exist actually): # Device Mountpoint FStype Options Dump Pass# /dev/ad4s1f.eli /fake ufs xx 0 0 /dev/ad4s1f.eli.journal /protected ufs rw,async 2 2 Now I have a question regarding my system shutdown. Is it safe (as for the last message)? ---------------------------------------- ... Uptime 5m40s GEOM_JOURNAL: Shutting down geom gjournal 4077408528. GEOM_ELI: Detached ads1f.eli on last close. GEOM_JOURNAL: Lost provider ad4s1f.eli. ---------------------------------------- -- /tut From owner-freebsd-fs@FreeBSD.ORG Sat Jun 16 14:53:32 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EA74416A46B for ; Sat, 16 Jun 2007 14:53:32 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 4F73713C43E for ; Sat, 16 Jun 2007 14:53:32 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id E14E048801; Sat, 16 Jun 2007 16:53:29 +0200 (CEST) Received: from localhost (public-gprs36619.centertel.pl [91.94.15.43]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id C298F487F3; Sat, 16 Jun 2007 16:53:15 +0200 (CEST) Date: Sat, 16 Jun 2007 16:52:55 +0200 From: Pawel Jakub Dawidek To: Joao Barros Message-ID: <20070616145255.GD39202@garage.freebsd.pl> References: <20070615145224.GA39202@garage.freebsd.pl> <4672A8CD.5060009@lapo.it> <20070615154009.GB39202@garage.freebsd.pl> <70e8236f0706151300l72e48e03r40d09f09c6d0ff9d@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d01dLTUuW90fS44H" Content-Disposition: inline In-Reply-To: <70e8236f0706151300l72e48e03r40d09f09c6d0ff9d@mail.gmail.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL autolearn=no version=3.0.4 Cc: freebsd-fs@freebsd.org, Lapo Luchini Subject: Re: ZFS panic on mdX-based raidz X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jun 2007 14:53:33 -0000 --d01dLTUuW90fS44H Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 15, 2007 at 09:00:07PM +0100, Joao Barros wrote: > On 6/15/07, Pawel Jakub Dawidek wrote: > >On Fri, Jun 15, 2007 at 04:57:17PM +0200, Lapo Luchini wrote: > >> Pawel Jakub Dawidek wrote: > >> >> Follows the status with two invalid disks (I wonder why :P) and a s= crub > >> >> in progress; but the host will panic before the scrub ends. > >> >> > >> > > >> > You corrupted two components in configuration with accepts only one = disk > >> > failure. > >> Yes, I'm well aware of that (it was intentional, in fact), and the > >> "invalid" state of the pool was fully expected.. while the kernel panic > >> short thereafter was a bit less so ;-) > >> Not a very urgent or pressing issue, I do agree, I reported it mainly > >> for completeness sake. > > > >But this is very expected behaviour of ZFS. >=20 > Let's suppose I have 2 raidz, one volume using disks on one enclosure > and another volume using disks on another enclosure. One of the > enclosures is disconnected, doesn't matter why. Is ZFS going to panic > the machine thus rendering the other volume unavailable? From what > I've seen the volume is marked as failed and that's what's supposed to > happen. > Or when you say intentional was just for md backed devices? When ZFS cannot write data and there is not enough redundancy it will panic. Sun is working on this AFAIK. Write failure is not easy to handle, because most writes are delayed, so we can't return an error back to application. It shouldn't panic entire system still, but eventually unmount it forcibly. ZFS can survive write failure of one component in two-way mirror or raidz1 configuration or two components in raidz2 configuration. It can also survive write failure in non-redundant configuration when copies property is greater than 1 and we can write at least one copy successfully. Two cases on the other hand should be handled better (now they panic the system): 1. Write fails, because of more number of components is missing that we can accept in our configuration. It should most likely forcibly unmount the file system (file systems?). 2. Write fails, because of bad block. ZFS should just try to write in another location and doesn't do it now. This should be quite easy to implement because of COW model, but it's not there yet. Anyway, be aware of those limitation when you decide to abuse it too much next time:) --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --d01dLTUuW90fS44H Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGc/lHForvXbEpPzQRAvACAKDpKAia7dyrcdXGJN5A5mWgtNADcgCfcmJ/ u4KTDvgz9kjzfaNAgvMmFVk= =LKYT -----END PGP SIGNATURE----- --d01dLTUuW90fS44H--